Guest User

Before Hyper V

a guest
May 25th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm'>
  3. <name>Windows 10 VM</name>
  4. <uuid>0c181077-732b-0aa2-eacd-ff8b0f8daad3</uuid>
  5. <description>My Windows 10 VM</description>
  6. <metadata>
  7. <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  8. </metadata>
  9. <memory unit='KiB'>8388608</memory>
  10. <currentMemory unit='KiB'>2097152</currentMemory>
  11. <memoryBacking>
  12. <nosharepages/>
  13. </memoryBacking>
  14. <vcpu placement='static'>8</vcpu>
  15. <cputune>
  16. <vcpupin vcpu='0' cpuset='4'/>
  17. <vcpupin vcpu='1' cpuset='12'/>
  18. <vcpupin vcpu='2' cpuset='5'/>
  19. <vcpupin vcpu='3' cpuset='13'/>
  20. <vcpupin vcpu='4' cpuset='6'/>
  21. <vcpupin vcpu='5' cpuset='14'/>
  22. <vcpupin vcpu='6' cpuset='7'/>
  23. <vcpupin vcpu='7' cpuset='15'/>
  24. <emulatorpin cpuset='3'/>
  25. </cputune>
  26. <os>
  27. <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
  28. <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  29. <nvram>/etc/libvirt/qemu/nvram/0c181077-732b-0aa2-eacd-ff8b0f8daad3_VARS-pure-efi.fd</nvram>
  30. </os>
  31. <features>
  32. <acpi/>
  33. <apic/>
  34. </features>
  35. <cpu mode='host-passthrough' check='none'>
  36. <topology sockets='1' cores='4' threads='2'/>
  37. <cache mode='passthrough'/>
  38. <feature policy='require' name='topoext'/>
  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='cdrom'>
  51. <driver name='qemu' type='raw'/>
  52. <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso'/>
  53. <target dev='hdb' bus='sata'/>
  54. <readonly/>
  55. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  56. </disk>
  57. <disk type='block' device='disk'>
  58. <driver name='qemu' type='raw' cache='writeback'/>
  59. <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S3R0NF1J818242B'/>
  60. <target dev='hdc' bus='sata'/>
  61. <boot order='1'/>
  62. <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  63. </disk>
  64. <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  65. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  66. </controller>
  67. <controller type='virtio-serial' index='0'>
  68. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  69. </controller>
  70. <controller type='pci' index='0' model='pci-root'/>
  71. <controller type='sata' index='0'>
  72. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  73. </controller>
  74. <interface type='bridge'>
  75. <mac address='52:54:00:5f:72:c7'/>
  76. <source bridge='br0'/>
  77. <model type='virtio'/>
  78. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  79. </interface>
  80. <serial type='pty'>
  81. <target type='isa-serial' port='0'>
  82. <model name='isa-serial'/>
  83. </target>
  84. </serial>
  85. <console type='pty'>
  86. <target type='serial' port='0'/>
  87. </console>
  88. <channel type='unix'>
  89. <target type='virtio' name='org.qemu.guest_agent.0'/>
  90. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  91. </channel>
  92. <input type='tablet' bus='usb'>
  93. <address type='usb' bus='0' port='1'/>
  94. </input>
  95. <input type='mouse' bus='ps2'/>
  96. <input type='keyboard' bus='ps2'/>
  97. <hostdev mode='subsystem' type='pci' managed='yes'>
  98. <driver name='vfio'/>
  99. <source>
  100. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  101. </source>
  102. <rom file='/mnt/user/isos/GP107.rom'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
  104. </hostdev>
  105. <hostdev mode='subsystem' type='pci' managed='yes'>
  106. <driver name='vfio'/>
  107. <source>
  108. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
  109. </source>
  110. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  111. </hostdev>
  112. <memballoon model='none'/>
  113. </devices>
  114. </domain>
Add Comment
Please, Sign In to add comment