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.


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