Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Changed default.xml to have a setup for modern Linux/Kitten guests that
[palacios.git] / utils / guest_creator / default.xml
1
2 <!-- This defines a PC VM. The class defines the initial cpu/memory state of the VM. This drives the initialization of CPU registers, as well as BIOS memory mappings.-->
3 <vm class="PC"> 
4
5         <!-- Memory in MB -->
6         <memory>256</memory> 
7
8         <!-- Basic VMM system flags -->
9         <telemetry>enable</telemetry>
10         <paging mode="VTLB">shadow</paging>
11         <schedule_hz>100</schedule_hz>
12
13         <cores count="1"><core /></cores>
14
15
16         <!-- Memory redirections -->
17         <!-- Redirects a guest's memory region to a host physical address -->
18        <memmap>
19                 <!-- This region maps the VGA framebuffer to the host's framebuffer -->
20                 <region>
21                        <start>0xa0000</start>
22                        <end>0xc0000</end>
23                        <host_addr>0xa0000</host_addr>
24                </region>
25        </memmap>
26
27
28         <!-- List of binary files to include with configuration -->
29         <!-- This is where you add disk images -->
30         <files>
31                 <!-- The file 'id' is used as a reference for other configuration components -->
32                 <file id="boot-cd" filename="image.iso" />
33                 <!--<file id="harddisk" filename="firefox.img" />-->
34         </files>
35
36
37         <!-- List of devices attached to guest -->
38         <!-- The device 'ID' is the device name in the global device registry -->
39         <!-- The device 'name' is the reference to the device instance associated with a VM -->
40         <!--    The name can be used as a reference by other devices -->
41         <devices>
42                 <device id="8259A" name="PIC"/>
43                 <device id="KEYBOARD" name="keyboard"/>
44                 <device id="8254_PIT" name="PIT" />
45                 <device id="BOCHS_DEBUG" name="bochs debug"/>
46                 <device id="OS_DEBUG" name="os debug" />
47                 <device id="ICC_BUS" name="icc"/>
48                 <device id="LAPIC" name="apic">
49                         <bus>icc</bus>
50                 </device>
51                 <device id="IOAPIC" name="ioapic">
52                         <bus>icc</bus>
53                 </device>
54
55 <!--
56                 <device id="CGA_VIDEO" name="cga" passthrough="enable" />
57                 <device id="TELNET_CONSOLE" name="telnet console">
58                        <frontend tag="CGA_VIDEO" />
59                        <port>19997</port>
60                 </device>
61 -->
62                 <device id="PCI" name="pci0" />
63
64                 <device id="i440FX" name="northbridge">
65                         <bus>pci0</bus>
66                 </device>
67
68                 <device id="PIIX3" name="southbridge">
69                         <bus>pci0</bus>
70                 </device>
71
72                 <device id="IDE" name="ide">
73                         <bus>pci0</bus>
74                         <controller>southbridge</controller>
75                 </device>
76                  
77
78
79 <!--
80                 <device id="LNX_VIRTIO_SYM" name="sym_pci">
81                         <bus>pci0</bus>
82                 </device>
83
84                 <device id="LNX_VIRTIO_BLK" name="blk_virtio">
85                         <bus>pci0</bus>
86                 </device>
87
88                 <device id="LNX_VIRTIO_BALLOON" name="balloon">
89                         <bus>pci0</bus>
90                 </device>
91
92                 <device id="PCI_PASSTHROUGH" name="e1000">
93                         <bus>pci0</bus>
94                         <vendor_id>0x8086</vendor_id>
95                         <device_id>0x100e</device_id>
96                         <irq>59</irq>
97                 </device>
98
99                 <device id="PCI_PASSTHROUGH" name="e1000-hw">
100                         <bus>pci0</bus>
101                         <vendor_id>0x8086</vendor_id>
102                         <device_id>0x107c</device_id>
103                         <irq>64</irq>
104                 </device>
105 -->
106
107
108                 <!-- This is a Storage Backend that connects to a frontend -->
109                 <!-- The frontend section is passed to the frontend when the backend connects -->
110                 <!-- The file tag refers to an 'id' already listed in the file list section above -->
111                 <device id="RAMDISK" name="CD0">
112                         <file>boot-cd</file>
113                         <frontend tag="ide">
114                                 <model>V3Vee CDROM</model>
115                                 <type>CDROM</type>
116                                 <bus_num>0</bus_num>
117                                 <drive_num>0</drive_num>
118                         </frontend>
119                 </device>
120
121
122 <!---
123                 <device id="SYM_SWAP" name="sym swap">
124                         <frontend tag="blk_virtio" />
125                         <size>150</size>
126                 </device>
127
128                 <device id="RAMDISK" name="HD0">
129                         <file>harddisk</file>
130                         <frontend tag="blk_virtio" />
131                 </device>
132 -->
133
134                 <device id="NVRAM" name="nvram">
135                         <storage>ide</storage>
136                 </device>
137
138                 <device id="GENERIC" name="generic">
139                         <ports>
140                                <start>0x00</start>
141                                <end>0x07</end>
142                                <mode>PRINT_AND_IGNORE</mode>
143                         </ports>
144                         <ports>
145                                 <start>0xc0</start>
146                                 <end>0xc7</end>
147                                 <mode>PRINT_AND_IGNORE</mode>
148                         </ports>
149                         <ports>
150                                 <!-- DMA 1 page registers -->
151                                 <start>0x81</start>
152                                 <end>0x87</end>
153                                 <mode>PRINT_AND_IGNORE</mode>
154                         </ports>
155                         <ports>
156                                 <!-- DMA 2 page registers -->
157                                 <start>0x88</start>
158                                 <end>0x8f</end>
159                                 <mode>PRINT_AND_IGNORE</mode>
160                         </ports>
161                         <ports>
162                                 <!-- DMA 1 Misc Registers -->
163                                 <start>0x08</start>
164                                 <end>0x0f</end>
165                                 <mode>PRINT_AND_IGNORE</mode>
166                         </ports>
167                         <ports>
168                                 <!-- DMA 2 Misc Registers -->
169                                 <start>0xd0</start>
170                                 <end>0xde</end>
171                                 <mode>PRINT_AND_IGNORE</mode>
172                         </ports>
173                         <ports>
174                                 <!-- Serial COM 1 -->
175                                 <start>0x3f8</start>
176                                 <end>0x3ff</end>
177                                 <mode>PRINT_AND_IGNORE</mode>
178                         </ports>
179                         <ports>
180                                 <!-- Serial COM 2 -->
181                                 <start>0x2f8</start>
182                                 <end>0x2ff</end>
183                                 <mode>PRINT_AND_IGNORE</mode>
184                         </ports>
185                         <ports>
186                                 <!-- Serial COM 3 -->
187                                 <start>0x3e8</start>
188                                 <end>0x3ef</end>
189                                 <mode>PRINT_AND_IGNORE</mode>
190                         </ports>
191                         <ports>
192                                 <!-- Serial COM 4 -->
193                                 <start>0x2e8</start>
194                                 <end>0x2ef</end>
195                                 <mode>PRINT_AND_IGNORE</mode>
196                         </ports>
197                         <ports>
198                                 <!-- Parallel Port -->
199                                 <start>0x378</start>
200                                 <end>0x37f</end>
201                                 <mode>PRINT_AND_IGNORE</mode>
202                         </ports>
203                         <ports>
204                                 <!-- Graphics Card modeerations -->
205                                 <start>0x3b0</start>
206                                 <end>0x3bb</end>
207                                 <mode>PRINT_AND_PASSTHROUGH</mode>
208                         </ports>
209                         <ports>
210                                 <!-- Graphics Card modeerations -->
211                                 <start>0x3c0</start>
212                                 <end>0x3df</end>
213                                 <mode>PRINT_AND_PASSTHROUGH</mode>
214                         </ports>
215                         <ports>
216                                 <!-- ISA PNP -->
217                                 <start>0x274</start>
218                                 <end>0x277</end>
219                                 <mode>PRINT_AND_IGNORE</mode>
220                         </ports>
221                         <ports>
222                                 <!-- ISA PNP -->
223                                 <start>0x279</start>
224                                 <end>0x279</end>
225                                 <mode>PRINT_AND_IGNORE</mode>
226                         </ports>
227                         <ports>
228                                 <!-- ISA PNP -->
229                                 <start>0xa79</start>
230                                 <end>0xa79</end>
231                                 <mode>PRINT_AND_IGNORE</mode>
232                         </ports>
233                </device>
234        </devices>
235
236
237 </vm>
238
239