Advertisement
spongeyperson

Win10 VM XML - 7.13.2017

Jul 13th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.87 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>WIN10</name>
  3.   <uuid>b8bace05-9634-4e9e-92e7-286e9076d271</uuid>
  4.   <memory unit='KiB'>6291456</memory>
  5.   <currentMemory unit='KiB'>4194304</currentMemory>
  6.   <vcpu placement='static'>4</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-q35-2.8'>hvm</type>
  9.     <loader readonly='yes' type='rom'>/usr/share/ovmf/x64/ovmf_x64.bin</loader>
  10.     <boot dev='hd'/>
  11.   </os>
  12.   <features>
  13.     <acpi/>
  14.     <apic/>
  15.     <kvm>
  16.       <hidden state='on'/>
  17.     </kvm>
  18.     <vmport state='off'/>
  19.   </features>
  20.   <cpu mode='custom' match='exact' check='partial'>
  21.     <model fallback='allow'>Haswell-noTSX</model>
  22.     <topology sockets='1' cores='4' threads='1'/>
  23.   </cpu>
  24.   <clock offset='localtime'>
  25.     <timer name='rtc' tickpolicy='catchup'/>
  26.     <timer name='pit' tickpolicy='delay'/>
  27.     <timer name='hpet' present='no'/>
  28.   </clock>
  29.   <on_poweroff>destroy</on_poweroff>
  30.   <on_reboot>restart</on_reboot>
  31.   <on_crash>destroy</on_crash>
  32.   <pm>
  33.     <suspend-to-mem enabled='no'/>
  34.     <suspend-to-disk enabled='no'/>
  35.   </pm>
  36.   <devices>
  37.     <emulator>/usr/sbin/qemu-system-x86_64</emulator>
  38.     <disk type='file' device='disk'>
  39.       <driver name='qemu' type='qcow2'/>
  40.       <source file='/mnt/Data/Virtual Machines/Windows 10 GPU Passthrough VM - QEMU/WIN10_DISK.qcow2'/>
  41.       <target dev='sda' bus='sata'/>
  42.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  43.     </disk>
  44.     <disk type='file' device='cdrom'>
  45.       <driver name='qemu' type='raw'/>
  46.       <source file='/home/tyler/Downloads/Windows 10.iso'/>
  47.       <target dev='sdb' bus='sata'/>
  48.       <readonly/>
  49.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  50.     </disk>
  51.     <controller type='usb' index='0' model='ich9-ehci1'>
  52.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
  53.     </controller>
  54.     <controller type='usb' index='0' model='ich9-uhci1'>
  55.       <master startport='0'/>
  56.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
  57.     </controller>
  58.     <controller type='usb' index='0' model='ich9-uhci2'>
  59.       <master startport='2'/>
  60.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
  61.     </controller>
  62.     <controller type='usb' index='0' model='ich9-uhci3'>
  63.       <master startport='4'/>
  64.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
  65.     </controller>
  66.     <controller type='sata' index='0'>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  68.     </controller>
  69.     <controller type='pci' index='0' model='pcie-root'/>
  70.     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  71.       <model name='i82801b11-bridge'/>
  72.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  73.     </controller>
  74.     <controller type='pci' index='2' model='pci-bridge'>
  75.       <model name='pci-bridge'/>
  76.       <target chassisNr='2'/>
  77.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  78.     </controller>
  79.     <controller type='pci' index='3' model='pcie-root-port'>
  80.       <model name='ioh3420'/>
  81.       <target chassis='3' port='0x10'/>
  82.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  83.     </controller>
  84.     <controller type='pci' index='4' model='pcie-root-port'>
  85.       <model name='ioh3420'/>
  86.       <target chassis='4' port='0x11'/>
  87.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  88.     </controller>
  89.     <controller type='pci' index='5' model='pcie-root-port'>
  90.       <model name='ioh3420'/>
  91.       <target chassis='5' port='0x12'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  93.     </controller>
  94.     <controller type='pci' index='6' model='pcie-root-port'>
  95.       <model name='ioh3420'/>
  96.       <target chassis='6' port='0x13'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  98.     </controller>
  99.     <controller type='virtio-serial' index='0'>
  100.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  101.     </controller>
  102.     <interface type='network'>
  103.       <mac address='52:54:00:bd:92:46'/>
  104.       <source network='default'/>
  105.       <model type='rtl8139'/>
  106.       <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  107.     </interface>
  108.     <input type='mouse' bus='ps2'/>
  109.     <input type='keyboard' bus='ps2'/>
  110.     <sound model='ich6'>
  111.       <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
  112.     </sound>
  113.     <hostdev mode='subsystem' type='pci' managed='yes'>
  114.       <source>
  115.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  116.       </source>
  117.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  118.     </hostdev>
  119.     <hostdev mode='subsystem' type='pci' managed='yes'>
  120.       <source>
  121.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  122.       </source>
  123.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  124.     </hostdev>
  125.     <hostdev mode='subsystem' type='usb' managed='yes'>
  126.       <source>
  127.         <vendor id='0x0461'/>
  128.         <product id='0x4d0f'/>
  129.       </source>
  130.       <address type='usb' bus='0' port='1'/>
  131.     </hostdev>
  132.     <hostdev mode='subsystem' type='usb' managed='yes'>
  133.       <source>
  134.         <vendor id='0x0461'/>
  135.         <product id='0x0010'/>
  136.       </source>
  137.       <address type='usb' bus='0' port='2'/>
  138.     </hostdev>
  139.     <memballoon model='virtio'>
  140.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  141.     </memballoon>
  142.   </devices>
  143.   <qemu:commandline>
  144.     <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  145.     <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  146.   </qemu:commandline>
  147. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement