Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. <domain type='kvm'>
  2. <name>win10</name>
  3. <uuid>e2b83afd-3c03-4359-bea4-2a743d30f014</uuid>
  4. <memory unit='KiB'>2097152</memory>
  5. <currentMemory unit='KiB'>2097152</currentMemory>
  6. <vcpu placement='static'>2</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
  9. <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/ovmf_x64.bin</loader>
  10. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  11. <boot dev='hd'/>
  12. </os>
  13. <features>
  14. <acpi/>
  15. <hyperv>
  16. <relaxed state='on'/>
  17. <vapic state='on'/>
  18. <spinlocks state='on' retries='8191'/>
  19. <vendor_id state='on' value='123456789ab'/>
  20. </hyperv>
  21. <kvm>
  22. <hidden state='on'/>
  23. </kvm>
  24. </features>
  25. <cpu mode='host-passthrough'>
  26. <topology sockets='1' cores='2' threads='1'/>
  27. </cpu>
  28. <clock offset='localtime'>
  29. <timer name='hypervclock' present='yes'/>
  30. </clock>
  31. <on_poweroff>destroy</on_poweroff>
  32. <on_reboot>restart</on_reboot>
  33. <on_crash>restart</on_crash>
  34. <pm>
  35. <suspend-to-mem enabled='no'/>
  36. <suspend-to-disk enabled='no'/>
  37. </pm>
  38. <devices>
  39. <emulator>/usr/sbin/qemu-system-x86_64</emulator>
  40. <disk type='file' device='disk'>
  41. <driver name='qemu' type='qcow2'/>
  42. <source file='/mnt/hdd/KVM/win102.qcow2'/>
  43. <target dev='hda' bus='ide'/>
  44. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  45. </disk>
  46. <disk type='file' device='cdrom'>
  47. <driver name='qemu' type='raw'/>
  48. <source file='/usr/share/virtio/virtio-win.iso'/>
  49. <target dev='hdb' bus='ide'/>
  50. <readonly/>
  51. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  52. </disk>
  53. <controller type='usb' index='0' model='ich9-ehci1'>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  55. </controller>
  56. <controller type='usb' index='0' model='ich9-uhci1'>
  57. <master startport='0'/>
  58. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  59. </controller>
  60. <controller type='usb' index='0' model='ich9-uhci2'>
  61. <master startport='2'/>
  62. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  63. </controller>
  64. <controller type='usb' index='0' model='ich9-uhci3'>
  65. <master startport='4'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  67. </controller>
  68. <controller type='pci' index='0' model='pci-root'/>
  69. <controller type='ide' index='0'>
  70. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  71. </controller>
  72. <controller type='virtio-serial' index='0'>
  73. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  74. </controller>
  75. <interface type='network'>
  76. <mac address='52:54:00:70:b9:b0'/>
  77. <source network='default'/>
  78. <model type='rtl8139'/>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  80. </interface>
  81. <serial type='pty'>
  82. <target port='0'/>
  83. </serial>
  84. <console type='pty'>
  85. <target type='serial' port='0'/>
  86. </console>
  87. <channel type='spicevmc'>
  88. <target type='virtio' name='com.redhat.spice.0'/>
  89. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  90. </channel>
  91. <input type='mouse' bus='ps2'/>
  92. <input type='keyboard' bus='ps2'/>
  93. <graphics type='vnc' port='-1' autoport='yes'>
  94. <listen type='address'/>
  95. </graphics>
  96. <sound model='ich6'>
  97. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  98. </sound>
  99. <video>
  100. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  101. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  102. </video>
  103. <hostdev mode='subsystem' type='pci' managed='yes'>
  104. <source>
  105. <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  106. </source>
  107. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  108. </hostdev>
  109. <hostdev mode='subsystem' type='usb' managed='yes'>
  110. <source>
  111. <vendor id='0x09da'/>
  112. <product id='0x72b8'/>
  113. </source>
  114. <address type='usb' bus='0' port='3'/>
  115. </hostdev>
  116. <redirdev bus='usb' type='spicevmc'>
  117. <address type='usb' bus='0' port='1'/>
  118. </redirdev>
  119. <redirdev bus='usb' type='spicevmc'>
  120. <address type='usb' bus='0' port='2'/>
  121. </redirdev>
  122. <memballoon model='virtio'>
  123. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  124. </memballoon>
  125. </devices>
  126. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement