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.


bug fix for 32 bit ebp cloberring
[palacios.git] / guest_os.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="guest_os.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                 <device id="PCI" name="pci0" />
51
52                 <device id="i440FX" name="northbridge">
53                         <bus>pci0</bus>
54                 </device>
55
56                 <device id="PIIX3" name="southbridge">
57                         <bus>pci0</bus>
58                 </device>
59
60                 <device id="IDE" name="ide">
61                         <bus>pci0</bus>
62                         <controller>southbridge</controller>
63                 </device>
64
65
66                 <!-- This is a Storage Backend that connects to a frontend -->
67                 <!-- The frontend section is passed to the frontend when the backend connects -->
68                 <!-- The file tag refers to an 'id' already listed in the file list section above -->
69                 <device id="RAMDISK" name="CD0">
70                         <file>boot-cd</file>
71                         <frontend tag="ide">
72                                 <model>V3Vee CDROM</model>
73                                 <type>CDROM</type>
74                                 <bus_num>0</bus_num>
75                                 <drive_num>0</drive_num>
76                         </frontend>
77                 </device>
78
79                 <device id="NVRAM" name="nvram">
80                         <storage>ide</storage>
81                 </device>
82
83                 <device id="GENERIC" name="generic">
84                         <ports>
85                                <start>0x00</start>
86                                <end>0x07</end>
87                                <mode>PRINT_AND_IGNORE</mode>
88                         </ports>
89                         <ports>
90                                 <start>0xc0</start>
91                                 <end>0xc7</end>
92                                 <mode>PRINT_AND_IGNORE</mode>
93                         </ports>
94                         <ports>
95                                 <!-- DMA 1 page registers -->
96                                 <start>0x81</start>
97                                 <end>0x87</end>
98                                 <mode>PRINT_AND_IGNORE</mode>
99                         </ports>
100                         <ports>
101                                 <!-- DMA 2 page registers -->
102                                 <start>0x88</start>
103                                 <end>0x8f</end>
104                                 <mode>PRINT_AND_IGNORE</mode>
105                         </ports>
106                         <ports>
107                                 <!-- DMA 1 Misc Registers -->
108                                 <start>0x08</start>
109                                 <end>0x0f</end>
110                                 <mode>PRINT_AND_IGNORE</mode>
111                         </ports>
112                         <ports>
113                                 <!-- DMA 2 Misc Registers -->
114                                 <start>0xd0</start>
115                                 <end>0xde</end>
116                                 <mode>PRINT_AND_IGNORE</mode>
117                         </ports>
118                         <ports>
119                                 <!-- Serial COM 1 -->
120                                 <start>0x3f8</start>
121                                 <end>0x3ff</end>
122                                 <mode>PRINT_AND_IGNORE</mode>
123                         </ports>
124                         <ports>
125                                 <!-- Serial COM 2 -->
126                                 <start>0x2f8</start>
127                                 <end>0x2ff</end>
128                                 <mode>PRINT_AND_IGNORE</mode>
129                         </ports>
130                         <ports>
131                                 <!-- Serial COM 3 -->
132                                 <start>0x3e8</start>
133                                 <end>0x3ef</end>
134                                 <mode>PRINT_AND_IGNORE</mode>
135                         </ports>
136                         <ports>
137                                 <!-- Serial COM 4 -->
138                                 <start>0x2e8</start>
139                                 <end>0x2ef</end>
140                                 <mode>PRINT_AND_IGNORE</mode>
141                         </ports>
142                         <ports>
143                                 <!-- Parallel Port -->
144                                 <start>0x378</start>
145                                 <end>0x37f</end>
146                                 <mode>PRINT_AND_IGNORE</mode>
147                         </ports>
148                         <ports>
149                                 <!-- Graphics Card modeerations -->
150                                 <start>0x3b0</start>
151                                 <end>0x3bb</end>
152                                 <mode>PRINT_AND_PASSTHROUGH</mode>
153                         </ports>
154                         <ports>
155                                 <!-- Graphics Card modeerations -->
156                                 <start>0x3c0</start>
157                                 <end>0x3df</end>
158                                 <mode>PRINT_AND_PASSTHROUGH</mode>
159                         </ports>
160                         <ports>
161                                 <!-- ISA PNP -->
162                                 <start>0x274</start>
163                                 <end>0x277</end>
164                                 <mode>PRINT_AND_IGNORE</mode>
165                         </ports>
166                         <ports>
167                                 <!-- ISA PNP -->
168                                 <start>0x279</start>
169                                 <end>0x279</end>
170                                 <mode>PRINT_AND_IGNORE</mode>
171                         </ports>
172                         <ports>
173                                 <!-- ISA PNP -->
174                                 <start>0xa79</start>
175                                 <end>0xa79</end>
176                                 <mode>PRINT_AND_IGNORE</mode>
177                         </ports>
178                </device>
179        </devices>
180
181
182 </vm>
183
184