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.-->
6 <memory alignment="2MB">256</memory>
8 <!-- Basic VMM system flags -->
9 <telemetry>enable</telemetry>
10 <paging mode="shadow">
11 <strategy>VTLB</strategy>
12 <large_pages>true</large_pages>
15 <paging mode="nested">
16 <large_pages>true<large_pages/>
19 <schedule_hz>100</schedule_hz>
21 <cores count="1"><core /></cores>
24 <!-- Memory redirections -->
25 <!-- Redirects a guest's memory region to a host physical address -->
27 <!-- This region maps the VGA framebuffer to the host's framebuffer -->
29 <start>0xa0000</start>
31 <host_addr>0xa0000</host_addr>
36 <!-- List of binary files to include with configuration -->
37 <!-- This is where you add disk images -->
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" />-->
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 -->
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="MPTABLE" id="mptable"/>
56 <device class="LAPIC" id="apic"/>
57 <device class="IOAPIC" id="ioapic">
61 <device class="CGA_VIDEO" id="cga" passthrough="enable" />
62 <device class="TELNET_CONSOLE" id="telnet console">
63 <frontend tag="CGA_VIDEO" />
67 <device class="PCI" id="pci0" />
69 <device class="i440FX" id="northbridge">
73 <device class="PIIX3" id="southbridge">
77 <device class="IDE" id="ide">
79 <controller>southbridge</controller>
85 <device class="LNX_VIRTIO_SYM" id="sym_pci">
89 <device class="LNX_VIRTIO_BLK" id="blk_virtio">
93 <device class="LNX_VIRTIO_BALLOON" id="balloon">
97 <device class="PCI_PASSTHROUGH" id="e1000">
99 <vendor_id>0x8086</vendor_id>
100 <device_id>0x100e</device_id>
104 <device class="PCI_PASSTHROUGH" id="e1000-hw">
106 <vendor_id>0x8086</vendor_id>
107 <device_id>0x107c</device_id>
113 <!-- This is a Storage Backend that connects to a frontend -->
114 <!-- The frontend section is passed to the frontend when the backend connects -->
115 <!-- The file tag refers to an 'id' already listed in the file list section above -->
116 <device class="RAMDISK" id="CD0">
119 <model>V3Vee CDROM</model>
122 <drive_num>0</drive_num>
128 <device class="SYM_SWAP" id="sym swap">
129 <frontend tag="blk_virtio" />
133 <device class="RAMDISK" id="HD0">
134 <file>harddisk</file>
135 <frontend tag="blk_virtio" />
139 <!-- Machine-check device -->
141 <device class="MCHECK" id="MCHECK" />
145 <device class="NVRAM" id="nvram">
146 <storage>ide</storage>
149 <device class="GENERIC" id="generic">
153 <mode>PRINT_AND_IGNORE</mode>
158 <mode>PRINT_AND_IGNORE</mode>
161 <!-- DMA 1 page registers -->
164 <mode>PRINT_AND_IGNORE</mode>
167 <!-- DMA 2 page registers -->
170 <mode>PRINT_AND_IGNORE</mode>
173 <!-- DMA 1 Misc Registers -->
176 <mode>PRINT_AND_IGNORE</mode>
179 <!-- DMA 2 Misc Registers -->
182 <mode>PRINT_AND_IGNORE</mode>
185 <!-- Serial COM 1 -->
188 <mode>PRINT_AND_IGNORE</mode>
191 <!-- Serial COM 2 -->
194 <mode>PRINT_AND_IGNORE</mode>
197 <!-- Serial COM 3 -->
200 <mode>PRINT_AND_IGNORE</mode>
203 <!-- Serial COM 4 -->
206 <mode>PRINT_AND_IGNORE</mode>
209 <!-- Parallel Port -->
212 <mode>PRINT_AND_IGNORE</mode>
215 <!-- Graphics Card modeerations -->
218 <mode>PRINT_AND_PASSTHROUGH</mode>
221 <!-- Graphics Card modeerations -->
224 <mode>PRINT_AND_PASSTHROUGH</mode>
230 <mode>PRINT_AND_IGNORE</mode>
236 <mode>PRINT_AND_IGNORE</mode>
242 <mode>PRINT_AND_IGNORE</mode>