Advertisement
Guest User

Untitled

a guest
Mar 1st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.48 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>win10</name>
  3.   <uuid>8612e3cd-961b-4887-aafe-e765ba518211</uuid>
  4.   <memory unit='KiB'>20480000</memory>
  5.   <currentMemory unit='KiB'>20480000</currentMemory>
  6.   <vcpu placement='static'>8</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
  9.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  10.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  11.     <boot dev='hd'/>
  12.   </os>
  13.   <features>
  14.     <acpi/>
  15.     <apic/>
  16.     <hyperv>
  17.       <relaxed state='on'/>
  18.       <vapic state='on'/>
  19.       <spinlocks state='on' retries='8191'/>
  20.     </hyperv>
  21.     <vmport state='off'/>
  22.   </features>
  23.   <cpu mode='host-model' check='partial'>
  24.     <model fallback='allow'/>
  25.     <topology sockets='1' cores='4' threads='2'/>
  26.   </cpu>
  27.   <clock offset='localtime'>
  28.     <timer name='rtc' tickpolicy='catchup'/>
  29.     <timer name='pit' tickpolicy='delay'/>
  30.     <timer name='hpet' present='no'/>
  31.     <timer name='hypervclock' present='yes'/>
  32.   </clock>
  33.   <on_poweroff>destroy</on_poweroff>
  34.   <on_reboot>restart</on_reboot>
  35.   <on_crash>destroy</on_crash>
  36.   <pm>
  37.     <suspend-to-mem enabled='no'/>
  38.     <suspend-to-disk enabled='no'/>
  39.   </pm>
  40.   <devices>
  41.     <emulator>/usr/bin/kvm-spice</emulator>
  42.     <disk type='file' device='cdrom'>
  43.       <driver name='qemu' type='raw'/>
  44.       <source file='/home/prod/Downloads/virtio-win-0.1.160.iso'/>
  45.       <target dev='sda' bus='sata'/>
  46.       <readonly/>
  47.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  48.     </disk>
  49.     <disk type='block' device='disk'>
  50.       <driver name='qemu' type='raw' cache='none' io='native'/>
  51.       <source dev='/dev/SSD/Win10-prod'/>
  52.       <target dev='vda' bus='virtio'/>
  53.       <shareable/>
  54.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  55.     </disk>
  56.     <disk type='block' device='disk'>
  57.       <driver name='qemu' type='raw' cache='writeback' io='threads'/>
  58.       <source dev='/dev/NVME/SC-base'/>
  59.       <target dev='vdd' bus='virtio'/>
  60.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  61.     </disk>
  62.     <disk type='block' device='disk'>
  63.       <driver name='qemu' type='raw' cache='none' io='native'/>
  64.       <source dev='/dev/NVME/Games'/>
  65.       <target dev='vde' bus='virtio'/>
  66.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
  67.     </disk>
  68.     <controller type='pci' index='0' model='pci-root'/>
  69.     <controller type='virtio-serial' index='0'>
  70.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  71.     </controller>
  72.     <controller type='usb' index='0' model='ich9-ehci1'>
  73.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x7'/>
  74.     </controller>
  75.     <controller type='usb' index='0' model='ich9-uhci1'>
  76.       <master startport='0'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
  78.     </controller>
  79.     <controller type='usb' index='0' model='ich9-uhci2'>
  80.       <master startport='2'/>
  81.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
  82.     </controller>
  83.     <controller type='usb' index='0' model='ich9-uhci3'>
  84.       <master startport='4'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>
  86.     </controller>
  87.     <controller type='sata' index='0'>
  88.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  89.     </controller>
  90.     <interface type='bridge'>
  91.       <mac address='52:54:00:4e:9d:da'/>
  92.       <source bridge='br0'/>
  93.       <model type='virtio'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  95.     </interface>
  96.     <serial type='pty'>
  97.       <target type='isa-serial' port='0'>
  98.         <model name='isa-serial'/>
  99.       </target>
  100.     </serial>
  101.     <console type='pty'>
  102.       <target type='serial' port='0'/>
  103.     </console>
  104.     <input type='mouse' bus='ps2'/>
  105.     <input type='keyboard' bus='ps2'/>
  106.     <input type='keyboard' bus='virtio'>
  107.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
  108.     </input>
  109.     <input type='tablet' bus='usb'>
  110.       <address type='usb' bus='0' port='5'/>
  111.     </input>
  112.     <graphics type='spice' autoport='yes' keymap='en-gb'>
  113.       <listen type='address'/>
  114.       <gl enable='no' rendernode='/dev/dri/by-path/pci-0000:00:02.0-render'/>
  115.     </graphics>
  116.     <sound model='ich6'>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  118.     </sound>
  119.     <video>
  120.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  121.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  122.     </video>
  123.     <hostdev mode='subsystem' type='pci' managed='yes'>
  124.       <source>
  125.         <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  126.       </source>
  127.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
  128.     </hostdev>
  129.     <hostdev mode='subsystem' type='pci' managed='yes'>
  130.       <source>
  131.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  132.       </source>
  133.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
  134.     </hostdev>
  135.     <hostdev mode='subsystem' type='pci' managed='yes'>
  136.       <source>
  137.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  138.       </source>
  139.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
  140.     </hostdev>
  141.     <hostdev mode='subsystem' type='usb' managed='yes'>
  142.       <source>
  143.         <vendor id='0x28de'/>
  144.         <product id='0x1142'/>
  145.       </source>
  146.       <address type='usb' bus='0' port='6'/>
  147.     </hostdev>
  148.     <redirdev bus='usb' type='spicevmc'>
  149.       <address type='usb' bus='0' port='2'/>
  150.     </redirdev>
  151.     <redirdev bus='usb' type='spicevmc'>
  152.       <address type='usb' bus='0' port='3'/>
  153.     </redirdev>
  154.     <redirdev bus='usb' type='spicevmc'>
  155.       <address type='usb' bus='0' port='1'/>
  156.     </redirdev>
  157.     <redirdev bus='usb' type='spicevmc'>
  158.       <address type='usb' bus='0' port='4'/>
  159.     </redirdev>
  160.     <memballoon model='virtio'>
  161.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
  162.     </memballoon>
  163.   </devices>
  164.   <qemu:commandline>
  165.     <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  166.     <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  167.   </qemu:commandline>
  168. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement