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.


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