Add network class
[nitsi.git] / centos2.xml
1 <domain type='kvm'>
2   <name>centos2</name>
3   <uuid>90c5d4cd-d277-4008-bff3-3a59e2b0a0ba</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   </os>
10   <features>
11     <acpi/>
12     <apic/>
13     <vmport state='off'/>
14   </features>
15   <cpu mode='custom' match='exact'>
16     <model fallback='allow'>Broadwell-noTSX</model>
17   </cpu>
18   <clock offset='utc'>
19     <timer name='rtc' tickpolicy='catchup'/>
20     <timer name='pit' tickpolicy='delay'/>
21     <timer name='hpet' present='no'/>
22   </clock>
23   <on_poweroff>destroy</on_poweroff>
24   <on_reboot>restart</on_reboot>
25   <on_crash>restart</on_crash>
26   <pm>
27     <suspend-to-mem enabled='no'/>
28     <suspend-to-disk enabled='no'/>
29   </pm>
30   <devices>
31     <emulator>/usr/bin/kvm</emulator>
32     <disk type='file' device='disk'>
33       <driver name='qemu' type='qcow2'/>
34       <source file='/var/lib/libvirt/images/centos.qcow2'/>
35       <target dev='vda' bus='virtio'/>
36       <boot order='1'/>
37       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
38     </disk>
39     <disk type='file' device='cdrom'>
40       <driver name='qemu' type='raw'/>
41       <source file='/home/jonatan/Downloads/CentOS-7-x86_64-Minimal-1708.iso'/>
42       <target dev='hda' bus='ide'/>
43       <readonly/>
44       <boot order='2'/>
45       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
46     </disk>
47     <controller type='usb' index='0' model='ich9-ehci1'>
48       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
49     </controller>
50     <controller type='usb' index='0' model='ich9-uhci1'>
51       <master startport='0'/>
52       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
53     </controller>
54     <controller type='usb' index='0' model='ich9-uhci2'>
55       <master startport='2'/>
56       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
57     </controller>
58     <controller type='usb' index='0' model='ich9-uhci3'>
59       <master startport='4'/>
60       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
61     </controller>
62     <controller type='pci' index='0' model='pci-root'/>
63     <controller type='ide' index='0'>
64       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
65     </controller>
66     <controller type='virtio-serial' index='0'>
67       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
68     </controller>
69     <interface type='network'>
70       <mac address='52:54:00:12:ce:50'/>
71       <source network='default'/>
72       <model type='virtio'/>
73       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
74     </interface>
75     <serial type='pty'>
76       <target port='0'/>
77     </serial>
78     <console type='pty'>
79       <target type='serial' port='0'/>
80     </console>
81     <channel type='unix'>
82       <target type='virtio' name='org.qemu.guest_agent.0'/>
83       <address type='virtio-serial' controller='0' bus='0' port='1'/>
84     </channel>
85     <channel type='spicevmc'>
86       <target type='virtio' name='com.redhat.spice.0'/>
87       <address type='virtio-serial' controller='0' bus='0' port='2'/>
88     </channel>
89     <input type='tablet' bus='usb'>
90       <address type='usb' bus='0' port='1'/>
91     </input>
92     <input type='mouse' bus='ps2'/>
93     <input type='keyboard' bus='ps2'/>
94     <graphics type='spice' autoport='yes'>
95       <listen type='address'/>
96       <image compression='off'/>
97     </graphics>
98     <sound model='ich6'>
99       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
100     </sound>
101     <video>
102       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
103       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
104     </video>
105     <redirdev bus='usb' type='spicevmc'>
106       <address type='usb' bus='0' port='2'/>
107     </redirdev>
108     <redirdev bus='usb' type='spicevmc'>
109       <address type='usb' bus='0' port='3'/>
110     </redirdev>
111     <memballoon model='virtio'>
112       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
113     </memballoon>
114   </devices>
115 </domain>