Advertisement
Guest User

Untitled

a guest
Sep 28th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.56 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='3'>
  3.   <name>Windows 10 Small</name>
  4.   <uuid>d124340f-f987-be54-d5c7-1879db78e768</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7.   </metadata>
  8.   <memory unit='KiB'>4194304</memory>
  9.   <currentMemory unit='KiB'>4194304</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>4</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='0'/>
  16.     <vcpupin vcpu='1' cpuset='4'/>
  17.     <vcpupin vcpu='2' cpuset='2'/>
  18.     <vcpupin vcpu='3' cpuset='6'/>
  19.   </cputune>
  20.   <resource>
  21.     <partition>/machine</partition>
  22.   </resource>
  23.   <os>
  24.     <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
  25.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  26.     <nvram>/etc/libvirt/qemu/nvram/d124340f-f987-be54-d5c7-1879db78e768_VARS-pure-efi.fd</nvram>
  27.   </os>
  28.   <features>
  29.     <acpi/>
  30.     <apic/>
  31.     <hyperv>
  32.       <relaxed state='on'/>
  33.       <vapic state='on'/>
  34.       <spinlocks state='on' retries='8191'/>
  35.       <vendor_id state='on' value='none'/>
  36.     </hyperv>
  37.   </features>
  38.   <cpu mode='host-passthrough' check='none'>
  39.     <topology sockets='1' cores='2' threads='2'/>
  40.     <cache mode='passthrough'/>
  41.   </cpu>
  42.   <clock offset='localtime'>
  43.     <timer name='hypervclock' present='yes'/>
  44.     <timer name='hpet' present='no'/>
  45.   </clock>
  46.   <on_poweroff>destroy</on_poweroff>
  47.   <on_reboot>restart</on_reboot>
  48.   <on_crash>restart</on_crash>
  49.   <devices>
  50.     <emulator>/usr/local/sbin/qemu</emulator>
  51.     <disk type='file' device='disk'>
  52.       <driver name='qemu' type='raw' cache='writeback'/>
  53.       <source file='/mnt/user/domains/Windows 10 Small/vdisk1.img' index='1'/>
  54.       <backingStore/>
  55.       <target dev='hdc' bus='virtio'/>
  56.       <boot order='1'/>
  57.       <alias name='virtio-disk2'/>
  58.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  59.     </disk>
  60.     <controller type='usb' index='0' model='ich9-ehci1'>
  61.       <alias name='usb'/>
  62.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  63.     </controller>
  64.     <controller type='usb' index='0' model='ich9-uhci1'>
  65.       <alias name='usb'/>
  66.       <master startport='0'/>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  68.     </controller>
  69.     <controller type='usb' index='0' model='ich9-uhci2'>
  70.       <alias name='usb'/>
  71.       <master startport='2'/>
  72.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  73.     </controller>
  74.     <controller type='usb' index='0' model='ich9-uhci3'>
  75.       <alias name='usb'/>
  76.       <master startport='4'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
  78.     </controller>
  79.     <controller type='pci' index='0' model='pci-root'>
  80.       <alias name='pci.0'/>
  81.     </controller>
  82.     <controller type='virtio-serial' index='0'>
  83.       <alias name='virtio-serial0'/>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  85.     </controller>
  86.     <interface type='bridge'>
  87.       <mac address='52:54:00:58:e1:db'/>
  88.       <source bridge='br0'/>
  89.       <target dev='vnet1'/>
  90.       <model type='virtio'/>
  91.       <alias name='net0'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  93.     </interface>
  94.     <serial type='pty'>
  95.       <source path='/dev/pts/1'/>
  96.       <target type='isa-serial' port='0'>
  97.         <model name='isa-serial'/>
  98.       </target>
  99.       <alias name='serial0'/>
  100.     </serial>
  101.     <console type='pty' tty='/dev/pts/1'>
  102.       <source path='/dev/pts/1'/>
  103.       <target type='serial' port='0'/>
  104.       <alias name='serial0'/>
  105.     </console>
  106.     <channel type='unix'>
  107.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-3-Windows 10 Small/org.qemu.guest_agent.0'/>
  108.       <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  109.       <alias name='channel0'/>
  110.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  111.     </channel>
  112.     <input type='tablet' bus='usb'>
  113.       <alias name='input0'/>
  114.       <address type='usb' bus='0' port='1'/>
  115.     </input>
  116.     <input type='mouse' bus='ps2'>
  117.       <alias name='input1'/>
  118.     </input>
  119.     <input type='keyboard' bus='ps2'>
  120.       <alias name='input2'/>
  121.     </input>
  122.     <hostdev mode='subsystem' type='pci' managed='yes'>
  123.       <driver name='vfio'/>
  124.       <source>
  125.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  126.       </source>
  127.       <alias name='hostdev0'/>
  128.       <rom file='/mnt/user/isos/ROM/GT730.rom'/>
  129.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  130.     </hostdev>
  131.     <hostdev mode='subsystem' type='pci' managed='yes'>
  132.       <driver name='vfio'/>
  133.       <source>
  134.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  135.       </source>
  136.       <alias name='hostdev1'/>
  137.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  138.     </hostdev>
  139.     <hostdev mode='subsystem' type='pci' managed='yes'>
  140.       <driver name='vfio'/>
  141.       <source>
  142.         <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  143.       </source>
  144.       <alias name='hostdev2'/>
  145.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  146.     </hostdev>
  147.     <memballoon model='none'/>
  148.   </devices>
  149.   <seclabel type='dynamic' model='dac' relabel='yes'>
  150.     <label>+0:+100</label>
  151.     <imagelabel>+0:+100</imagelabel>
  152.   </seclabel>
  153. </domain>
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement