Guest User

kvm xml

a guest
May 7th, 2022
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win11</name>
  3. <uuid>c0d38657-469a-4499-8e82-323101b56539</uuid>
  4. <metadata>
  5. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6. <libosinfo:os id="http://microsoft.com/win/10"/>
  7. </libosinfo:libosinfo>
  8. </metadata>
  9. <memory unit="KiB">25165824</memory>
  10. <currentMemory unit="KiB">25165824</currentMemory>
  11. <vcpu placement="static">10</vcpu>
  12. <vcpus>
  13. <vcpu id="0" enabled="yes" hotpluggable="no"/>
  14. <vcpu id="1" enabled="yes" hotpluggable="yes"/>
  15. <vcpu id="2" enabled="yes" hotpluggable="yes"/>
  16. <vcpu id="3" enabled="yes" hotpluggable="yes"/>
  17. <vcpu id="4" enabled="yes" hotpluggable="yes"/>
  18. <vcpu id="5" enabled="yes" hotpluggable="yes"/>
  19. <vcpu id="6" enabled="yes" hotpluggable="yes"/>
  20. <vcpu id="7" enabled="yes" hotpluggable="yes"/>
  21. <vcpu id="8" enabled="yes" hotpluggable="yes"/>
  22. <vcpu id="9" enabled="yes" hotpluggable="yes"/>
  23. </vcpus>
  24. <iothreads>1</iothreads>
  25. <cputune>
  26. <vcpupin vcpu="0" cpuset="1"/>
  27. <vcpupin vcpu="1" cpuset="7"/>
  28. <vcpupin vcpu="2" cpuset="2"/>
  29. <vcpupin vcpu="3" cpuset="8"/>
  30. <vcpupin vcpu="4" cpuset="3"/>
  31. <vcpupin vcpu="5" cpuset="9"/>
  32. <vcpupin vcpu="6" cpuset="4"/>
  33. <vcpupin vcpu="7" cpuset="10"/>
  34. <vcpupin vcpu="8" cpuset="5"/>
  35. <vcpupin vcpu="9" cpuset="11"/>
  36. <emulatorpin cpuset="0,6"/>
  37. <iothreadpin iothread="1" cpuset="0,6"/>
  38. </cputune>
  39. <sysinfo type="smbios">
  40. <bios>
  41. <entry name="vendor">American Megatrends Inc.</entry>
  42. <entry name="version">2607</entry>
  43. <entry name="date">09/14/2020</entry>
  44. </bios>
  45. <system>
  46. <entry name="manufacturer">ASUSTeK COMPUTER INC.</entry>
  47. <entry name="product">TUF GAMING X570-PLUS (WI-FI)</entry>
  48. <entry name="version">Rev X.0x</entry>
  49. <entry name="serial">Your board's serial number</entry>
  50. <entry name="uuid">c0d38657-469a-4499-8e82-323101b56539</entry>
  51. <entry name="sku">SKU</entry>
  52. <entry name="family">TUF GAMING</entry>
  53. </system>
  54. </sysinfo>
  55. <os>
  56. <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
  57. <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd</loader>
  58. <nvram>/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  59. <bootmenu enable="no"/>
  60. <smbios mode="sysinfo"/>
  61. </os>
  62. <features>
  63. <acpi/>
  64. <apic/>
  65. <hyperv mode="custom">
  66. <relaxed state="on"/>
  67. <vpindex state="on"/>
  68. <synic state="on"/>
  69. <stimer state="on"/>
  70. <reset state="on"/>
  71. <vendor_id state="on" value="randomid"/>
  72. <frequencies state="on"/>
  73. </hyperv>
  74. <kvm>
  75. <hidden state="on"/>
  76. </kvm>
  77. <vmport state="off"/>
  78. <smm state="on"/>
  79. <ioapic driver="kvm"/>
  80. </features>
  81. <cpu mode="host-passthrough" check="none" migratable="on">
  82. <topology sockets="1" dies="1" cores="5" threads="2"/>
  83. <cache mode="passthrough"/>
  84. <feature policy="require" name="invtsc"/>
  85. <feature policy="require" name="topoext"/>
  86. </cpu>
  87. <clock offset="localtime">
  88. <timer name="rtc" tickpolicy="catchup" track="guest"/>
  89. <timer name="pit" tickpolicy="discard"/>
  90. <timer name="hpet" present="no"/>
  91. <timer name="hypervclock" present="yes"/>
  92. <timer name="tsc" present="yes" mode="native"/>
  93. </clock>
  94. <on_poweroff>destroy</on_poweroff>
  95. <on_reboot>restart</on_reboot>
  96. <on_crash>destroy</on_crash>
  97. <pm>
  98. <suspend-to-mem enabled="no"/>
  99. <suspend-to-disk enabled="no"/>
  100. </pm>
  101. <devices>
  102. ......
  103. </devices>
  104. </domain>
  105.  
Advertisement
Add Comment
Please, Sign In to add comment