Advertisement
Guest User

Untitled

a guest
Nov 29th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. [kvasilev@darkstar home]$ sudo cat /etc/libvirt/qemu/windows10.xml
  2. [sudo] password for kvasilev:
  3. <!--
  4. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  5. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  6. virsh edit windows10
  7. or other application using the libvirt API.
  8. -->
  9.  
  10. <domain type='kvm'>
  11. <name>windows10</name>
  12. <uuid>d0d45639-3039-40b9-a78e-cc66cd56a2d1</uuid>
  13. <memory unit='KiB'>16777216</memory>
  14. <currentMemory unit='KiB'>16777216</currentMemory>
  15. <vcpu placement='static'>6</vcpu>
  16. <cputune>
  17. <vcpupin vcpu='0' cpuset='0'/>
  18. <vcpupin vcpu='1' cpuset='1'/>
  19. <vcpupin vcpu='2' cpuset='2'/>
  20. <vcpupin vcpu='3' cpuset='3'/>
  21. <vcpupin vcpu='4' cpuset='4'/>
  22. <vcpupin vcpu='5' cpuset='5'/>
  23. </cputune>
  24. <resource>
  25. <partition>/machine</partition>
  26. </resource>
  27. <os>
  28. <type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type>
  29. <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  30. <nvram>/usr/share/ovmf/x64/OVMF_VARS.fd</nvram>
  31. <boot dev='hd'/>
  32. <boot dev='cdrom'/>
  33. <bootmenu enable='no'/>
  34. </os>
  35. <features>
  36. <acpi/>
  37. <apic/>
  38. <hyperv>
  39. <vendor_id state='on' value='heyitsacpu'/>
  40. </hyperv>
  41. <kvm>
  42. <hidden state='on'/>
  43. </kvm>
  44. <vmport state='off'/>
  45. </features>
  46. <cpu mode='host-passthrough' check='full'>
  47. <topology sockets='1' cores='6' threads='1'/>
  48. </cpu>
  49. <clock offset='utc'>
  50. <timer name='rtc' tickpolicy='catchup'/>
  51. <timer name='pit' tickpolicy='delay'/>
  52. <timer name='hpet' present='no'/>
  53. <timer name='hypervclock' present='yes'/>
  54. </clock>
  55. <on_poweroff>destroy</on_poweroff>
  56. <on_reboot>restart</on_reboot>
  57. <on_crash>destroy</on_crash>
  58. <pm>
  59. <suspend-to-mem enabled='no'/>
  60. <suspend-to-disk enabled='no'/>
  61. </pm>
  62. <devices>
  63. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  64. <disk type='block' device='disk'>
  65. <driver name='qemu' type='raw' cache='none'/>
  66. <source dev='/dev/sdb'/>
  67. <target dev='vda' bus='virtio'/>
  68. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  69. </disk>
  70. <controller type='usb' index='0' model='ich9-ehci1'>
  71. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x7'/>
  72. </controller>
  73. <controller type='usb' index='0' model='ich9-uhci1'>
  74. <master startport='0'/>
  75. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0' multifunction='on'/>
  76. </controller>
  77. <controller type='usb' index='0' model='ich9-uhci2'>
  78. <master startport='2'/>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x1'/>
  80. </controller>
  81. <controller type='usb' index='0' model='ich9-uhci3'>
  82. <master startport='4'/>
  83. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x2'/>
  84. </controller>
  85. <controller type='pci' index='0' model='pci-root'/>
  86. <controller type='pci' index='1' model='pci-bridge'>
  87. <model name='pci-bridge'/>
  88. <target chassisNr='1'/>
  89. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  90. </controller>
  91. <interface type='direct'>
  92. <mac address='00:00:00:00:00:02'/>
  93. <source dev='enp8s0f0' mode='bridge'/>
  94. <model type='virtio'/>
  95. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  96. </interface>
  97. <input type='mouse' bus='ps2'/>
  98. <input type='keyboard' bus='ps2'/>
  99. <graphics type='vnc' port='5902' autoport='no' listen='192.168.10.200' keymap='en-us'>
  100. <listen type='address' address='192.168.10.200'/>
  101. </graphics>
  102. <video>
  103. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  104. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  105. </video>
  106. <hostdev mode='subsystem' type='pci' managed='yes'>
  107. <driver name='vfio'/>
  108. <source>
  109. <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  110. </source>
  111. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  112. </hostdev>
  113. <hostdev mode='subsystem' type='pci' managed='yes'>
  114. <driver name='vfio'/>
  115. <source>
  116. <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
  117. </source>
  118. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  119. </hostdev>
  120. <memballoon model='none'/>
  121. </devices>
  122. <seclabel type='dynamic' model='dac' relabel='yes'/>
  123. </domain>
  124. [kvasilev@darkstar home]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement