Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='UTF-8'?>
- <domain type='kvm' id='6'>
- <name>Windows 10 VM</name>
- <uuid>0c181077-732b-0aa2-eacd-ff8b0f8daad3</uuid>
- <description>My Windows 10 VM</description>
- <metadata>
- <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
- </metadata>
- <memory unit='KiB'>8388608</memory>
- <currentMemory unit='KiB'>8388608</currentMemory>
- <memoryBacking>
- <nosharepages/>
- </memoryBacking>
- <vcpu placement='static'>8</vcpu>
- <cputune>
- <vcpupin vcpu='0' cpuset='4'/>
- <vcpupin vcpu='1' cpuset='12'/>
- <vcpupin vcpu='2' cpuset='5'/>
- <vcpupin vcpu='3' cpuset='13'/>
- <vcpupin vcpu='4' cpuset='6'/>
- <vcpupin vcpu='5' cpuset='14'/>
- <vcpupin vcpu='6' cpuset='7'/>
- <vcpupin vcpu='7' cpuset='15'/>
- <emulatorpin cpuset='3'/>
- </cputune>
- <resource>
- <partition>/machine</partition>
- </resource>
- <os>
- <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
- <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
- <nvram>/etc/libvirt/qemu/nvram/0c181077-732b-0aa2-eacd-ff8b0f8daad3_VARS-pure-efi.fd</nvram>
- </os>
- <features>
- <acpi/>
- <apic/>
- <hyperv>
- <relaxed state='on'/>
- <vapic state='on'/>
- <spinlocks state='on' retries='8191'/>
- <vpindex state='on'/>
- <synic state='on'/>
- <stimer state='on'/>
- <reset state='on'/>
- <vendor_id state='on' value='1234567890ab'/>
- <frequencies state='on'/>
- </hyperv>
- <kvm>
- <hidden state='on'/>
- </kvm>
- <vmport state='off'/>
- <ioapic driver='kvm'/>
- </features>
- <cpu mode='host-passthrough' check='none'>
- <topology sockets='1' cores='4' threads='2'/>
- <cache mode='passthrough'/>
- <feature policy='require' name='topoext'/>
- </cpu>
- <clock offset='localtime'>
- <timer name='rtc' present='no' tickpolicy='catchup'/>
- <timer name='pit' present='no' tickpolicy='delay'/>
- <timer name='hpet' present='no'/>
- <timer name='hypervclock' present='yes'/>
- <timer name='tsc' present='yes' mode='native'/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>restart</on_crash>
- <devices>
- <emulator>/usr/local/sbin/qemu</emulator>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso' index='2'/>
- <backingStore/>
- <target dev='hdb' bus='sata'/>
- <readonly/>
- <alias name='sata0-0-1'/>
- <address type='drive' controller='0' bus='0' target='0' unit='1'/>
- </disk>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='writeback'/>
- <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S3R0NF1J818242B' index='1'/>
- <backingStore/>
- <target dev='hdc' bus='sata'/>
- <boot order='1'/>
- <alias name='sata0-0-2'/>
- <address type='drive' controller='0' bus='0' target='0' unit='2'/>
- </disk>
- <controller type='usb' index='0' model='qemu-xhci' ports='15'>
- <alias name='usb'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
- </controller>
- <controller type='virtio-serial' index='0'>
- <alias name='virtio-serial0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </controller>
- <controller type='pci' index='0' model='pci-root'>
- <alias name='pci.0'/>
- </controller>
- <controller type='sata' index='0'>
- <alias name='sata0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </controller>
- <interface type='bridge'>
- <mac address='52:54:00:5f:72:c7'/>
- <source bridge='br0'/>
- <target dev='vnet0'/>
- <model type='virtio'/>
- <alias name='net0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </interface>
- <serial type='pty'>
- <source path='/dev/pts/0'/>
- <target type='isa-serial' port='0'>
- <model name='isa-serial'/>
- </target>
- <alias name='serial0'/>
- </serial>
- <console type='pty' tty='/dev/pts/0'>
- <source path='/dev/pts/0'/>
- <target type='serial' port='0'/>
- <alias name='serial0'/>
- </console>
- <channel type='unix'>
- <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-6-Windows 10 VM/org.qemu.guest_agent.0'/>
- <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
- <alias name='channel0'/>
- <address type='virtio-serial' controller='0' bus='0' port='1'/>
- </channel>
- <input type='tablet' bus='usb'>
- <alias name='input0'/>
- <address type='usb' bus='0' port='1'/>
- </input>
- <input type='mouse' bus='ps2'>
- <alias name='input1'/>
- </input>
- <input type='keyboard' bus='ps2'>
- <alias name='input2'/>
- </input>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <driver name='vfio'/>
- <source>
- <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
- </source>
- <alias name='hostdev0'/>
- <rom file='/mnt/user/isos/GP107.rom'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </hostdev>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <driver name='vfio'/>
- <source>
- <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
- </source>
- <alias name='hostdev1'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </hostdev>
- <memballoon model='none'/>
- </devices>
- <seclabel type='dynamic' model='dac' relabel='yes'>
- <label>+0:+100</label>
- <imagelabel>+0:+100</imagelabel>
- </seclabel>
- </domain>
Add Comment
Please, Sign In to add comment