TheFantasticLoki

Hyper-V Converted VM XML

Jun 18th, 2021
1,133
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm'>
  3.   <name>MinecraftServer</name>
  4.   <uuid>a25bbd83-8a6d-e1a4-2e76-75559d5eb5e4</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Ubuntu" icon="ubuntu.png" os="ubuntu"/>
  7.   </metadata>
  8.   <memory unit='KiB'>7340032</memory>
  9.   <currentMemory unit='KiB'>4194304</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>8</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='0'/>
  16.     <vcpupin vcpu='1' cpuset='1'/>
  17.     <vcpupin vcpu='2' cpuset='2'/>
  18.     <vcpupin vcpu='3' cpuset='3'/>
  19.     <vcpupin vcpu='4' cpuset='4'/>
  20.     <vcpupin vcpu='5' cpuset='5'/>
  21.     <vcpupin vcpu='6' cpuset='6'/>
  22.     <vcpupin vcpu='7' cpuset='7'/>
  23.   </cputune>
  24.   <os>
  25.     <type arch='x86_64' machine='pc-q35-5.1'>hvm</type>
  26.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  27.     <nvram>/etc/libvirt/qemu/nvram/a25bbd83-8a6d-e1a4-2e76-75559d5eb5e4_VARS-pure-efi.fd</nvram>
  28.   </os>
  29.   <features>
  30.     <acpi/>
  31.     <apic/>
  32.   </features>
  33.   <cpu mode='host-passthrough' check='none' migratable='on'>
  34.     <topology sockets='1' dies='1' cores='4' threads='2'/>
  35.     <cache mode='passthrough'/>
  36.     <feature policy='require' name='topoext'/>
  37.   </cpu>
  38.   <clock offset='utc'>
  39.     <timer name='rtc' tickpolicy='catchup'/>
  40.     <timer name='pit' tickpolicy='delay'/>
  41.     <timer name='hpet' present='no'/>
  42.   </clock>
  43.   <on_poweroff>destroy</on_poweroff>
  44.   <on_reboot>restart</on_reboot>
  45.   <on_crash>restart</on_crash>
  46.   <devices>
  47.     <emulator>/usr/local/sbin/qemu</emulator>
  48.     <disk type='file' device='disk'>
  49.       <driver name='qemu' type='raw' cache='writeback'/>
  50.       <source file='/mnt/user/VMs/vdisk1.img'/>
  51.       <target dev='hdc' bus='sata'/>
  52.       <boot order='1'/>
  53.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  54.     </disk>
  55.     <disk type='file' device='disk'>
  56.       <driver name='qemu' type='raw' cache='writeback'/>
  57.       <source file='/mnt/user/domains/MinecraftServer/vdisk2.img'/>
  58.       <target dev='hdd' bus='virtio'/>
  59.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  60.     </disk>
  61.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  62.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  63.     </controller>
  64.     <controller type='sata' index='0'>
  65.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  66.     </controller>
  67.     <controller type='pci' index='0' model='pcie-root'/>
  68.     <controller type='pci' index='1' model='pcie-root-port'>
  69.       <model name='pcie-root-port'/>
  70.       <target chassis='1' port='0x10'/>
  71.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  72.     </controller>
  73.     <controller type='pci' index='2' model='pcie-root-port'>
  74.       <model name='pcie-root-port'/>
  75.       <target chassis='2' port='0x11'/>
  76.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  77.     </controller>
  78.     <controller type='pci' index='3' model='pcie-root-port'>
  79.       <model name='pcie-root-port'/>
  80.       <target chassis='3' port='0x12'/>
  81.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  82.     </controller>
  83.     <controller type='pci' index='4' model='pcie-root-port'>
  84.       <model name='pcie-root-port'/>
  85.       <target chassis='4' port='0x13'/>
  86.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  87.     </controller>
  88.     <controller type='pci' index='5' model='pcie-root-port'>
  89.       <model name='pcie-root-port'/>
  90.       <target chassis='5' port='0x14'/>
  91.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  92.     </controller>
  93.     <controller type='virtio-serial' index='0'>
  94.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  95.     </controller>
  96.     <interface type='bridge'>
  97.       <mac address='52:54:00:8c:68:27'/>
  98.       <source bridge='br0'/>
  99.       <model type='virtio-net'/>
  100.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  101.     </interface>
  102.     <serial type='pty'>
  103.       <target type='isa-serial' port='0'>
  104.         <model name='isa-serial'/>
  105.       </target>
  106.     </serial>
  107.     <console type='pty'>
  108.       <target type='serial' port='0'/>
  109.     </console>
  110.     <channel type='unix'>
  111.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  112.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  113.     </channel>
  114.     <input type='tablet' bus='usb'>
  115.       <address type='usb' bus='0' port='1'/>
  116.     </input>
  117.     <input type='mouse' bus='ps2'/>
  118.     <input type='keyboard' bus='ps2'/>
  119.     <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
  120.       <listen type='address' address='0.0.0.0'/>
  121.     </graphics>
  122.     <video>
  123.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  125.     </video>
  126.     <memballoon model='virtio'>
  127.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  128.     </memballoon>
  129.   </devices>
  130. </domain>
  131.  
RAW Paste Data