anduin revised this gist 9 months ago. Go to revision
1 file changed, 40 insertions, 47 deletions
gistfile1.xml
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm"> | |
| 2 | 2 | <name>win11</name> | |
| 3 | - | <uuid>ebba30be-7bba-4981-9bbd-8ef4f85ef8c1</uuid> | |
| 3 | + | <uuid>756529ab-15aa-4223-bcee-df013e8bd3e4</uuid> | |
| 4 | 4 | <metadata> | |
| 5 | 5 | <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
| 6 | 6 | <libosinfo:os id="http://microsoft.com/win/11"/> | |
| @@ -28,12 +28,14 @@ | |||
| 28 | 28 | <vcpupin vcpu="15" cpuset="19"/> | |
| 29 | 29 | </cputune> | |
| 30 | 30 | <os firmware="efi"> | |
| 31 | - | <type arch="x86_64" machine="pc-q35-6.2">hvm</type> | |
| 31 | + | <type arch="x86_64" machine="pc-q35-9.0">hvm</type> | |
| 32 | 32 | <firmware> | |
| 33 | 33 | <feature enabled="yes" name="enrolled-keys"/> | |
| 34 | 34 | <feature enabled="yes" name="secure-boot"/> | |
| 35 | 35 | </firmware> | |
| 36 | - | <bootmenu enable="yes"/> | |
| 36 | + | <loader readonly="yes" secure="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.ms.fd</loader> | |
| 37 | + | <nvram template="/usr/share/OVMF/OVMF_VARS_4M.ms.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram> | |
| 38 | + | <boot dev="cdrom"/> | |
| 37 | 39 | </os> | |
| 38 | 40 | <features> | |
| 39 | 41 | <acpi/> | |
| @@ -52,12 +54,12 @@ | |||
| 52 | 54 | <reenlightenment state="off"/> | |
| 53 | 55 | <tlbflush state="on"/> | |
| 54 | 56 | <ipi state="on"/> | |
| 55 | - | <evmcs state="on"/> | |
| 56 | 57 | </hyperv> | |
| 57 | 58 | <vmport state="off"/> | |
| 59 | + | <smm state="on"/> | |
| 58 | 60 | </features> | |
| 59 | 61 | <cpu mode="host-passthrough" check="none" migratable="on"> | |
| 60 | - | <topology sockets="1" dies="1" cores="8" threads="2"/> | |
| 62 | + | <topology sockets="1" dies="1" clusters="1" cores="8" threads="2"/> | |
| 61 | 63 | </cpu> | |
| 62 | 64 | <clock offset="localtime"> | |
| 63 | 65 | <timer name="rtc" tickpolicy="catchup"/> | |
| @@ -74,15 +76,8 @@ | |||
| 74 | 76 | </pm> | |
| 75 | 77 | <devices> | |
| 76 | 78 | <emulator>/usr/bin/qemu-system-x86_64</emulator> | |
| 77 | - | <disk type="file" device="cdrom"> | |
| 78 | - | <driver name="qemu" type="raw"/> | |
| 79 | - | <target dev="sdb" bus="sata"/> | |
| 80 | - | <readonly/> | |
| 81 | - | <boot order="1"/> | |
| 82 | - | <address type="drive" controller="0" bus="0" target="0" unit="1"/> | |
| 83 | - | </disk> | |
| 84 | 79 | <controller type="usb" index="0" model="qemu-xhci" ports="15"> | |
| 85 | - | <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> | |
| 80 | + | <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/> | |
| 86 | 81 | </controller> | |
| 87 | 82 | <controller type="pci" index="0" model="pcie-root"/> | |
| 88 | 83 | <controller type="pci" index="1" model="pcie-root-port"> | |
| @@ -162,22 +157,22 @@ | |||
| 162 | 157 | </controller> | |
| 163 | 158 | <controller type="pci" index="16" model="pcie-to-pci-bridge"> | |
| 164 | 159 | <model name="pcie-pci-bridge"/> | |
| 165 | - | <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 160 | + | <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/> | |
| 166 | 161 | </controller> | |
| 167 | 162 | <controller type="sata" index="0"> | |
| 168 | 163 | <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/> | |
| 169 | 164 | </controller> | |
| 165 | + | <controller type="virtio-serial" index="0"> | |
| 166 | + | <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> | |
| 167 | + | </controller> | |
| 170 | 168 | <controller type="scsi" index="0" model="virtio-scsi"> | |
| 171 | 169 | <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> | |
| 172 | 170 | </controller> | |
| 173 | - | <controller type="virtio-serial" index="0"> | |
| 174 | - | <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/> | |
| 175 | - | </controller> | |
| 176 | 171 | <interface type="network"> | |
| 177 | - | <mac address="52:54:00:72:da:2c"/> | |
| 172 | + | <mac address="52:54:00:28:2f:a6"/> | |
| 178 | 173 | <source network="default"/> | |
| 179 | 174 | <model type="virtio"/> | |
| 180 | - | <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/> | |
| 175 | + | <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 181 | 176 | </interface> | |
| 182 | 177 | <serial type="pty"> | |
| 183 | 178 | <target type="isa-serial" port="0"> | |
| @@ -192,10 +187,10 @@ | |||
| 192 | 187 | <address type="virtio-serial" controller="0" bus="0" port="1"/> | |
| 193 | 188 | </channel> | |
| 194 | 189 | <input type="mouse" bus="virtio"> | |
| 195 | - | <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/> | |
| 190 | + | <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/> | |
| 196 | 191 | </input> | |
| 197 | 192 | <input type="keyboard" bus="virtio"> | |
| 198 | - | <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/> | |
| 193 | + | <address type="pci" domain="0x0000" bus="0x0d" slot="0x00" function="0x0"/> | |
| 199 | 194 | </input> | |
| 200 | 195 | <input type="mouse" bus="ps2"/> | |
| 201 | 196 | <input type="keyboard" bus="ps2"/> | |
| @@ -205,54 +200,37 @@ | |||
| 205 | 200 | <graphics type="spice" autoport="yes"> | |
| 206 | 201 | <listen type="address"/> | |
| 207 | 202 | <image compression="off"/> | |
| 208 | - | <gl enable="no"/> | |
| 209 | 203 | </graphics> | |
| 204 | + | <sound model="ich9"> | |
| 205 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/> | |
| 206 | + | </sound> | |
| 210 | 207 | <audio id="1" type="spice"/> | |
| 211 | 208 | <video> | |
| 212 | 209 | <model type="none"/> | |
| 213 | 210 | </video> | |
| 214 | - | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 215 | - | <source> | |
| 216 | - | <address domain="0x0000" bus="0x15" slot="0x00" function="0x0"/> | |
| 217 | - | </source> | |
| 218 | - | <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/> | |
| 219 | - | </hostdev> | |
| 220 | - | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 221 | - | <source> | |
| 222 | - | <address domain="0x0000" bus="0x15" slot="0x00" function="0x1"/> | |
| 223 | - | </source> | |
| 224 | - | <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> | |
| 225 | - | </hostdev> | |
| 226 | 211 | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 227 | 212 | <source> | |
| 228 | 213 | <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 229 | 214 | </source> | |
| 230 | - | <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/> | |
| 215 | + | <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> | |
| 231 | 216 | </hostdev> | |
| 232 | 217 | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 233 | 218 | <source> | |
| 234 | 219 | <address domain="0x0000" bus="0x2e" slot="0x00" function="0x0"/> | |
| 235 | 220 | </source> | |
| 236 | - | <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> | |
| 221 | + | <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/> | |
| 237 | 222 | </hostdev> | |
| 238 | 223 | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 239 | 224 | <source> | |
| 240 | 225 | <vendor id="0x33fa"/> | |
| 241 | 226 | <product id="0x0010"/> | |
| 242 | 227 | </source> | |
| 243 | - | <address type="usb" bus="0" port="1"/> | |
| 244 | - | </hostdev> | |
| 245 | - | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 246 | - | <source> | |
| 247 | - | <vendor id="0x046d"/> | |
| 248 | - | <product id="0x0ab5"/> | |
| 249 | - | </source> | |
| 250 | 228 | <address type="usb" bus="0" port="2"/> | |
| 251 | 229 | </hostdev> | |
| 252 | 230 | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 253 | 231 | <source> | |
| 254 | 232 | <vendor id="0x046d"/> | |
| 255 | - | <product id="0x085e"/> | |
| 233 | + | <product id="0x0ab5"/> | |
| 256 | 234 | </source> | |
| 257 | 235 | <address type="usb" bus="0" port="3"/> | |
| 258 | 236 | </hostdev> | |
| @@ -263,14 +241,29 @@ | |||
| 263 | 241 | </source> | |
| 264 | 242 | <address type="usb" bus="0" port="4"/> | |
| 265 | 243 | </hostdev> | |
| 266 | - | <memballoon model="none"/> | |
| 244 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 245 | + | <source> | |
| 246 | + | <address domain="0x0000" bus="0x15" slot="0x00" function="0x0"/> | |
| 247 | + | </source> | |
| 248 | + | <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/> | |
| 249 | + | </hostdev> | |
| 250 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 251 | + | <source> | |
| 252 | + | <address domain="0x0000" bus="0x15" slot="0x00" function="0x1"/> | |
| 253 | + | </source> | |
| 254 | + | <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/> | |
| 255 | + | </hostdev> | |
| 256 | + | <watchdog model="itco" action="reset"/> | |
| 257 | + | <memballoon model="virtio"> | |
| 258 | + | <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/> | |
| 259 | + | </memballoon> | |
| 267 | 260 | <rng model="virtio"> | |
| 268 | 261 | <backend model="random">/dev/urandom</backend> | |
| 269 | - | <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/> | |
| 262 | + | <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> | |
| 270 | 263 | </rng> | |
| 271 | 264 | <shmem name="looking-glass"> | |
| 272 | 265 | <model type="ivshmem-plain"/> | |
| 273 | - | <size unit="M">64</size> | |
| 266 | + | <size unit="M">128</size> | |
| 274 | 267 | <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/> | |
| 275 | 268 | </shmem> | |
| 276 | 269 | </devices> | |
anduin revised this gist 10 months ago. Go to revision
1 file changed, 39 insertions, 27 deletions
gistfile1.xml
| @@ -1,25 +1,31 @@ | |||
| 1 | 1 | <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm"> | |
| 2 | 2 | <name>win11</name> | |
| 3 | - | <uuid>6f6d22e6-34a1-4aa0-88d6-60ffcb9d2ab4</uuid> | |
| 3 | + | <uuid>ebba30be-7bba-4981-9bbd-8ef4f85ef8c1</uuid> | |
| 4 | 4 | <metadata> | |
| 5 | 5 | <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
| 6 | 6 | <libosinfo:os id="http://microsoft.com/win/11"/> | |
| 7 | 7 | </libosinfo:libosinfo> | |
| 8 | 8 | </metadata> | |
| 9 | - | <memory unit="KiB">16777216</memory> | |
| 10 | - | <currentMemory unit="KiB">16777216</currentMemory> | |
| 11 | - | <vcpu placement="static">10</vcpu> | |
| 9 | + | <memory unit="KiB">67108864</memory> | |
| 10 | + | <currentMemory unit="KiB">67108864</currentMemory> | |
| 11 | + | <vcpu placement="static">16</vcpu> | |
| 12 | 12 | <cputune> | |
| 13 | - | <vcpupin vcpu="0" cpuset="10"/> | |
| 14 | - | <vcpupin vcpu="1" cpuset="11"/> | |
| 15 | - | <vcpupin vcpu="2" cpuset="12"/> | |
| 16 | - | <vcpupin vcpu="3" cpuset="13"/> | |
| 17 | - | <vcpupin vcpu="4" cpuset="14"/> | |
| 18 | - | <vcpupin vcpu="5" cpuset="15"/> | |
| 19 | - | <vcpupin vcpu="6" cpuset="16"/> | |
| 20 | - | <vcpupin vcpu="7" cpuset="17"/> | |
| 21 | - | <vcpupin vcpu="8" cpuset="18"/> | |
| 22 | - | <vcpupin vcpu="9" cpuset="19"/> | |
| 13 | + | <vcpupin vcpu="0" cpuset="4"/> | |
| 14 | + | <vcpupin vcpu="1" cpuset="5"/> | |
| 15 | + | <vcpupin vcpu="2" cpuset="6"/> | |
| 16 | + | <vcpupin vcpu="3" cpuset="7"/> | |
| 17 | + | <vcpupin vcpu="4" cpuset="8"/> | |
| 18 | + | <vcpupin vcpu="5" cpuset="9"/> | |
| 19 | + | <vcpupin vcpu="6" cpuset="10"/> | |
| 20 | + | <vcpupin vcpu="7" cpuset="11"/> | |
| 21 | + | <vcpupin vcpu="8" cpuset="12"/> | |
| 22 | + | <vcpupin vcpu="9" cpuset="13"/> | |
| 23 | + | <vcpupin vcpu="10" cpuset="14"/> | |
| 24 | + | <vcpupin vcpu="11" cpuset="15"/> | |
| 25 | + | <vcpupin vcpu="12" cpuset="16"/> | |
| 26 | + | <vcpupin vcpu="13" cpuset="17"/> | |
| 27 | + | <vcpupin vcpu="14" cpuset="18"/> | |
| 28 | + | <vcpupin vcpu="15" cpuset="19"/> | |
| 23 | 29 | </cputune> | |
| 24 | 30 | <os firmware="efi"> | |
| 25 | 31 | <type arch="x86_64" machine="pc-q35-6.2">hvm</type> | |
| @@ -51,7 +57,7 @@ | |||
| 51 | 57 | <vmport state="off"/> | |
| 52 | 58 | </features> | |
| 53 | 59 | <cpu mode="host-passthrough" check="none" migratable="on"> | |
| 54 | - | <topology sockets="1" dies="1" cores="5" threads="2"/> | |
| 60 | + | <topology sockets="1" dies="1" cores="8" threads="2"/> | |
| 55 | 61 | </cpu> | |
| 56 | 62 | <clock offset="localtime"> | |
| 57 | 63 | <timer name="rtc" tickpolicy="catchup"/> | |
| @@ -70,7 +76,6 @@ | |||
| 70 | 76 | <emulator>/usr/bin/qemu-system-x86_64</emulator> | |
| 71 | 77 | <disk type="file" device="cdrom"> | |
| 72 | 78 | <driver name="qemu" type="raw"/> | |
| 73 | - | <source file="/home/anduin/Downloads/virtio-win-0.1.248.iso"/> | |
| 74 | 79 | <target dev="sdb" bus="sata"/> | |
| 75 | 80 | <readonly/> | |
| 76 | 81 | <boot order="1"/> | |
| @@ -220,36 +225,43 @@ | |||
| 220 | 225 | </hostdev> | |
| 221 | 226 | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 222 | 227 | <source> | |
| 223 | - | <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> | |
| 228 | + | <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 224 | 229 | </source> | |
| 225 | - | <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> | |
| 230 | + | <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/> | |
| 226 | 231 | </hostdev> | |
| 227 | 232 | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 228 | 233 | <source> | |
| 229 | - | <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 234 | + | <address domain="0x0000" bus="0x2e" slot="0x00" function="0x0"/> | |
| 230 | 235 | </source> | |
| 231 | - | <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/> | |
| 236 | + | <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> | |
| 237 | + | </hostdev> | |
| 238 | + | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 239 | + | <source> | |
| 240 | + | <vendor id="0x33fa"/> | |
| 241 | + | <product id="0x0010"/> | |
| 242 | + | </source> | |
| 243 | + | <address type="usb" bus="0" port="1"/> | |
| 232 | 244 | </hostdev> | |
| 233 | 245 | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 234 | 246 | <source> | |
| 235 | 247 | <vendor id="0x046d"/> | |
| 236 | 248 | <product id="0x0ab5"/> | |
| 237 | 249 | </source> | |
| 238 | - | <address type="usb" bus="0" port="1"/> | |
| 250 | + | <address type="usb" bus="0" port="2"/> | |
| 239 | 251 | </hostdev> | |
| 240 | 252 | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 241 | 253 | <source> | |
| 242 | - | <vendor id="0x1050"/> | |
| 243 | - | <product id="0x0406"/> | |
| 254 | + | <vendor id="0x046d"/> | |
| 255 | + | <product id="0x085e"/> | |
| 244 | 256 | </source> | |
| 245 | - | <address type="usb" bus="0" port="4"/> | |
| 257 | + | <address type="usb" bus="0" port="3"/> | |
| 246 | 258 | </hostdev> | |
| 247 | 259 | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 248 | 260 | <source> | |
| 249 | - | <vendor id="0x33fa"/> | |
| 250 | - | <product id="0x0010"/> | |
| 261 | + | <vendor id="0x1050"/> | |
| 262 | + | <product id="0x0406"/> | |
| 251 | 263 | </source> | |
| 252 | - | <address type="usb" bus="0" port="2"/> | |
| 264 | + | <address type="usb" bus="0" port="4"/> | |
| 253 | 265 | </hostdev> | |
| 254 | 266 | <memballoon model="none"/> | |
| 255 | 267 | <rng model="virtio"> | |
anduin revised this gist 1 year ago. Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to gistfile1.xml
File renamed without changes
anduin revised this gist 1 year ago. Go to revision
1 file changed, 269 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,269 @@ | |||
| 1 | + | <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm"> | |
| 2 | + | <name>win11</name> | |
| 3 | + | <uuid>6f6d22e6-34a1-4aa0-88d6-60ffcb9d2ab4</uuid> | |
| 4 | + | <metadata> | |
| 5 | + | <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
| 6 | + | <libosinfo:os id="http://microsoft.com/win/11"/> | |
| 7 | + | </libosinfo:libosinfo> | |
| 8 | + | </metadata> | |
| 9 | + | <memory unit="KiB">16777216</memory> | |
| 10 | + | <currentMemory unit="KiB">16777216</currentMemory> | |
| 11 | + | <vcpu placement="static">10</vcpu> | |
| 12 | + | <cputune> | |
| 13 | + | <vcpupin vcpu="0" cpuset="10"/> | |
| 14 | + | <vcpupin vcpu="1" cpuset="11"/> | |
| 15 | + | <vcpupin vcpu="2" cpuset="12"/> | |
| 16 | + | <vcpupin vcpu="3" cpuset="13"/> | |
| 17 | + | <vcpupin vcpu="4" cpuset="14"/> | |
| 18 | + | <vcpupin vcpu="5" cpuset="15"/> | |
| 19 | + | <vcpupin vcpu="6" cpuset="16"/> | |
| 20 | + | <vcpupin vcpu="7" cpuset="17"/> | |
| 21 | + | <vcpupin vcpu="8" cpuset="18"/> | |
| 22 | + | <vcpupin vcpu="9" cpuset="19"/> | |
| 23 | + | </cputune> | |
| 24 | + | <os firmware="efi"> | |
| 25 | + | <type arch="x86_64" machine="pc-q35-6.2">hvm</type> | |
| 26 | + | <firmware> | |
| 27 | + | <feature enabled="yes" name="enrolled-keys"/> | |
| 28 | + | <feature enabled="yes" name="secure-boot"/> | |
| 29 | + | </firmware> | |
| 30 | + | <bootmenu enable="yes"/> | |
| 31 | + | </os> | |
| 32 | + | <features> | |
| 33 | + | <acpi/> | |
| 34 | + | <apic/> | |
| 35 | + | <hyperv mode="passthrough"> | |
| 36 | + | <relaxed state="on"/> | |
| 37 | + | <vapic state="on"/> | |
| 38 | + | <spinlocks state="on" retries="8191"/> | |
| 39 | + | <vpindex state="on"/> | |
| 40 | + | <runtime state="on"/> | |
| 41 | + | <synic state="on"/> | |
| 42 | + | <stimer state="on"/> | |
| 43 | + | <reset state="off"/> | |
| 44 | + | <vendor_id state="on" value="intel"/> | |
| 45 | + | <frequencies state="on"/> | |
| 46 | + | <reenlightenment state="off"/> | |
| 47 | + | <tlbflush state="on"/> | |
| 48 | + | <ipi state="on"/> | |
| 49 | + | <evmcs state="on"/> | |
| 50 | + | </hyperv> | |
| 51 | + | <vmport state="off"/> | |
| 52 | + | </features> | |
| 53 | + | <cpu mode="host-passthrough" check="none" migratable="on"> | |
| 54 | + | <topology sockets="1" dies="1" cores="5" threads="2"/> | |
| 55 | + | </cpu> | |
| 56 | + | <clock offset="localtime"> | |
| 57 | + | <timer name="rtc" tickpolicy="catchup"/> | |
| 58 | + | <timer name="pit" tickpolicy="delay"/> | |
| 59 | + | <timer name="hpet" present="no"/> | |
| 60 | + | <timer name="hypervclock" present="yes"/> | |
| 61 | + | </clock> | |
| 62 | + | <on_poweroff>destroy</on_poweroff> | |
| 63 | + | <on_reboot>restart</on_reboot> | |
| 64 | + | <on_crash>destroy</on_crash> | |
| 65 | + | <pm> | |
| 66 | + | <suspend-to-mem enabled="no"/> | |
| 67 | + | <suspend-to-disk enabled="no"/> | |
| 68 | + | </pm> | |
| 69 | + | <devices> | |
| 70 | + | <emulator>/usr/bin/qemu-system-x86_64</emulator> | |
| 71 | + | <disk type="file" device="cdrom"> | |
| 72 | + | <driver name="qemu" type="raw"/> | |
| 73 | + | <source file="/home/anduin/Downloads/virtio-win-0.1.248.iso"/> | |
| 74 | + | <target dev="sdb" bus="sata"/> | |
| 75 | + | <readonly/> | |
| 76 | + | <boot order="1"/> | |
| 77 | + | <address type="drive" controller="0" bus="0" target="0" unit="1"/> | |
| 78 | + | </disk> | |
| 79 | + | <controller type="usb" index="0" model="qemu-xhci" ports="15"> | |
| 80 | + | <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> | |
| 81 | + | </controller> | |
| 82 | + | <controller type="pci" index="0" model="pcie-root"/> | |
| 83 | + | <controller type="pci" index="1" model="pcie-root-port"> | |
| 84 | + | <model name="pcie-root-port"/> | |
| 85 | + | <target chassis="1" port="0x10"/> | |
| 86 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/> | |
| 87 | + | </controller> | |
| 88 | + | <controller type="pci" index="2" model="pcie-root-port"> | |
| 89 | + | <model name="pcie-root-port"/> | |
| 90 | + | <target chassis="2" port="0x11"/> | |
| 91 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/> | |
| 92 | + | </controller> | |
| 93 | + | <controller type="pci" index="3" model="pcie-root-port"> | |
| 94 | + | <model name="pcie-root-port"/> | |
| 95 | + | <target chassis="3" port="0x12"/> | |
| 96 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/> | |
| 97 | + | </controller> | |
| 98 | + | <controller type="pci" index="4" model="pcie-root-port"> | |
| 99 | + | <model name="pcie-root-port"/> | |
| 100 | + | <target chassis="4" port="0x13"/> | |
| 101 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/> | |
| 102 | + | </controller> | |
| 103 | + | <controller type="pci" index="5" model="pcie-root-port"> | |
| 104 | + | <model name="pcie-root-port"/> | |
| 105 | + | <target chassis="5" port="0x14"/> | |
| 106 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/> | |
| 107 | + | </controller> | |
| 108 | + | <controller type="pci" index="6" model="pcie-root-port"> | |
| 109 | + | <model name="pcie-root-port"/> | |
| 110 | + | <target chassis="6" port="0x15"/> | |
| 111 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/> | |
| 112 | + | </controller> | |
| 113 | + | <controller type="pci" index="7" model="pcie-root-port"> | |
| 114 | + | <model name="pcie-root-port"/> | |
| 115 | + | <target chassis="7" port="0x16"/> | |
| 116 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/> | |
| 117 | + | </controller> | |
| 118 | + | <controller type="pci" index="8" model="pcie-root-port"> | |
| 119 | + | <model name="pcie-root-port"/> | |
| 120 | + | <target chassis="8" port="0x17"/> | |
| 121 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/> | |
| 122 | + | </controller> | |
| 123 | + | <controller type="pci" index="9" model="pcie-root-port"> | |
| 124 | + | <model name="pcie-root-port"/> | |
| 125 | + | <target chassis="9" port="0x18"/> | |
| 126 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/> | |
| 127 | + | </controller> | |
| 128 | + | <controller type="pci" index="10" model="pcie-root-port"> | |
| 129 | + | <model name="pcie-root-port"/> | |
| 130 | + | <target chassis="10" port="0x19"/> | |
| 131 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/> | |
| 132 | + | </controller> | |
| 133 | + | <controller type="pci" index="11" model="pcie-root-port"> | |
| 134 | + | <model name="pcie-root-port"/> | |
| 135 | + | <target chassis="11" port="0x1a"/> | |
| 136 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/> | |
| 137 | + | </controller> | |
| 138 | + | <controller type="pci" index="12" model="pcie-root-port"> | |
| 139 | + | <model name="pcie-root-port"/> | |
| 140 | + | <target chassis="12" port="0x1b"/> | |
| 141 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/> | |
| 142 | + | </controller> | |
| 143 | + | <controller type="pci" index="13" model="pcie-root-port"> | |
| 144 | + | <model name="pcie-root-port"/> | |
| 145 | + | <target chassis="13" port="0x1c"/> | |
| 146 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/> | |
| 147 | + | </controller> | |
| 148 | + | <controller type="pci" index="14" model="pcie-root-port"> | |
| 149 | + | <model name="pcie-root-port"/> | |
| 150 | + | <target chassis="14" port="0x1d"/> | |
| 151 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/> | |
| 152 | + | </controller> | |
| 153 | + | <controller type="pci" index="15" model="pcie-root-port"> | |
| 154 | + | <model name="pcie-root-port"/> | |
| 155 | + | <target chassis="15" port="0x1e"/> | |
| 156 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/> | |
| 157 | + | </controller> | |
| 158 | + | <controller type="pci" index="16" model="pcie-to-pci-bridge"> | |
| 159 | + | <model name="pcie-pci-bridge"/> | |
| 160 | + | <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 161 | + | </controller> | |
| 162 | + | <controller type="sata" index="0"> | |
| 163 | + | <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/> | |
| 164 | + | </controller> | |
| 165 | + | <controller type="scsi" index="0" model="virtio-scsi"> | |
| 166 | + | <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> | |
| 167 | + | </controller> | |
| 168 | + | <controller type="virtio-serial" index="0"> | |
| 169 | + | <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/> | |
| 170 | + | </controller> | |
| 171 | + | <interface type="network"> | |
| 172 | + | <mac address="52:54:00:72:da:2c"/> | |
| 173 | + | <source network="default"/> | |
| 174 | + | <model type="virtio"/> | |
| 175 | + | <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/> | |
| 176 | + | </interface> | |
| 177 | + | <serial type="pty"> | |
| 178 | + | <target type="isa-serial" port="0"> | |
| 179 | + | <model name="isa-serial"/> | |
| 180 | + | </target> | |
| 181 | + | </serial> | |
| 182 | + | <console type="pty"> | |
| 183 | + | <target type="serial" port="0"/> | |
| 184 | + | </console> | |
| 185 | + | <channel type="spicevmc"> | |
| 186 | + | <target type="virtio" name="com.redhat.spice.0"/> | |
| 187 | + | <address type="virtio-serial" controller="0" bus="0" port="1"/> | |
| 188 | + | </channel> | |
| 189 | + | <input type="mouse" bus="virtio"> | |
| 190 | + | <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/> | |
| 191 | + | </input> | |
| 192 | + | <input type="keyboard" bus="virtio"> | |
| 193 | + | <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/> | |
| 194 | + | </input> | |
| 195 | + | <input type="mouse" bus="ps2"/> | |
| 196 | + | <input type="keyboard" bus="ps2"/> | |
| 197 | + | <tpm model="tpm-tis"> | |
| 198 | + | <backend type="emulator" version="2.0"/> | |
| 199 | + | </tpm> | |
| 200 | + | <graphics type="spice" autoport="yes"> | |
| 201 | + | <listen type="address"/> | |
| 202 | + | <image compression="off"/> | |
| 203 | + | <gl enable="no"/> | |
| 204 | + | </graphics> | |
| 205 | + | <audio id="1" type="spice"/> | |
| 206 | + | <video> | |
| 207 | + | <model type="none"/> | |
| 208 | + | </video> | |
| 209 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 210 | + | <source> | |
| 211 | + | <address domain="0x0000" bus="0x15" slot="0x00" function="0x0"/> | |
| 212 | + | </source> | |
| 213 | + | <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/> | |
| 214 | + | </hostdev> | |
| 215 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 216 | + | <source> | |
| 217 | + | <address domain="0x0000" bus="0x15" slot="0x00" function="0x1"/> | |
| 218 | + | </source> | |
| 219 | + | <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> | |
| 220 | + | </hostdev> | |
| 221 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 222 | + | <source> | |
| 223 | + | <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> | |
| 224 | + | </source> | |
| 225 | + | <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> | |
| 226 | + | </hostdev> | |
| 227 | + | <hostdev mode="subsystem" type="pci" managed="yes"> | |
| 228 | + | <source> | |
| 229 | + | <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> | |
| 230 | + | </source> | |
| 231 | + | <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/> | |
| 232 | + | </hostdev> | |
| 233 | + | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 234 | + | <source> | |
| 235 | + | <vendor id="0x046d"/> | |
| 236 | + | <product id="0x0ab5"/> | |
| 237 | + | </source> | |
| 238 | + | <address type="usb" bus="0" port="1"/> | |
| 239 | + | </hostdev> | |
| 240 | + | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 241 | + | <source> | |
| 242 | + | <vendor id="0x1050"/> | |
| 243 | + | <product id="0x0406"/> | |
| 244 | + | </source> | |
| 245 | + | <address type="usb" bus="0" port="4"/> | |
| 246 | + | </hostdev> | |
| 247 | + | <hostdev mode="subsystem" type="usb" managed="yes"> | |
| 248 | + | <source> | |
| 249 | + | <vendor id="0x33fa"/> | |
| 250 | + | <product id="0x0010"/> | |
| 251 | + | </source> | |
| 252 | + | <address type="usb" bus="0" port="2"/> | |
| 253 | + | </hostdev> | |
| 254 | + | <memballoon model="none"/> | |
| 255 | + | <rng model="virtio"> | |
| 256 | + | <backend model="random">/dev/urandom</backend> | |
| 257 | + | <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/> | |
| 258 | + | </rng> | |
| 259 | + | <shmem name="looking-glass"> | |
| 260 | + | <model type="ivshmem-plain"/> | |
| 261 | + | <size unit="M">64</size> | |
| 262 | + | <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/> | |
| 263 | + | </shmem> | |
| 264 | + | </devices> | |
| 265 | + | <qemu:commandline> | |
| 266 | + | <qemu:arg value="-overcommit"/> | |
| 267 | + | <qemu:arg value="cpu-pm=on"/> | |
| 268 | + | </qemu:commandline> | |
| 269 | + | </domain> | |