Guest User

xml

a guest
Feb 5th, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>Windows</name>
  3. <uuid>4e2f6265-a237-44c5-ad60-38d49cd600fe</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">8388608</memory>
  10. <currentMemory unit="KiB">2097152</currentMemory>
  11. <vcpu placement="static">4</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-i440fx-6.2">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/Windows_VARS.fd</nvram>
  16. </os>
  17. <features>
  18. <acpi/>
  19. <apic/>
  20. <hyperv mode="custom">
  21. <relaxed state="on"/>
  22. <vapic state="on"/>
  23. <spinlocks state="on" retries="8191"/>
  24. <vendor_id state="on" value="123456789ab"/>
  25. </hyperv>
  26. <kvm>
  27. <hidden state="on"/>
  28. </kvm>
  29. <vmport state="off"/>
  30. </features>
  31. <cpu mode="host-passthrough" check="none" migratable="on">
  32. <topology sockets="1" dies="1" cores="2" threads="2"/>
  33. </cpu>
  34. <clock offset="localtime">
  35. <timer name="rtc" tickpolicy="catchup"/>
  36. <timer name="pit" tickpolicy="delay"/>
  37. <timer name="hpet" present="no"/>
  38. <timer name="hypervclock" present="yes"/>
  39. </clock>
  40. <on_poweroff>destroy</on_poweroff>
  41. <on_reboot>restart</on_reboot>
  42. <on_crash>destroy</on_crash>
  43. <pm>
  44. <suspend-to-mem enabled="no"/>
  45. <suspend-to-disk enabled="no"/>
  46. </pm>
  47. <devices>
  48. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  49. <disk type="file" device="cdrom">
  50. <driver name="qemu" type="raw"/>
  51. <source file="/home/yubo/Work/Work/ISO/Win10_21H2_EnglishInternational_x64.iso"/>
  52. <target dev="sda" bus="sata"/>
  53. <readonly/>
  54. <boot order="1"/>
  55. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  56. </disk>
  57. <disk type="file" device="cdrom">
  58. <driver name="qemu" type="raw"/>
  59. <source file="/home/yubo/Work/Work/ISO/virtio-win-0.1.215.iso"/>
  60. <target dev="sdb" bus="sata"/>
  61. <readonly/>
  62. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  63. </disk>
  64. <disk type="block" device="disk">
  65. <driver name="qemu" type="raw" cache="none"/>
  66. <source dev="/dev/storage/windows"/>
  67. <target dev="vda" bus="virtio"/>
  68. <boot order="2"/>
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x09" function="0x0"/>
  70. </disk>
  71. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  72. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
  73. </controller>
  74. <controller type="scsi" index="0" model="virtio-scsi">
  75. <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  76. </controller>
  77. <controller type="pci" index="0" model="pci-root"/>
  78. <controller type="sata" index="0">
  79. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  80. </controller>
  81. <controller type="virtio-serial" index="0">
  82. <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
  83. </controller>
  84. <interface type="network">
  85. <mac address="52:54:00:67:99:08"/>
  86. <source network="default"/>
  87. <model type="virtio"/>
  88. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  89. </interface>
  90. <serial type="pty">
  91. <target type="isa-serial" port="0">
  92. <model name="isa-serial"/>
  93. </target>
  94. </serial>
  95. <console type="pty">
  96. <target type="serial" port="0"/>
  97. </console>
  98. <channel type="spicevmc">
  99. <target type="virtio" name="com.redhat.spice.0"/>
  100. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  101. </channel>
  102. <input type="tablet" bus="usb">
  103. <address type="usb" bus="0" port="1"/>
  104. </input>
  105. <input type="mouse" bus="ps2"/>
  106. <input type="keyboard" bus="ps2"/>
  107. <graphics type="spice" autoport="yes">
  108. <listen type="address"/>
  109. <image compression="off"/>
  110. </graphics>
  111. <sound model="ich9">
  112. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
  113. </sound>
  114. <audio id="1" type="spice"/>
  115. <video>
  116. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  117. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  118. </video>
  119. <hostdev mode="subsystem" type="pci" managed="yes">
  120. <source>
  121. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  122. </source>
  123. <rom bar="on"/>
  124. <address type="pci" domain="0x0000" bus="0x00" slot="0x0a" function="0x0"/>
  125. </hostdev>
  126. <redirdev bus="usb" type="spicevmc">
  127. <address type="usb" bus="0" port="2"/>
  128. </redirdev>
  129. <redirdev bus="usb" type="spicevmc">
  130. <address type="usb" bus="0" port="3"/>
  131. </redirdev>
  132. <memballoon model="virtio">
  133. <address type="pci" domain="0x0000" bus="0x00" slot="0x0b" function="0x0"/>
  134. </memballoon>
  135. </devices>
  136. </domain>
  137.  
Advertisement
Add Comment
Please, Sign In to add comment