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