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.


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