Guest User

Untitled

a guest
May 8th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.94 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='1'>
  3.   <name>Windows 10</name>
  4.   <uuid>c8a5525f-7953-0719-c93c-f1f42eaf6f8b</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7.   </metadata>
  8.   <memory unit='KiB'>8388608</memory>
  9.   <currentMemory unit='KiB'>8388608</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>8</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='8'/>
  16.     <vcpupin vcpu='1' cpuset='20'/>
  17.     <vcpupin vcpu='2' cpuset='9'/>
  18.     <vcpupin vcpu='3' cpuset='21'/>
  19.     <vcpupin vcpu='4' cpuset='10'/>
  20.     <vcpupin vcpu='5' cpuset='22'/>
  21.     <vcpupin vcpu='6' cpuset='11'/>
  22.     <vcpupin vcpu='7' cpuset='23'/>
  23.   </cputune>
  24.   <resource>
  25.     <partition>/machine</partition>
  26.   </resource>
  27.   <os>
  28.     <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
  29.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  30.     <nvram>/etc/libvirt/qemu/nvram/c8a5525f-7953-0719-c93c-f1f42eaf6f8b_VARS-pure-efi.fd</nvram>
  31.   </os>
  32.   <features>
  33.     <acpi/>
  34.     <apic/>
  35.   </features>
  36.   <cpu mode='host-passthrough' check='none'>
  37.     <topology sockets='1' cores='4' threads='2'/>
  38.     <cache mode='passthrough'/>
  39.   </cpu>
  40.   <clock offset='localtime'>
  41.     <timer name='rtc' tickpolicy='catchup'/>
  42.     <timer name='pit' tickpolicy='delay'/>
  43.     <timer name='hpet' present='no'/>
  44.   </clock>
  45.   <on_poweroff>destroy</on_poweroff>
  46.   <on_reboot>restart</on_reboot>
  47.   <on_crash>restart</on_crash>
  48.   <devices>
  49.     <emulator>/usr/local/sbin/qemu</emulator>
  50.     <disk type='file' device='disk'>
  51.       <driver name='qemu' type='raw' cache='writeback'/>
  52.       <source file='/mnt/disks/WindowsVM/vdisk1.img' index='3'/>
  53.       <backingStore/>
  54.       <target dev='hdc' bus='virtio'/>
  55.       <boot order='1'/>
  56.       <alias name='virtio-disk2'/>
  57.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  58.     </disk>
  59.     <disk type='file' device='cdrom'>
  60.       <driver name='qemu' type='raw'/>
  61.       <source file='/mnt/user/isos/Windows.iso' index='2'/>
  62.       <backingStore/>
  63.       <target dev='hda' bus='sata'/>
  64.       <readonly/>
  65.       <boot order='2'/>
  66.       <alias name='sata0-0-0'/>
  67.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  68.     </disk>
  69.     <disk type='file' device='cdrom'>
  70.       <driver name='qemu' type='raw'/>
  71.       <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso' index='1'/>
  72.       <backingStore/>
  73.       <target dev='hdb' bus='sata'/>
  74.       <readonly/>
  75.       <alias name='sata0-0-1'/>
  76.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  77.     </disk>
  78.     <controller type='usb' index='0' model='ich9-ehci1'>
  79.       <alias name='usb'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  81.     </controller>
  82.     <controller type='usb' index='0' model='ich9-uhci1'>
  83.       <alias name='usb'/>
  84.       <master startport='0'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  86.     </controller>
  87.     <controller type='usb' index='0' model='ich9-uhci2'>
  88.       <alias name='usb'/>
  89.       <master startport='2'/>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  91.     </controller>
  92.     <controller type='usb' index='0' model='ich9-uhci3'>
  93.       <alias name='usb'/>
  94.       <master startport='4'/>
  95.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
  96.     </controller>
  97.     <controller type='pci' index='0' model='pci-root'>
  98.       <alias name='pci.0'/>
  99.     </controller>
  100.     <controller type='sata' index='0'>
  101.       <alias name='sata0'/>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  103.     </controller>
  104.     <controller type='virtio-serial' index='0'>
  105.       <alias name='virtio-serial0'/>
  106.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  107.     </controller>
  108.     <interface type='bridge'>
  109.       <mac address='52:54:00:43:de:1e'/>
  110.       <source bridge='br0'/>
  111.       <target dev='vnet0'/>
  112.       <model type='virtio'/>
  113.       <alias name='net0'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  115.     </interface>
  116.     <serial type='pty'>
  117.       <source path='/dev/pts/0'/>
  118.       <target type='isa-serial' port='0'>
  119.         <model name='isa-serial'/>
  120.       </target>
  121.       <alias name='serial0'/>
  122.     </serial>
  123.     <console type='pty' tty='/dev/pts/0'>
  124.       <source path='/dev/pts/0'/>
  125.       <target type='serial' port='0'/>
  126.       <alias name='serial0'/>
  127.     </console>
  128.     <channel type='unix'>
  129.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-1-Windows 10/org.qemu.guest_agent.0'/>
  130.       <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  131.       <alias name='channel0'/>
  132.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  133.     </channel>
  134.     <input type='tablet' bus='usb'>
  135.       <alias name='input0'/>
  136.       <address type='usb' bus='0' port='1'/>
  137.     </input>
  138.     <input type='mouse' bus='ps2'>
  139.       <alias name='input1'/>
  140.     </input>
  141.     <input type='keyboard' bus='ps2'>
  142.       <alias name='input2'/>
  143.     </input>
  144.     <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
  145.       <listen type='address' address='0.0.0.0'/>
  146.     </graphics>
  147.     <video>
  148.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  149.       <alias name='video0'/>
  150.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  151.     </video>
  152.     <memballoon model='virtio'>
  153.       <alias name='balloon0'/>
  154.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  155.     </memballoon>
  156.   </devices>
  157.   <seclabel type='dynamic' model='dac' relabel='yes'>
  158.     <label>+0:+100</label>
  159.     <imagelabel>+0:+100</imagelabel>
  160.   </seclabel>
  161. </domain>
Add Comment
Please, Sign In to add comment