]>
Commit | Line | Data |
---|---|---|
5600a359 JS |
1 | <domain type='kvm'> |
2 | <name>bob</name> | |
3 | <uuid>b411a615-d6af-41cb-9b30-aaf9a8c52d51</uuid> | |
4 | <memory unit='KiB'>1048576</memory> | |
5 | <currentMemory unit='KiB'>1048576</currentMemory> | |
6 | <vcpu placement='static'>1</vcpu> | |
7 | <os> | |
8 | <type arch='x86_64' machine='pc-i440fx-2.8'>hvm</type> | |
9 | <boot dev='hd'/> | |
10 | </os> | |
11 | <features> | |
12 | <acpi/> | |
13 | <apic/> | |
14 | <vmport state='off'/> | |
15 | </features> | |
16 | <cpu mode='custom' match='exact'> | |
17 | <model fallback='allow'>Broadwell-noTSX</model> | |
18 | </cpu> | |
19 | <clock offset='utc'> | |
20 | <timer name='rtc' tickpolicy='catchup'/> | |
21 | <timer name='pit' tickpolicy='delay'/> | |
22 | <timer name='hpet' present='no'/> | |
23 | </clock> | |
24 | <on_poweroff>destroy</on_poweroff> | |
25 | <on_reboot>restart</on_reboot> | |
26 | <on_crash>restart</on_crash> | |
27 | <pm> | |
28 | <suspend-to-mem enabled='no'/> | |
29 | <suspend-to-disk enabled='no'/> | |
30 | </pm> | |
31 | <devices> | |
32 | <emulator>/usr/bin/kvm</emulator> | |
33 | <disk type='file' device='disk'> | |
34 | <driver name='qemu' type='qcow2'/> | |
35 | <source file='/var/lib/libvirt/images/bob.qcow2'/> | |
36 | <target dev='vda' bus='virtio'/> | |
37 | <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> | |
38 | </disk> | |
39 | <controller type='usb' index='0' model='ich9-ehci1'> | |
40 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/> | |
41 | </controller> | |
42 | <controller type='usb' index='0' model='ich9-uhci1'> | |
43 | <master startport='0'/> | |
44 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/> | |
45 | </controller> | |
46 | <controller type='usb' index='0' model='ich9-uhci2'> | |
47 | <master startport='2'/> | |
48 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/> | |
49 | </controller> | |
50 | <controller type='usb' index='0' model='ich9-uhci3'> | |
51 | <master startport='4'/> | |
52 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/> | |
53 | </controller> | |
54 | <controller type='pci' index='0' model='pci-root'/> | |
55 | <controller type='virtio-serial' index='0'> | |
56 | <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | |
57 | </controller> | |
58 | <interface type='network'> | |
59 | <mac address='52:54:00:36:ba:7d'/> | |
60 | <source network='net1'/> | |
61 | <model type='virtio'/> | |
62 | <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
63 | </interface> | |
64 | <interface type='network'> | |
65 | <mac address='52:54:00:e3:cb:28'/> | |
66 | <source network='net2'/> | |
67 | <model type='rtl8139'/> | |
68 | <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
69 | </interface> | |
70 | <serial type='pty'> | |
71 | <target port='0'/> | |
72 | </serial> | |
73 | <console type='pty'> | |
74 | <target type='serial' port='0'/> | |
75 | </console> | |
76 | <channel type='unix'> | |
77 | <target type='virtio' name='org.qemu.guest_agent.0'/> | |
78 | <address type='virtio-serial' controller='0' bus='0' port='1'/> | |
79 | </channel> | |
80 | <channel type='spicevmc'> | |
81 | <target type='virtio' name='com.redhat.spice.0'/> | |
82 | <address type='virtio-serial' controller='0' bus='0' port='2'/> | |
83 | </channel> | |
84 | <input type='tablet' bus='usb'> | |
85 | <address type='usb' bus='0' port='1'/> | |
86 | </input> | |
87 | <input type='mouse' bus='ps2'/> | |
88 | <input type='keyboard' bus='ps2'/> | |
89 | <graphics type='spice' autoport='yes'> | |
90 | <listen type='address'/> | |
91 | <image compression='off'/> | |
92 | </graphics> | |
93 | <sound model='ich6'> | |
94 | <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
95 | </sound> | |
96 | <video> | |
97 | <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> | |
98 | <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
99 | </video> | |
100 | <redirdev bus='usb' type='spicevmc'> | |
101 | <address type='usb' bus='0' port='2'/> | |
102 | </redirdev> | |
103 | <redirdev bus='usb' type='spicevmc'> | |
104 | <address type='usb' bus='0' port='3'/> | |
105 | </redirdev> | |
106 | <memballoon model='virtio'> | |
107 | <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> | |
108 | </memballoon> | |
109 | </devices> | |
110 | </domain> | |
111 |