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.


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