Advertisement
Guest User

Untitled

a guest
May 24th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.64 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>win10</name>
  3.   <uuid>5ef5f170-cacb-4adb-84d7-78a3c16c9d38</uuid>
  4.   <title>Windows 10</title>
  5.   <memory unit='KiB'>16777216</memory>
  6.   <currentMemory unit='KiB'>16777216</currentMemory>
  7.   <memoryBacking>
  8.     <hugepages/>
  9.   </memoryBacking>
  10.   <vcpu placement='static'>4</vcpu>
  11.   <cputune>
  12.     <vcpupin vcpu='0' cpuset='2'/>
  13.     <vcpupin vcpu='1' cpuset='3'/>
  14.     <vcpupin vcpu='2' cpuset='6'/>
  15.     <vcpupin vcpu='3' cpuset='7'/>
  16.     <emulatorpin cpuset='0,4'/>
  17.   </cputune>
  18.   <os>
  19.     <type arch='x86_64' machine='pc-q35-2.6'>hvm</type>
  20.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  21.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  22.     <bootmenu enable='no'/>
  23.   </os>
  24.   <features>
  25.     <acpi/>
  26.     <apic/>
  27.     <hyperv>
  28.       <relaxed state='on'/>
  29.       <vapic state='on'/>
  30.       <spinlocks state='on' retries='8191'/>
  31.       <vendor_id state='on' value='blameNvidia0'/>
  32.     </hyperv>
  33.     <kvm>
  34.       <hidden state='on'/>
  35.     </kvm>
  36.   </features>
  37.   <cpu mode='host-passthrough'>
  38.     <topology sockets='1' cores='2' threads='2'/>
  39.   </cpu>
  40.   <clock offset='localtime'>
  41.     <timer name='rtc' tickpolicy='catchup'/>
  42.     <timer name='pit' tickpolicy='delay'/>
  43.     <timer name='hpet' present='no'/>
  44.     <timer name='hypervclock' present='yes'/>
  45.   </clock>
  46.   <on_poweroff>destroy</on_poweroff>
  47.   <on_reboot>restart</on_reboot>
  48.   <on_crash>restart</on_crash>
  49.   <pm>
  50.     <suspend-to-mem enabled='no'/>
  51.     <suspend-to-disk enabled='no'/>
  52.   </pm>
  53.   <devices>
  54.     <emulator>/usr/bin/kvm-spice</emulator>
  55.     <disk type='block' device='disk'>
  56.       <driver name='qemu' type='raw' cache='none' io='native'/>
  57.       <source dev='/dev/sdb1'/>
  58.       <target dev='vda' bus='virtio'/>
  59.       <boot order='1'/>
  60.       <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
  61.     </disk>
  62.     <disk type='block' device='disk'>
  63.       <driver name='qemu' type='raw' cache='none' io='native'/>
  64.       <source dev='/dev/sdb2'/>
  65.       <target dev='vdb' bus='virtio'/>
  66.       <address type='pci' domain='0x0000' bus='0x02' slot='0x08' function='0x0'/>
  67.     </disk>
  68.     <controller type='sata' index='0'>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  70.     </controller>
  71.     <controller type='pci' index='0' model='pcie-root'/>
  72.     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  73.       <model name='i82801b11-bridge'/>
  74.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  75.     </controller>
  76.     <controller type='pci' index='2' model='pci-bridge'>
  77.       <model name='pci-bridge'/>
  78.       <target chassisNr='2'/>
  79.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  80.     </controller>
  81.     <controller type='usb' index='0' model='nec-xhci'>
  82.       <address type='pci' domain='0x0000' bus='0x02' slot='0x07' function='0x0'/>
  83.     </controller>
  84.     <interface type='network'>
  85.       <mac address='52:54:00:93:a4:09'/>
  86.       <source network='default'/>
  87.       <model type='virtio'/>
  88.       <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  89.     </interface>
  90.     <input type='mouse' bus='ps2'/>
  91.     <input type='keyboard' bus='ps2'/>
  92.     <sound model='ich9'>
  93.       <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
  94.     </sound>
  95.     <hostdev mode='subsystem' type='usb' managed='yes'>
  96.       <source>
  97.         <vendor id='0x1a2c'/>
  98.         <product id='0x4f7a'/>
  99.       </source>
  100.       <address type='usb' bus='0' port='1'/>
  101.     </hostdev>
  102.     <hostdev mode='subsystem' type='usb' managed='yes'>
  103.       <source>
  104.         <vendor id='0x25a7'/>
  105.         <product id='0xfa61'/>
  106.       </source>
  107.       <address type='usb' bus='0' port='2'/>
  108.     </hostdev>
  109.     <hostdev mode='subsystem' type='pci' managed='yes'>
  110.       <source>
  111.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  112.       </source>
  113.       <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
  114.     </hostdev>
  115.     <hostdev mode='subsystem' type='pci' managed='yes'>
  116.       <source>
  117.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  118.       </source>
  119.       <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
  120.     </hostdev>
  121.     <memballoon model='virtio'>
  122.       <address type='pci' domain='0x0000' bus='0x02' slot='0x06' function='0x0'/>
  123.     </memballoon>
  124.   </devices>
  125.   <qemu:commandline>
  126.     <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  127.     <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  128.   </qemu:commandline>
  129. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement