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.


Added mptable to default.xml
[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                 <device class="MPTABLE" id="mptable"/>
56                 <device class="LAPIC" id="apic"/>
57                 <device class="IOAPIC" id="ioapic">
58                         <apic>apic</apic>
59                 </device>
60 <!--
61                 <device class="CGA_VIDEO" id="cga" passthrough="enable" />
62                 <device class="TELNET_CONSOLE" id="telnet console">
63                        <frontend tag="CGA_VIDEO" />
64                        <port>19997</port>
65                 </device>
66 -->
67                 <device class="PCI" id="pci0" />
68
69                 <device class="i440FX" id="northbridge">
70                         <bus>pci0</bus>
71                 </device>
72
73                 <device class="PIIX3" id="southbridge">
74                         <bus>pci0</bus>
75                 </device>
76
77                 <device class="IDE" id="ide">
78                         <bus>pci0</bus>
79                         <controller>southbridge</controller>
80                 </device>
81                  
82
83
84 <!--
85                 <device class="LNX_VIRTIO_SYM" id="sym_pci">
86                         <bus>pci0</bus>
87                 </device>
88
89                 <device class="LNX_VIRTIO_BLK" id="blk_virtio">
90                         <bus>pci0</bus>
91                 </device>
92
93                 <device class="LNX_VIRTIO_BALLOON" id="balloon">
94                         <bus>pci0</bus>
95                 </device>
96
97                 <device class="PCI_PASSTHROUGH" id="e1000">
98                         <bus>pci0</bus>
99                         <vendor_id>0x8086</vendor_id>
100                         <device_id>0x100e</device_id>
101                         <irq>59</irq>
102                 </device>
103
104                 <device class="PCI_PASSTHROUGH" id="e1000-hw">
105                         <bus>pci0</bus>
106                         <vendor_id>0x8086</vendor_id>
107                         <device_id>0x107c</device_id>
108                         <irq>64</irq>
109                 </device>
110 -->
111
112
113                 <!-- This is a Storage Backend that connects to a frontend -->
114                 <!-- The frontend section is passed to the frontend when the backend connects -->
115                 <!-- The file tag refers to an 'id' already listed in the file list section above -->
116                 <device class="RAMDISK" id="CD0">
117                         <file>boot-cd</file>
118                         <frontend tag="ide">
119                                 <model>V3Vee CDROM</model>
120                                 <type>CDROM</type>
121                                 <bus_num>0</bus_num>
122                                 <drive_num>0</drive_num>
123                         </frontend>
124                 </device>
125
126
127 <!---
128                 <device class="SYM_SWAP" id="sym swap">
129                         <frontend tag="blk_virtio" />
130                         <size>150</size>
131                 </device>
132
133                 <device class="RAMDISK" id="HD0">
134                         <file>harddisk</file>
135                         <frontend tag="blk_virtio" />
136                 </device>
137 -->
138
139         <!-- Machine-check device -->
140 <!--
141         <device class="MCHECK" id="MCHECK" />
142 -->
143
144
145                 <device class="NVRAM" id="nvram">
146                         <storage>ide</storage>
147                 </device>
148
149                 <device class="GENERIC" id="generic">
150                         <ports>
151                                <start>0x00</start>
152                                <end>0x07</end>
153                                <mode>PRINT_AND_IGNORE</mode>
154                         </ports>
155                         <ports>
156                                 <start>0xc0</start>
157                                 <end>0xc7</end>
158                                 <mode>PRINT_AND_IGNORE</mode>
159                         </ports>
160                         <ports>
161                                 <!-- DMA 1 page registers -->
162                                 <start>0x81</start>
163                                 <end>0x87</end>
164                                 <mode>PRINT_AND_IGNORE</mode>
165                         </ports>
166                         <ports>
167                                 <!-- DMA 2 page registers -->
168                                 <start>0x88</start>
169                                 <end>0x8f</end>
170                                 <mode>PRINT_AND_IGNORE</mode>
171                         </ports>
172                         <ports>
173                                 <!-- DMA 1 Misc Registers -->
174                                 <start>0x08</start>
175                                 <end>0x0f</end>
176                                 <mode>PRINT_AND_IGNORE</mode>
177                         </ports>
178                         <ports>
179                                 <!-- DMA 2 Misc Registers -->
180                                 <start>0xd0</start>
181                                 <end>0xde</end>
182                                 <mode>PRINT_AND_IGNORE</mode>
183                         </ports>
184                         <ports>
185                                 <!-- Serial COM 1 -->
186                                 <start>0x3f8</start>
187                                 <end>0x3ff</end>
188                                 <mode>PRINT_AND_IGNORE</mode>
189                         </ports>
190                         <ports>
191                                 <!-- Serial COM 2 -->
192                                 <start>0x2f8</start>
193                                 <end>0x2ff</end>
194                                 <mode>PRINT_AND_IGNORE</mode>
195                         </ports>
196                         <ports>
197                                 <!-- Serial COM 3 -->
198                                 <start>0x3e8</start>
199                                 <end>0x3ef</end>
200                                 <mode>PRINT_AND_IGNORE</mode>
201                         </ports>
202                         <ports>
203                                 <!-- Serial COM 4 -->
204                                 <start>0x2e8</start>
205                                 <end>0x2ef</end>
206                                 <mode>PRINT_AND_IGNORE</mode>
207                         </ports>
208                         <ports>
209                                 <!-- Parallel Port -->
210                                 <start>0x378</start>
211                                 <end>0x37f</end>
212                                 <mode>PRINT_AND_IGNORE</mode>
213                         </ports>
214                         <ports>
215                                 <!-- Graphics Card modeerations -->
216                                 <start>0x3b0</start>
217                                 <end>0x3bb</end>
218                                 <mode>PRINT_AND_PASSTHROUGH</mode>
219                         </ports>
220                         <ports>
221                                 <!-- Graphics Card modeerations -->
222                                 <start>0x3c0</start>
223                                 <end>0x3df</end>
224                                 <mode>PRINT_AND_PASSTHROUGH</mode>
225                         </ports>
226                         <ports>
227                                 <!-- ISA PNP -->
228                                 <start>0x274</start>
229                                 <end>0x277</end>
230                                 <mode>PRINT_AND_IGNORE</mode>
231                         </ports>
232                         <ports>
233                                 <!-- ISA PNP -->
234                                 <start>0x279</start>
235                                 <end>0x279</end>
236                                 <mode>PRINT_AND_IGNORE</mode>
237                         </ports>
238                         <ports>
239                                 <!-- ISA PNP -->
240                                 <start>0xa79</start>
241                                 <end>0xa79</end>
242                                 <mode>PRINT_AND_IGNORE</mode>
243                         </ports>
244                </device>
245        </devices>
246
247
248 </vm>
249
250