Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.24 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>wangblows8</name>
  3.   <uuid>6fe0a37d-de09-4e66-b161-edde38c9f97a</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'>16</vcpu>
  12.   <os>
  13.     <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  14.     <loader readonly='yes' type='pflash'>/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/wangblows8_VARS.fd</nvram>
  16.     <bootmenu enable='yes'/>
  17.   </os>
  18.   <features>
  19.     <acpi/>
  20.     <apic/>
  21.     <hyperv>
  22.       <relaxed state='on'/>
  23.       <vapic state='on'/>
  24.       <spinlocks state='on' retries='8191'/>
  25.     </hyperv>
  26.     <vmport state='off'/>
  27.   </features>
  28.   <cpu mode='host-passthrough' check='none'>
  29.     <topology sockets='1' cores='8' threads='2'/>
  30.     <feature policy='require' name='topoext'/>
  31.   </cpu>
  32.   <clock offset='localtime'>
  33.     <timer name='rtc' tickpolicy='catchup'/>
  34.     <timer name='pit' tickpolicy='delay'/>
  35.     <timer name='hpet' present='no'/>
  36.     <timer name='hypervclock' present='yes'/>
  37.   </clock>
  38.   <on_poweroff>destroy</on_poweroff>
  39.   <on_reboot>restart</on_reboot>
  40.   <on_crash>destroy</on_crash>
  41.   <pm>
  42.     <suspend-to-mem enabled='no'/>
  43.     <suspend-to-disk enabled='no'/>
  44.   </pm>
  45.   <devices>
  46.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  47.     <disk type='file' device='cdrom'>
  48.       <driver name='qemu' type='raw'/>
  49.       <source file='/home/redditor/Downloads/Win10_1809Oct_English_x64.iso'/>
  50.       <target dev='sdb' bus='sata'/>
  51.       <readonly/>
  52.       <boot order='1'/>
  53.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  54.     </disk>
  55.     <disk type='block' device='disk'>
  56.       <driver name='qemu' type='raw' cache='none' io='threads'/>
  57.       <source dev='/dev/disk/by-id/wwn-0x50026b774b03638b'/>
  58.       <target dev='sdc' bus='sata'/>
  59.       <boot order='2'/>
  60.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  61.     </disk>
  62.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  63.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  64.     </controller>
  65.     <controller type='sata' index='0'>
  66.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  67.     </controller>
  68.     <controller type='pci' index='0' model='pcie-root'/>
  69.     <controller type='pci' index='1' model='pcie-root-port'>
  70.       <model name='pcie-root-port'/>
  71.       <target chassis='1' port='0x10'/>
  72.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  73.     </controller>
  74.     <controller type='pci' index='2' model='pcie-root-port'>
  75.       <model name='pcie-root-port'/>
  76.       <target chassis='2' port='0x11'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  78.     </controller>
  79.     <controller type='pci' index='3' model='pcie-root-port'>
  80.       <model name='pcie-root-port'/>
  81.       <target chassis='3' port='0x12'/>
  82.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  83.     </controller>
  84.     <controller type='pci' index='4' model='pcie-root-port'>
  85.       <model name='pcie-root-port'/>
  86.       <target chassis='4' port='0x13'/>
  87.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  88.     </controller>
  89.     <controller type='pci' index='5' model='pcie-root-port'>
  90.       <model name='pcie-root-port'/>
  91.       <target chassis='5' port='0x14'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  93.     </controller>
  94.     <controller type='pci' index='6' model='pcie-root-port'>
  95.       <model name='pcie-root-port'/>
  96.       <target chassis='6' port='0x15'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  98.     </controller>
  99.     <controller type='pci' index='7' model='pcie-root-port'>
  100.       <model name='pcie-root-port'/>
  101.       <target chassis='7' port='0x16'/>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  103.     </controller>
  104.     <controller type='pci' index='8' model='pcie-to-pci-bridge'>
  105.       <model name='pcie-pci-bridge'/>
  106.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  107.     </controller>
  108.     <interface type='direct'>
  109.       <mac address='52:54:00:0b:56:40'/>
  110.       <source dev='enp4s0' mode='bridge'/>
  111.       <model type='e1000e'/>
  112.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  113.     </interface>
  114.     <serial type='pty'>
  115.       <target type='isa-serial' port='0'>
  116.         <model name='isa-serial'/>
  117.       </target>
  118.     </serial>
  119.     <console type='pty'>
  120.       <target type='serial' port='0'/>
  121.     </console>
  122.     <input type='mouse' bus='virtio'>
  123.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
  124.     </input>
  125.     <input type='keyboard' bus='virtio'>
  126.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
  127.     </input>
  128.     <input type='mouse' bus='ps2'/>
  129.     <input type='keyboard' bus='ps2'/>
  130.     <graphics type='spice' autoport='yes'>
  131.       <listen type='address'/>
  132.       <image compression='off'/>
  133.     </graphics>
  134.     <sound model='ich6'>
  135.       <codec type='micro'/>
  136.       <address type='pci' domain='0x0000' bus='0x08' slot='0x01' function='0x0'/>
  137.     </sound>
  138.     <sound model='ich9'>
  139.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  140.     </sound>
  141.     <video>
  142.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  143.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  144.     </video>
  145.     <hostdev mode='subsystem' type='pci' managed='yes'>
  146.       <source>
  147.         <address domain='0x0000' bus='0x43' slot='0x00' function='0x0'/>
  148.       </source>
  149.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  150.     </hostdev>
  151.     <hostdev mode='subsystem' type='pci' managed='yes'>
  152.       <source>
  153.         <address domain='0x0000' bus='0x43' slot='0x00' function='0x1'/>
  154.       </source>
  155.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  156.     </hostdev>
  157.     <redirdev bus='usb' type='spicevmc'>
  158.       <address type='usb' bus='0' port='2'/>
  159.     </redirdev>
  160.     <redirdev bus='usb' type='spicevmc'>
  161.       <address type='usb' bus='0' port='3'/>
  162.     </redirdev>
  163.     <memballoon model='virtio'>
  164.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  165.     </memballoon>
  166.   </devices>
  167.   <qemu:commandline>
  168.     <qemu:arg value='-object'/>
  169.     <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-ratboygenius-event-mouse'/>
  170.     <qemu:arg value='-object'/>
  171.     <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-paranoidredditor9000,grab_all=on,repeat=on'/>
  172.     <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  173.     <qemu:env name='QEMU_PA_SAMPLES' value='8192'/>
  174.     <qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='99'/>
  175.     <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  176.   </qemu:commandline>
  177. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement