Advertisement
sooand

win10.xml

May 26th, 2018
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>win10</name>
  3. <uuid>27840600-aae5-485f-a4bf-b186f9144d2f</uuid>
  4. <memory unit='KiB'>8192000</memory>
  5. <currentMemory unit='KiB'>8192000</currentMemory>
  6. <vcpu placement='static' current='8'>16</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
  9. <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  10. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  11. <boot dev='hd'/>
  12. </os>
  13. <features>
  14. <acpi/>
  15. <apic/>
  16. <hyperv>
  17. <relaxed state='on'/>
  18. <vapic state='on'/>
  19. <spinlocks state='on' retries='8191'/>
  20. <vendor_id state='on' value='enteststring'/>
  21. </hyperv>
  22. <kvm>
  23. <hidden state='on'/>
  24. </kvm>
  25. <vmport state='off'/>
  26. </features>
  27. <cpu mode='host-model' check='partial'>
  28. <model fallback='allow'/>
  29. <topology sockets='4' cores='4' threads='1'/>
  30. </cpu>
  31. <clock offset='localtime'>
  32. <timer name='rtc' tickpolicy='catchup'/>
  33. <timer name='pit' tickpolicy='delay'/>
  34. <timer name='hpet' present='no'/>
  35. <timer name='hypervclock' present='yes'/>
  36. </clock>
  37. <on_poweroff>destroy</on_poweroff>
  38. <on_reboot>restart</on_reboot>
  39. <on_crash>destroy</on_crash>
  40. <pm>
  41. <suspend-to-mem enabled='no'/>
  42. <suspend-to-disk enabled='no'/>
  43. </pm>
  44. <devices>
  45. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  46. <disk type='file' device='disk'>
  47. <driver name='qemu' type='raw'/>
  48. <source file='/media/sooand/windows/win10.img'/>
  49. <target dev='hda' bus='ide'/>
  50. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  51. </disk>
  52. <controller type='pci' index='0' model='pci-root'/>
  53. <controller type='ide' index='0'>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  55. </controller>
  56. <controller type='virtio-serial' index='0'>
  57. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  58. </controller>
  59. <controller type='usb' index='0' model='nec-xhci'>
  60. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  61. </controller>
  62. <interface type='network'>
  63. <mac address='52:54:00:52:0e:05'/>
  64. <source network='default'/>
  65. <model type='rtl8139'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  67. </interface>
  68. <input type='mouse' bus='ps2'/>
  69. <input type='keyboard' bus='ps2'/>
  70. <sound model='ich6'>
  71. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  72. </sound>
  73. <hostdev mode='subsystem' type='pci' managed='yes'>
  74. <source>
  75. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  76. </source>
  77. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  78. </hostdev>
  79. <hostdev mode='subsystem' type='usb' managed='yes'>
  80. <source>
  81. <vendor id='0x1038'/>
  82. <product id='0x1702'/>
  83. </source>
  84. <address type='usb' bus='0' port='1'/>
  85. </hostdev>
  86. <hostdev mode='subsystem' type='usb' managed='yes'>
  87. <source>
  88. <vendor id='0x046d'/>
  89. <product id='0xc24d'/>
  90. </source>
  91. <address type='usb' bus='0' port='4'/>
  92. </hostdev>
  93. <hostdev mode='subsystem' type='pci' managed='yes'>
  94. <source>
  95. <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  96. </source>
  97. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  98. </hostdev>
  99. <memballoon model='virtio'>
  100. <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  101. </memballoon>
  102. </devices>
  103. <qemu:commandline>
  104. <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  105. <qemu:env name='QEMU_PA_SAMPLES' value='8192'/>
  106. <qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='99'/>
  107. <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  108. </qemu:commandline>
  109. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement