zavdimka

qume config

Jun 26th, 2021
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win2k19-work</name>
  3. <uuid>e0f0c1ad-6619-4da4-b564-54fb2fc03ab3</uuid>
  4. <metadata xmlns:ns0="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  5. <ns0:libosinfo>
  6. <ns0:os id="http://microsoft.com/win/2k19"/>
  7. </ns0:libosinfo>
  8. </metadata>
  9. <memory unit="KiB">8192000</memory>
  10. <currentMemory unit="KiB">8192000</currentMemory>
  11. <vcpu placement="static">12</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-4.2">hvm</type>
  14. <boot dev="hd"/>
  15. </os>
  16. <features>
  17. <acpi/>
  18. <apic/>
  19. <hyperv>
  20. <relaxed state="on"/>
  21. <vapic state="on"/>
  22. <spinlocks state="on" retries="8191"/>
  23. <vendor_id state="on" value="1234567890ab"/>
  24. </hyperv>
  25. <kvm>
  26. <hidden state="on"/>
  27. </kvm>
  28. <vmport state="off"/>
  29. <ioapic driver="kvm"/>
  30. </features>
  31. <cpu mode="host-model" check="partial"/>
  32. <clock offset="localtime">
  33. <timer name="rtc" tickpolicy="catchup"/>
  34. <timer name="pit" tickpolicy="delay"/>
  35. <timer name="hpet" present="no"/>
  36. <timer name="hypervclock" present="yes"/>
  37. </clock>
  38. <on_poweroff>destroy</on_poweroff>
  39. <on_reboot>restart</on_reboot>
  40. <on_crash>destroy</on_crash>
  41. <pm>
  42. <suspend-to-mem enabled="no"/>
  43. <suspend-to-disk enabled="no"/>
  44. </pm>
  45. <devices>
  46. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  47. <disk type="file" device="disk">
  48. <driver name="qemu" type="qcow2"/>
  49. <source file="/mnt/hdd/kvm/win2k19-work.qcow2"/>
  50. <target dev="sda" bus="sata"/>
  51. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  52. </disk>
  53. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  54. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  55. </controller>
  56. <controller type="sata" index="0">
  57. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  58. </controller>
  59. <controller type="pci" index="0" model="pcie-root"/>
  60. <controller type="pci" index="1" model="pcie-root-port">
  61. <model name="pcie-root-port"/>
  62. <target chassis="1" port="0x10"/>
  63. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  64. </controller>
  65. <controller type="pci" index="2" model="pcie-root-port">
  66. <model name="pcie-root-port"/>
  67. <target chassis="2" port="0x11"/>
  68. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  69. </controller>
  70. <controller type="pci" index="3" model="pcie-root-port">
  71. <model name="pcie-root-port"/>
  72. <target chassis="3" port="0x12"/>
  73. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  74. </controller>
  75. <controller type="pci" index="4" model="pcie-root-port">
  76. <model name="pcie-root-port"/>
  77. <target chassis="4" port="0x13"/>
  78. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  79. </controller>
  80. <controller type="pci" index="5" model="pcie-root-port">
  81. <model name="pcie-root-port"/>
  82. <target chassis="5" port="0x14"/>
  83. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  84. </controller>
  85. <controller type="pci" index="6" model="pcie-root-port">
  86. <model name="pcie-root-port"/>
  87. <target chassis="6" port="0x15"/>
  88. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  89. </controller>
  90. <controller type="virtio-serial" index="0">
  91. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  92. </controller>
  93. <interface type="bridge">
  94. <mac address="52:54:00:40:3d:aa"/>
  95. <source bridge="lanbr0"/>
  96. <model type="e1000e"/>
  97. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  98. </interface>
  99. <serial type="pty">
  100. <target type="isa-serial" port="0">
  101. <model name="isa-serial"/>
  102. </target>
  103. </serial>
  104. <console type="pty">
  105. <target type="serial" port="0"/>
  106. </console>
  107. <channel type="spicevmc">
  108. <target type="virtio" name="com.redhat.spice.0"/>
  109. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  110. </channel>
  111. <input type="tablet" bus="usb">
  112. <address type="usb" bus="0" port="1"/>
  113. </input>
  114. <input type="mouse" bus="ps2"/>
  115. <input type="keyboard" bus="ps2"/>
  116. <graphics type="spice" autoport="yes">
  117. <listen type="address"/>
  118. <image compression="off"/>
  119. <gl enable="no"/>
  120. </graphics>
  121. <sound model="ich9">
  122. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  123. </sound>
  124. <video>
  125. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  126. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  127. </video>
  128. <hostdev mode="subsystem" type="pci" managed="yes">
  129. <driver name="vfio"/>
  130. <source>
  131. <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  132. </source>
  133. <rom file="/mnt/hdd/kvm/vbios.bin"/>
  134. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0" multifunction="on"/>
  135. </hostdev>
  136. <hostdev mode="subsystem" type="pci" managed="yes">
  137. <driver name="vfio"/>
  138. <source>
  139. <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  140. </source>
  141. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x1"/>
  142. </hostdev>
  143. <redirdev bus="usb" type="spicevmc">
  144. <address type="usb" bus="0" port="2"/>
  145. </redirdev>
  146. <redirdev bus="usb" type="spicevmc">
  147. <address type="usb" bus="0" port="3"/>
  148. </redirdev>
  149. <memballoon model="virtio">
  150. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  151. </memballoon>
  152. </devices>
  153. </domain>
  154.  
Advertisement
Add Comment
Please, Sign In to add comment