Advertisement
Guest User

Untitled

a guest
May 16th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.71 KB | None | 0 0
  1. <domain type='kvm' id='7'>
  2.   <name>win10</name>
  3.   <uuid>6279d912-efcb-4aef-8309-bf8ff1555b9b</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'>8388608</memory>
  10.   <currentMemory unit='KiB'>8388608</currentMemory>
  11.   <vcpu placement='static'>4</vcpu>
  12.   <resource>
  13.     <partition>/machine</partition>
  14.   </resource>
  15.   <os>
  16.     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
  17.     <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  18.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  19.     <bootmenu enable='yes'/>
  20.   </os>
  21.   <features>
  22.     <acpi/>
  23.     <apic/>
  24.     <hyperv>
  25.       <relaxed state='on'/>
  26.       <vapic state='on'/>
  27.       <spinlocks state='on' retries='8191'/>
  28.     </hyperv>
  29.     <vmport state='off'/>
  30.   </features>
  31.   <cpu mode='host-passthrough' check='partial'/>
  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='block' device='disk'>
  48.       <driver name='qemu' type='raw' cache='none' io='native'/>
  49.       <source dev='/dev/vg0/win10'/>
  50.       <backingStore/>
  51.       <target dev='vda' bus='virtio'/>
  52.       <boot order='1'/>
  53.       <alias name='virtio-disk0'/>
  54.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  55.     </disk>
  56.     <disk type='file' device='cdrom'>
  57.       <driver name='qemu' type='raw'/>
  58.       <source file='/var/lib/libvirt/images/Win10_1809Oct_v2_English_x64.iso'/>
  59.       <backingStore/>
  60.       <target dev='sdb' bus='sata'/>
  61.       <readonly/>
  62.       <boot order='2'/>
  63.       <alias name='sata0-0-1'/>
  64.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  65.     </disk>
  66.     <disk type='file' device='cdrom'>
  67.       <driver name='qemu' type='raw'/>
  68.       <source file='/var/lib/libvirt/images/virtio-win.iso'/>
  69.       <backingStore/>
  70.       <target dev='sdc' bus='sata'/>
  71.       <readonly/>
  72.       <boot order='3'/>
  73.       <alias name='sata0-0-2'/>
  74.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  75.    </disk>
  76.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  77.       <alias name='usb'/>
  78.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  79.     </controller>
  80.     <controller type='scsi' index='0' model='virtio-scsi'>
  81.       <alias name='scsi0'/>
  82.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  83.     </controller>
  84.     <controller type='sata' index='0'>
  85.       <alias name='ide'/>
  86.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  87.     </controller>
  88.     <controller type='pci' index='0' model='pcie-root'>
  89.       <alias name='pcie.0'/>
  90.     </controller>
  91.     <controller type='pci' index='1' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='1' port='0x10'/>
  94.       <alias name='pci.1'/>
  95.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/
  96. >
  97.     </controller>
  98.     <controller type='pci' index='2' model='pcie-root-port'>
  99.       <model name='pcie-root-port'/>
  100.       <target chassis='2' port='0x11'/>
  101.       <alias name='pci.2'/>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  103.     </controller>
  104.     <controller type='pci' index='3' model='pcie-root-port'>
  105.       <model name='pcie-root-port'/>
  106.       <target chassis='3' port='0x12'/>
  107.       <alias name='pci.3'/>
  108.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  109.     </controller>
  110.     <controller type='pci' index='4' model='pcie-root-port'>
  111.       <model name='pcie-root-port'/>
  112.       <target chassis='4' port='0x13'/>
  113.       <alias name='pci.4'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  115.     </controller>
  116.     <controller type='pci' index='5' model='pcie-root-port'>
  117.       <model name='pcie-root-port'/>
  118.       <target chassis='5' port='0x14'/>
  119.       <alias name='pci.5'/>
  120.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  121.     </controller>
  122.     <controller type='pci' index='6' model='pcie-root-port'>
  123.       <model name='pcie-root-port'/>
  124.       <target chassis='6' port='0x15'/>
  125.       <alias name='pci.6'/>
  126.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  127.     </controller>
  128.     <controller type='pci' index='7' model='pcie-root-port'>
  129.       <model name='pcie-root-port'/>
  130.       <target chassis='7' port='0x16'/>
  131.       <alias name='pci.7'/>
  132.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  133.     </controller>
  134.     <controller type='pci' index='8' model='pcie-root-port'>
  135.       <model name='pcie-root-port'/>
  136.       <target chassis='8' port='0x8'/>
  137.       <alias name='pci.8'/>
  138.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  139.     </controller>
  140.     <interface type='network'>
  141.       <mac address='52:54:00:59:5d:9c'/>
  142.       <source network='default' bridge='virbr0'/>
  143.       <target dev='vnet0'/>
  144.       <model type='virtio'/>
  145.       <alias name='net0'/>
  146.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  147.     </interface>
  148.     <serial type='pty'>
  149.       <source path='/dev/pts/1'/>
  150.       <target type='isa-serial' port='0'>
  151.         <model name='isa-serial'/>
  152.       </target>
  153.       <alias name='serial0'/>
  154.     </serial>
  155.     <console type='pty' tty='/dev/pts/1'>
  156.       <source path='/dev/pts/1'/>
  157.       <target type='serial' port='0'/>
  158.       <alias name='serial0'/>
  159.     </console>
  160.     <input type='tablet' bus='usb'>
  161.       <alias name='input0'/>
  162.       <address type='usb' bus='0' port='1'/>
  163.     </input>
  164.     <input type='mouse' bus='ps2'>
  165.       <alias name='input1'/>
  166.     </input>
  167.     <input type='keyboard' bus='ps2'>
  168.       <alias name='input2'/>
  169.     </input>
  170.     <sound model='ich9'>
  171.       <alias name='sound0'/>
  172.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  173.     </sound>
  174.     <hostdev mode='subsystem' type='pci' managed='yes'>
  175.       <driver name='vfio'/>
  176.       <source>
  177.         <address domain='0x0000' bus='0x25' slot='0x00' function='0x0'/>
  178.       </source>
  179.       <alias name='hostdev0'/>
  180.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  181.     </hostdev>
  182.     <hostdev mode='subsystem' type='pci' managed='yes'>
  183.       <driver name='vfio'/>
  184.       <source>
  185.         <address domain='0x0000' bus='0x25' slot='0x00' function='0x1'/>
  186.       </source>
  187.       <alias name='hostdev1'/>
  188.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  189.     </hostdev>
  190.     <hostdev mode='subsystem' type='pci' managed='yes'>
  191.       <driver name='vfio'/>
  192.       <source>
  193.         <address domain='0x0000' bus='0x26' slot='0x00' function='0x3'/>
  194.       </source>
  195.       <alias name='hostdev2'/>
  196.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  197.     </hostdev>
  198.     <memballoon model='virtio'>
  199.       <alias name='balloon0'/>
  200.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  201.     </memballoon>
  202.   </devices>
  203.   <seclabel type='dynamic' model='dac' relabel='yes'>
  204.     <label>+65534:+992</label>
  205.     <imagelabel>+65534:+992</imagelabel>
  206.   </seclabel>
  207. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement