Guest User

VIRTUAL Win10 qemu/kvm

a guest
Sep 15th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.65 KB | None | 0 0
  1. <domain type='kvm' id='2'>
  2.   <name>WIN10_VM</name>
  3.   <uuid>2cf8fdcb-d978-4ae8-a5d8-f00efbbfc5de</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' current='4'>16</vcpu>
  12.   <resource>
  13.     <partition>/machine</partition>
  14.   </resource>
  15.   <os>
  16.     <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
  17.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  18.     <nvram>/var/lib/libvirt/qemu/nvram/WIN10_VM_VARS.fd</nvram>
  19.   </os>
  20.   <features>
  21.     <acpi/>
  22.     <apic/>
  23.     <hyperv>
  24.       <relaxed state='on'/>
  25.       <vapic state='on'/>
  26.       <spinlocks state='on' retries='8191'/>
  27.     </hyperv>
  28.     <vmport state='off'/>
  29.   </features>
  30.   <cpu mode='host-passthrough' check='partial'>
  31.     <topology sockets='1' cores='4' threads='4'/>
  32.   </cpu>
  33.   <clock offset='localtime'>
  34.     <timer name='rtc' tickpolicy='catchup'/>
  35.     <timer name='pit' tickpolicy='delay'/>
  36.     <timer name='hpet' present='no'/>
  37.     <timer name='hypervclock' present='yes'/>
  38.   </clock>
  39.   <on_poweroff>destroy</on_poweroff>
  40.   <on_reboot>restart</on_reboot>
  41.   <on_crash>destroy</on_crash>
  42.   <pm>
  43.     <suspend-to-mem enabled='no'/>
  44.     <suspend-to-disk enabled='no'/>
  45.   </pm>
  46.   <devices>
  47.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  48.     <disk type='file' device='disk'>
  49.       <driver name='qemu' type='qcow2' cache='writeback' io='threads' discard='unmap' detect_zeroes='unmap'/>
  50.       <source file='/MY-VM/ANON-LOR-w10-vm/ANON-LOR_w10_vm_root.qcow2' index='2'/>
  51.       <backingStore/>
  52.       <target dev='vdb' bus='virtio'/>
  53.       <boot order='1'/>
  54.       <alias name='virtio-disk1'/>
  55.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  56.     </disk>
  57.     <disk type='file' device='disk'>
  58.       <driver name='qemu' type='qcow2' cache='writeback' io='threads' discard='unmap' detect_zeroes='off'/>
  59.       <source file='/home/VM-HDD-cache/ANON-LOR_w10_vm_web-cache.qcow2' index='1'/>
  60.       <backingStore/>
  61.       <target dev='vdc' bus='virtio'/>
  62.       <alias name='virtio-disk2'/>
  63.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  64.     </disk>
  65.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  66.       <alias name='usb'/>
  67.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  68.     </controller>
  69.     <controller type='sata' index='0'>
  70.       <alias name='ide'/>
  71.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  72.     </controller>
  73.     <controller type='pci' index='0' model='pcie-root'>
  74.       <alias name='pcie.0'/>
  75.     </controller>
  76.     <controller type='pci' index='1' model='pcie-root-port'>
  77.       <model name='pcie-root-port'/>
  78.       <target chassis='1' port='0x10'/>
  79.       <alias name='pci.1'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  81.     </controller>
  82.     <controller type='pci' index='2' model='pcie-root-port'>
  83.       <model name='pcie-root-port'/>
  84.       <target chassis='2' port='0x11'/>
  85.       <alias name='pci.2'/>
  86.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  87.     </controller>
  88.     <controller type='pci' index='3' model='pcie-root-port'>
  89.       <model name='pcie-root-port'/>
  90.       <target chassis='3' port='0x12'/>
  91.       <alias name='pci.3'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  93.     </controller>
  94.     <controller type='pci' index='4' model='pcie-root-port'>
  95.       <model name='pcie-root-port'/>
  96.       <target chassis='4' port='0x13'/>
  97.       <alias name='pci.4'/>
  98.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  99.     </controller>
  100.     <controller type='pci' index='5' model='pcie-root-port'>
  101.       <model name='pcie-root-port'/>
  102.       <target chassis='5' port='0x14'/>
  103.       <alias name='pci.5'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  105.     </controller>
  106.     <controller type='pci' index='6' model='pcie-root-port'>
  107.       <model name='pcie-root-port'/>
  108.       <target chassis='6' port='0x15'/>
  109.       <alias name='pci.6'/>
  110.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  111.     </controller>
  112.     <controller type='pci' index='7' model='pcie-root-port'>
  113.       <model name='pcie-root-port'/>
  114.       <target chassis='7' port='0x16'/>
  115.       <alias name='pci.7'/>
  116.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  117.     </controller>
  118.     <controller type='virtio-serial' index='0'>
  119.       <alias name='virtio-serial0'/>
  120.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  121.     </controller>
  122.     <interface type='bridge'>
  123.       <mac address='52:54:00:44:90:99'/>
  124.       <source network='host-bridge' portid='1159bc96-6149-4302-aa59-477df2a751d6' bridge='br0'/>
  125.       <target dev='vnet0'/>
  126.       <model type='virtio'/>
  127.       <alias name='net0'/>
  128.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  129.     </interface>
  130.     <serial type='pty'>
  131.       <source path='/dev/pts/0'/>
  132.       <target type='isa-serial' port='0'>
  133.         <model name='isa-serial'/>
  134.       </target>
  135.       <alias name='serial0'/>
  136.     </serial>
  137.     <console type='pty' tty='/dev/pts/0'>
  138.       <source path='/dev/pts/0'/>
  139.       <target type='serial' port='0'/>
  140.       <alias name='serial0'/>
  141.     </console>
  142.     <channel type='spicevmc'>
  143.       <target type='virtio' name='com.redhat.spice.0' state='connected'/>
  144.       <alias name='channel0'/>
  145.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  146.     </channel>
  147.     <input type='mouse' bus='ps2'>
  148.       <alias name='input0'/>
  149.     </input>
  150.     <input type='keyboard' bus='ps2'>
  151.       <alias name='input1'/>
  152.     </input>
  153.     <input type='tablet' bus='virtio'>
  154.       <alias name='input2'/>
  155.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  156.     </input>
  157.     <input type='mouse' bus='usb'>
  158.       <alias name='input3'/>
  159.       <address type='usb' bus='0' port='3'/>
  160.     </input>
  161.     <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1' keymap=''>
  162.       <listen type='address' address='127.0.0.1'/>
  163.       <image compression='off'/>
  164.     </graphics>
  165.     <sound model='ich9'>
  166.       <alias name='sound0'/>
  167.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  168.     </sound>
  169.     <video>
  170.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  171.       <alias name='video0'/>
  172.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  173.     </video>
  174.     <redirdev bus='usb' type='spicevmc'>
  175.       <alias name='redir0'/>
  176.       <address type='usb' bus='0' port='1'/>
  177.     </redirdev>
  178.     <redirdev bus='usb' type='spicevmc'>
  179.       <alias name='redir1'/>
  180.       <address type='usb' bus='0' port='2'/>
  181.     </redirdev>
  182.     <memballoon model='virtio'>
  183.       <stats period='5'/>
  184.       <alias name='balloon0'/>
  185.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  186.     </memballoon>
  187.   </devices>
  188.   <seclabel type='dynamic' model='apparmor' relabel='yes'>
  189.     <label>libvirt-2cf8fdcb-d978-4ae8-a5d8-f00efbbfc5de</label>
  190.     <imagelabel>libvirt-2cf8fdcb-d978-4ae8-a5d8-f00efbbfc5de</imagelabel>
  191.   </seclabel>
  192.   <seclabel type='dynamic' model='dac' relabel='yes'>
  193.     <label>+64055:+108</label>
  194.     <imagelabel>+64055:+108</imagelabel>
  195.   </seclabel>
  196. </domain>
  197.  
Add Comment
Please, Sign In to add comment