Ticket #18541: Config-xml-Qemu.txt

File Config-xml-Qemu.txt, 3.5 KB (added by Starcrasher, 15 months ago)

XML config file of the VM in qemu GUI

Line 
1<domain type="kvm">
2 <name>haikunightly</name>
3 <uuid>fc174b2b-adb0-4c20-a69b-8f5b8dc18683</uuid>
4 <metadata>
5 <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
6 <libosinfo:os id="http://haiku-os.org/haiku/nightly"/>
7 </libosinfo:libosinfo>
8 </metadata>
9 <memory unit="KiB">2097152</memory>
10 <currentMemory unit="KiB">2097152</currentMemory>
11 <vcpu placement="static">2</vcpu>
12 <os>
13 <type arch="x86_64" machine="pc-i440fx-5.2">hvm</type>
14 <boot dev="hd"/>
15 </os>
16 <features>
17 <acpi/>
18 <apic/>
19 <vmport state="off"/>
20 </features>
21 <cpu mode="host-model" check="partial"/>
22 <clock offset="utc">
23 <timer name="rtc" tickpolicy="catchup"/>
24 <timer name="pit" tickpolicy="delay"/>
25 <timer name="hpet" present="no"/>
26 </clock>
27 <on_poweroff>destroy</on_poweroff>
28 <on_reboot>restart</on_reboot>
29 <on_crash>destroy</on_crash>
30 <pm>
31 <suspend-to-mem enabled="no"/>
32 <suspend-to-disk enabled="no"/>
33 </pm>
34 <devices>
35 <emulator>/usr/bin/qemu-system-x86_64</emulator>
36 <disk type="file" device="disk">
37 <driver name="qemu" type="qcow2"/>
38 <source file="/var/lib/libvirt/images/haikunightly.qcow2"/>
39 <target dev="vda" bus="virtio"/>
40 <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
41 </disk>
42 <disk type="file" device="cdrom">
43 <driver name="qemu" type="raw"/>
44 <target dev="hda" bus="ide"/>
45 <readonly/>
46 <address type="drive" controller="0" bus="0" target="0" unit="0"/>
47 </disk>
48 <controller type="pci" index="0" model="pci-root"/>
49 <controller type="ide" index="0">
50 <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
51 </controller>
52 <controller type="virtio-serial" index="0">
53 <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
54 </controller>
55 <controller type="usb" index="0" model="qemu-xhci" ports="15">
56 <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
57 </controller>
58 <interface type="network">
59 <mac address="52:54:00:5e:79:a4"/>
60 <source network="Haiku-Net"/>
61 <model type="e1000"/>
62 <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
63 </interface>
64 <serial type="pty">
65 <target type="isa-serial" port="0">
66 <model name="isa-serial"/>
67 </target>
68 </serial>
69 <console type="pty">
70 <target type="serial" port="0"/>
71 </console>
72 <channel type="spicevmc">
73 <target type="virtio" name="com.redhat.spice.0"/>
74 <address type="virtio-serial" controller="0" bus="0" port="1"/>
75 </channel>
76 <input type="keyboard" bus="ps2"/>
77 <input type="mouse" bus="usb">
78 <address type="usb" bus="0" port="1"/>
79 </input>
80 <input type="mouse" bus="ps2"/>
81 <graphics type="spice" autoport="yes">
82 <listen type="address"/>
83 <image compression="off"/>
84 </graphics>
85 <sound model="ich6">
86 <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
87 </sound>
88 <video>
89 <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
90 <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
91 </video>
92 <redirdev bus="usb" type="spicevmc">
93 <address type="usb" bus="0" port="2"/>
94 </redirdev>
95 <memballoon model="virtio">
96 <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
97 </memballoon>
98 </devices>
99</domain>
100