Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>6e9b887a-4f8c-4590-9626-100b77781edd</uuid>
  4. <metadata xmlns:ns0="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  5. <ns0:libosinfo>
  6. <ns0:os id="http://microsoft.com/win/10"/>
  7. </ns0:libosinfo>
  8. </metadata>
  9. <memory unit="KiB">10485760</memory>
  10. <currentMemory unit="KiB">10485760</currentMemory>
  11. <vcpu placement="static" current="4">16</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-i440fx-4.0">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  16. <boot dev="hd"/>
  17. <bootmenu enable="yes"/>
  18. </os>
  19. <features>
  20. <acpi/>
  21. <apic/>
  22. <hyperv>
  23. <relaxed state="on"/>
  24. <vapic state="on"/>
  25. <spinlocks state="on" retries="8191"/>
  26. <vendor_id state="on" value="123456789ab"/>
  27. </hyperv>
  28. <kvm>
  29. <hidden state="on"/>
  30. </kvm>
  31. <vmport state="off"/>
  32. </features>
  33. <cpu mode="custom" match="exact" check="partial">
  34. <model fallback="allow">Haswell-noTSX-IBRS</model>
  35. <topology sockets="1" cores="4" threads="4"/>
  36. </cpu>
  37. <clock offset="localtime">
  38. <timer name="rtc" tickpolicy="catchup"/>
  39. <timer name="pit" tickpolicy="delay"/>
  40. <timer name="hpet" present="no"/>
  41. <timer name="hypervclock" present="yes"/>
  42. </clock>
  43. <on_poweroff>destroy</on_poweroff>
  44. <on_reboot>restart</on_reboot>
  45. <on_crash>destroy</on_crash>
  46. <pm>
  47. <suspend-to-mem enabled="no"/>
  48. <suspend-to-disk enabled="no"/>
  49. </pm>
  50. <devices>
  51. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  52. <disk type="file" device="disk">
  53. <driver name="qemu" type="qcow2" cache="writethrough" io="threads"/>
  54. <source file="/1TBVM/windows.qcow2"/>
  55. <target dev="sda" bus="scsi"/>
  56. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  57. </disk>
  58. <disk type="block" device="disk">
  59. <driver name="qemu" type="raw" cache="none" io="native"/>
  60. <source dev="/dev/sda"/>
  61. <target dev="sdb" bus="scsi"/>
  62. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  63. </disk>
  64. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  65. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
  66. </controller>
  67. <controller type="pci" index="0" model="pci-root"/>
  68. <controller type="scsi" index="0" model="virtio-scsi">
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
  70. </controller>
  71. <controller type="sata" index="0">
  72. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  73. </controller>
  74. <interface type="direct">
  75. <mac address="52:54:00:ae:77:ef"/>
  76. <source dev="enp3s0" mode="bridge"/>
  77. <model type="virtio"/>
  78. <link state="down"/>
  79. <address type="pci" domain="0x0000" bus="0x00" slot="0x09" function="0x0"/>
  80. </interface>
  81. <interface type="network">
  82. <mac address="52:54:00:5f:70:23"/>
  83. <source network="default"/>
  84. <model type="virtio"/>
  85. <link state="down"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x0a" function="0x0"/>
  87. </interface>
  88. <serial type="pty">
  89. <target type="isa-serial" port="0">
  90. <model name="isa-serial"/>
  91. </target>
  92. </serial>
  93. <console type="pty">
  94. <target type="serial" port="0"/>
  95. </console>
  96. <input type="mouse" bus="ps2"/>
  97. <input type="keyboard" bus="ps2"/>
  98. <hostdev mode="subsystem" type="pci" managed="yes">
  99. <source>
  100. <address domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  101. </source>
  102. <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  103. </hostdev>
  104. <hostdev mode="subsystem" type="pci" managed="yes">
  105. <source>
  106. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  107. </source>
  108. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  109. </hostdev>
  110. <hostdev mode="subsystem" type="pci" managed="yes">
  111. <source>
  112. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  113. </source>
  114. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
  115. </hostdev>
  116. <redirdev bus="usb" type="spicevmc">
  117. <address type="usb" bus="0" port="2"/>
  118. </redirdev>
  119. <redirdev bus="usb" type="spicevmc">
  120. <address type="usb" bus="0" port="3"/>
  121. </redirdev>
  122. <memballoon model="virtio">
  123. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  124. </memballoon>
  125. <shmem name="scream-ivshmem">
  126. <model type="ivshmem-plain"/>
  127. <size unit="M">2</size>
  128. <address type="pci" domain="0x0000" bus="0x00" slot="0x11" function="0x0"/>
  129. </shmem>
  130. </devices>
  131. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement