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="LAPIC" id="apic"/>
56 <device class="IOAPIC" id="ioapic">
60 <device class="CGA_VIDEO" id="cga" passthrough="enable" />
61 <device class="TELNET_CONSOLE" id="telnet console">
62 <frontend tag="CGA_VIDEO" />
66 <device class="PCI" id="pci0" />
68 <device class="i440FX" id="northbridge">
72 <device class="PIIX3" id="southbridge">
76 <device class="IDE" id="ide">
78 <controller>southbridge</controller>
84 <device class="LNX_VIRTIO_SYM" id="sym_pci">
88 <device class="LNX_VIRTIO_BLK" id="blk_virtio">
92 <device class="LNX_VIRTIO_BALLOON" id="balloon">
96 <device class="PCI_PASSTHROUGH" id="e1000">
98 <vendor_id>0x8086</vendor_id>
99 <device_id>0x100e</device_id>
103 <device class="PCI_PASSTHROUGH" id="e1000-hw">
105 <vendor_id>0x8086</vendor_id>
106 <device_id>0x107c</device_id>
112 <!-- This is a Storage Backend that connects to a frontend -->
113 <!-- The frontend section is passed to the frontend when the backend connects -->
114 <!-- The file tag refers to an 'id' already listed in the file list section above -->
115 <device class="RAMDISK" id="CD0">
118 <model>V3Vee CDROM</model>
121 <drive_num>0</drive_num>
127 <device class="SYM_SWAP" id="sym swap">
128 <frontend tag="blk_virtio" />
132 <device class="RAMDISK" id="HD0">
133 <file>harddisk</file>
134 <frontend tag="blk_virtio" />
138 <!-- Machine-check device -->
140 <device class="MCHECK" id="MCHECK" />
144 <device class="NVRAM" id="nvram">
145 <storage>ide</storage>
148 <device class="GENERIC" id="generic">
152 <mode>PRINT_AND_IGNORE</mode>
157 <mode>PRINT_AND_IGNORE</mode>
160 <!-- DMA 1 page registers -->
163 <mode>PRINT_AND_IGNORE</mode>
166 <!-- DMA 2 page registers -->
169 <mode>PRINT_AND_IGNORE</mode>
172 <!-- DMA 1 Misc Registers -->
175 <mode>PRINT_AND_IGNORE</mode>
178 <!-- DMA 2 Misc Registers -->
181 <mode>PRINT_AND_IGNORE</mode>
184 <!-- Serial COM 1 -->
187 <mode>PRINT_AND_IGNORE</mode>
190 <!-- Serial COM 2 -->
193 <mode>PRINT_AND_IGNORE</mode>
196 <!-- Serial COM 3 -->
199 <mode>PRINT_AND_IGNORE</mode>
202 <!-- Serial COM 4 -->
205 <mode>PRINT_AND_IGNORE</mode>
208 <!-- Parallel Port -->
211 <mode>PRINT_AND_IGNORE</mode>
214 <!-- Graphics Card modeerations -->
217 <mode>PRINT_AND_PASSTHROUGH</mode>
220 <!-- Graphics Card modeerations -->
223 <mode>PRINT_AND_PASSTHROUGH</mode>
229 <mode>PRINT_AND_IGNORE</mode>
235 <mode>PRINT_AND_IGNORE</mode>
241 <mode>PRINT_AND_IGNORE</mode>