Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
- <name>win10</name>
- <uuid>8612e3cd-961b-4887-aafe-e765ba518211</uuid>
- <memory unit='KiB'>20480000</memory>
- <currentMemory unit='KiB'>20480000</currentMemory>
- <vcpu placement='static'>8</vcpu>
- <os>
- <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
- <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
- <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
- <boot dev='hd'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <hyperv>
- <relaxed state='on'/>
- <vapic state='on'/>
- <spinlocks state='on' retries='8191'/>
- </hyperv>
- <vmport state='off'/>
- </features>
- <cpu mode='host-model' check='partial'>
- <model fallback='allow'/>
- <topology sockets='1' cores='4' threads='2'/>
- </cpu>
- <clock offset='localtime'>
- <timer name='rtc' tickpolicy='catchup'/>
- <timer name='pit' tickpolicy='delay'/>
- <timer name='hpet' present='no'/>
- <timer name='hypervclock' present='yes'/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <pm>
- <suspend-to-mem enabled='no'/>
- <suspend-to-disk enabled='no'/>
- </pm>
- <devices>
- <emulator>/usr/bin/kvm-spice</emulator>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/home/prod/Downloads/virtio-win-0.1.160.iso'/>
- <target dev='sda' bus='sata'/>
- <readonly/>
- <address type='drive' controller='0' bus='0' target='0' unit='0'/>
- </disk>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='none' io='native'/>
- <source dev='/dev/SSD/Win10-prod'/>
- <target dev='vda' bus='virtio'/>
- <shareable/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
- </disk>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='writeback' io='threads'/>
- <source dev='/dev/NVME/SC-base'/>
- <target dev='vdd' bus='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </disk>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='none' io='native'/>
- <source dev='/dev/NVME/Games'/>
- <target dev='vde' bus='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
- </disk>
- <controller type='pci' index='0' model='pci-root'/>
- <controller type='virtio-serial' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </controller>
- <controller type='usb' index='0' model='ich9-ehci1'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x7'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci1'>
- <master startport='0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci2'>
- <master startport='2'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci3'>
- <master startport='4'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>
- </controller>
- <controller type='sata' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </controller>
- <interface type='bridge'>
- <mac address='52:54:00:4e:9d:da'/>
- <source bridge='br0'/>
- <model type='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
- </interface>
- <serial type='pty'>
- <target type='isa-serial' port='0'>
- <model name='isa-serial'/>
- </target>
- </serial>
- <console type='pty'>
- <target type='serial' port='0'/>
- </console>
- <input type='mouse' bus='ps2'/>
- <input type='keyboard' bus='ps2'/>
- <input type='keyboard' bus='virtio'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
- </input>
- <input type='tablet' bus='usb'>
- <address type='usb' bus='0' port='5'/>
- </input>
- <graphics type='spice' autoport='yes' keymap='en-gb'>
- <listen type='address'/>
- <gl enable='no' rendernode='/dev/dri/by-path/pci-0000:00:02.0-render'/>
- </graphics>
- <sound model='ich6'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </sound>
- <video>
- <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
- </video>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <source>
- <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
- </source>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
- </hostdev>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <source>
- <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
- </source>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
- </hostdev>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <source>
- <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
- </source>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
- </hostdev>
- <hostdev mode='subsystem' type='usb' managed='yes'>
- <source>
- <vendor id='0x28de'/>
- <product id='0x1142'/>
- </source>
- <address type='usb' bus='0' port='6'/>
- </hostdev>
- <redirdev bus='usb' type='spicevmc'>
- <address type='usb' bus='0' port='2'/>
- </redirdev>
- <redirdev bus='usb' type='spicevmc'>
- <address type='usb' bus='0' port='3'/>
- </redirdev>
- <redirdev bus='usb' type='spicevmc'>
- <address type='usb' bus='0' port='1'/>
- </redirdev>
- <redirdev bus='usb' type='spicevmc'>
- <address type='usb' bus='0' port='4'/>
- </redirdev>
- <memballoon model='virtio'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
- </memballoon>
- </devices>
- <qemu:commandline>
- <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
- <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
- </qemu:commandline>
- </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement