Advertisement
Guest User

Windows10.xml

a guest
Jan 28th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.12 KB | None | 0 0
  1. <domain type='kvm'>
  2.   <name>Windows10</name>
  3.   <uuid>e735de85-e17a-4c22-a086-fc7df3dff543</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/10"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit='KiB'>12582912</memory>
  10.   <currentMemory unit='KiB'>12582912</currentMemory>
  11.   <vcpu placement='static'>6</vcpu>
  12.   <cputune>
  13.     <vcpupin vcpu='0' cpuset='1'/>
  14.     <vcpupin vcpu='1' cpuset='5'/>
  15.     <vcpupin vcpu='2' cpuset='2'/>
  16.     <vcpupin vcpu='3' cpuset='6'/>
  17.     <vcpupin vcpu='4' cpuset='3'/>
  18.     <vcpupin vcpu='5' cpuset='7'/>
  19.   </cputune>
  20.   <os>
  21.     <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  22.     <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  23.     <nvram>/var/lib/libvirt/qemu/nvram/Windows10_VARS.fd</nvram>
  24.   </os>
  25.   <features>
  26.     <acpi/>
  27.     <apic/>
  28.     <hyperv>
  29.       <relaxed state='on'/>
  30.       <vapic state='on'/>
  31.       <spinlocks state='on' retries='8191'/>
  32.       <vendor_id state='on' value='123456789ab'/>
  33.     </hyperv>
  34.     <kvm>
  35.       <hidden state='on'/>
  36.     </kvm>
  37.     <vmport state='off'/>
  38.   </features>
  39.   <cpu mode='host-passthrough' check='none'>
  40.     <topology sockets='1' cores='3' threads='2'/>
  41.   </cpu>
  42.   <clock offset='localtime'>
  43.     <timer name='rtc' tickpolicy='catchup'/>
  44.     <timer name='pit' tickpolicy='delay'/>
  45.     <timer name='hpet' present='no'/>
  46.     <timer name='hypervclock' present='yes'/>
  47.   </clock>
  48.   <on_poweroff>destroy</on_poweroff>
  49.   <on_reboot>restart</on_reboot>
  50.   <on_crash>destroy</on_crash>
  51.   <pm>
  52.     <suspend-to-mem enabled='no'/>
  53.     <suspend-to-disk enabled='no'/>
  54.   </pm>
  55.   <devices>
  56.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  57.     <disk type='file' device='disk'>
  58.       <driver name='qemu' type='qcow2' cache='writeback'/>
  59.       <source file='/var/lib/libvirt/images/Windows10.qcow2'/>
  60.       <target dev='sda' bus='scsi'/>
  61.       <boot order='2'/>
  62.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  63.     </disk>
  64.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  65.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  66.     </controller>
  67.     <controller type='scsi' index='0' model='virtio-scsi'>
  68.       <driver queues='6'/>
  69.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  70.     </controller>
  71.     <controller type='pci' index='0' model='pcie-root'/>
  72.     <controller type='pci' index='1' model='pcie-root-port'>
  73.       <model name='pcie-root-port'/>
  74.       <target chassis='1' port='0x10'/>
  75.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  76.     </controller>
  77.     <controller type='pci' index='2' model='pcie-root-port'>
  78.       <model name='pcie-root-port'/>
  79.       <target chassis='2' port='0x11'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  81.     </controller>
  82.     <controller type='pci' index='3' model='pcie-root-port'>
  83.       <model name='pcie-root-port'/>
  84.       <target chassis='3' port='0x12'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  86.     </controller>
  87.     <controller type='pci' index='4' model='pcie-root-port'>
  88.       <model name='pcie-root-port'/>
  89.       <target chassis='4' port='0x13'/>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  91.     </controller>
  92.     <controller type='pci' index='5' model='pcie-root-port'>
  93.       <model name='pcie-root-port'/>
  94.       <target chassis='5' port='0x14'/>
  95.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  96.     </controller>
  97.     <controller type='pci' index='6' model='pcie-root-port'>
  98.       <model name='pcie-root-port'/>
  99.       <target chassis='6' port='0x8'/>
  100.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  101.     </controller>
  102.     <controller type='pci' index='7' model='pcie-root-port'>
  103.       <model name='pcie-root-port'/>
  104.       <target chassis='7' port='0x9'/>
  105.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  106.     </controller>
  107.     <controller type='pci' index='8' model='pcie-to-pci-bridge'>
  108.       <model name='pcie-pci-bridge'/>
  109.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  110.     </controller>
  111.     <controller type='sata' index='0'>
  112.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  113.     </controller>
  114.     <interface type='direct'>
  115.       <mac address='52:54:00:c3:28:ab'/>
  116.       <source dev='enp3s0' mode='bridge'/>
  117.       <model type='virtio'/>
  118.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  119.     </interface>
  120.     <input type='mouse' bus='ps2'/>
  121.     <input type='keyboard' bus='ps2'/>
  122.     <sound model='ich9'>
  123.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  124.     </sound>
  125.     <hostdev mode='subsystem' type='pci' managed='yes'>
  126.       <source>
  127.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  128.       </source>
  129.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  130.     </hostdev>
  131.     <hostdev mode='subsystem' type='pci' managed='yes'>
  132.       <source>
  133.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  134.       </source>
  135.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  136.     </hostdev>
  137.     <hostdev mode='subsystem' type='pci' managed='yes'>
  138.       <source>
  139.         <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  140.       </source>
  141.       <address type='pci' domain='0x0000' bus='0x08' slot='0x01' function='0x0'/>
  142.     </hostdev>
  143.     <hostdev mode='subsystem' type='usb' managed='yes'>
  144.       <source>
  145.         <vendor id='0x046d'/>
  146.         <product id='0xc52b'/>
  147.         <address bus='2' device='5'/>
  148.       </source>
  149.       <address type='usb' bus='0' port='1'/>
  150.     </hostdev>
  151.     <memballoon model='virtio'>
  152.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  153.     </memballoon>
  154.   </devices>
  155. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement