Advertisement
gperpetuo

xml maq virtual

May 14th, 2021
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.60 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm'>
  3.   <name>Win10 OFFLINE AME 20H2</name>
  4.   <uuid>f22bc445-f681-e787-2105-0516da8ba142</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7.   </metadata>
  8.   <memory unit='KiB'>6291456</memory>
  9.   <currentMemory unit='KiB'>6291456</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>6</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='1'/>
  16.     <vcpupin vcpu='1' cpuset='5'/>
  17.     <vcpupin vcpu='2' cpuset='2'/>
  18.     <vcpupin vcpu='3' cpuset='6'/>
  19.     <vcpupin vcpu='4' cpuset='3'/>
  20.     <vcpupin vcpu='5' cpuset='7'/>
  21.   </cputune>
  22.   <os>
  23.     <type arch='x86_64' machine='pc-i440fx-5.1'>hvm</type>
  24.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  25.     <nvram>/etc/libvirt/qemu/nvram/f22bc445-f681-e787-2105-0516da8ba142_VARS-pure-efi.fd</nvram>
  26.   </os>
  27.   <features>
  28.     <acpi/>
  29.     <apic/>
  30.     <hyperv>
  31.       <relaxed state='on'/>
  32.       <vapic state='on'/>
  33.       <spinlocks state='on' retries='8191'/>
  34.       <vendor_id state='on' value='none'/>
  35.     </hyperv>
  36.   </features>
  37.   <cpu mode='host-passthrough' check='none' migratable='on'>
  38.     <topology sockets='1' dies='1' cores='3' threads='2'/>
  39.     <cache mode='passthrough'/>
  40.   </cpu>
  41.   <clock offset='localtime'>
  42.     <timer name='hypervclock' present='yes'/>
  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/user/domains/Win10 OFFLINE AME 20H2/vdisk1.img'/>
  53.       <target dev='hdc' bus='virtio'/>
  54.       <boot order='1'/>
  55.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  56.     </disk>
  57.     <disk type='file' device='cdrom'>
  58.       <driver name='qemu' type='raw'/>
  59.       <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso'/>
  60.       <target dev='hdb' bus='ide'/>
  61.       <readonly/>
  62.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  63.     </disk>
  64.     <controller type='usb' index='0' model='ich9-ehci1'>
  65.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  66.     </controller>
  67.     <controller type='usb' index='0' model='ich9-uhci1'>
  68.       <master startport='0'/>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  70.     </controller>
  71.     <controller type='usb' index='0' model='ich9-uhci2'>
  72.       <master startport='2'/>
  73.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  74.     </controller>
  75.     <controller type='usb' index='0' model='ich9-uhci3'>
  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.     <controller type='ide' index='0'>
  81.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  82.     </controller>
  83.     <controller type='virtio-serial' index='0'>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  85.     </controller>
  86.     <interface type='bridge'>
  87.       <mac address='52:54:00:72:d0:11'/>
  88.       <source bridge='br0'/>
  89.       <model type='virtio-net'/>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  91.     </interface>
  92.     <serial type='pty'>
  93.       <target type='isa-serial' port='0'>
  94.         <model name='isa-serial'/>
  95.       </target>
  96.     </serial>
  97.     <console type='pty'>
  98.       <target type='serial' port='0'/>
  99.     </console>
  100.     <channel type='unix'>
  101.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  102.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  103.     </channel>
  104.     <input type='tablet' bus='usb'>
  105.       <address type='usb' bus='0' port='1'/>
  106.     </input>
  107.     <input type='mouse' bus='ps2'/>
  108.     <input type='keyboard' bus='ps2'/>
  109.     <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='pt'>
  110.       <listen type='address' address='0.0.0.0'/>
  111.     </graphics>
  112.     <video>
  113.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  115.     </video>
  116.     <memballoon model='virtio'>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  118.     </memballoon>
  119.   </devices>
  120. </domain>
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement