Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>win10</name>
  3. <uuid>9929ac6c-019a-4a47-bc13-bfe8976b8377</uuid>
  4. <memory unit='KiB'>10485760</memory>
  5. <currentMemory unit='KiB'>10485760</currentMemory>
  6. <vcpu placement='static'>6</vcpu>
  7. <resource>
  8. <partition>/machine</partition>
  9. </resource>
  10. <os>
  11. <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
  12. <loader readonly='yes' type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  13. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  14. <bootmenu enable='yes'/>
  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. </hyperv>
  24. <vmport state='off'/>
  25. </features>
  26. <cpu mode='host-passthrough' check='none'/>
  27. <clock offset='localtime'>
  28. <timer name='rtc' tickpolicy='catchup'/>
  29. <timer name='pit' tickpolicy='delay'/>
  30. <timer name='hpet' present='no'/>
  31. <timer name='hypervclock' present='yes'/>
  32. </clock>
  33. <on_poweroff>destroy</on_poweroff>
  34. <on_reboot>restart</on_reboot>
  35. <on_crash>destroy</on_crash>
  36. <pm>
  37. <suspend-to-mem enabled='no'/>
  38. <suspend-to-disk enabled='no'/>
  39. </pm>
  40. <devices>
  41. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  42. <disk type='block' device='disk'>
  43. <driver name='qemu' type='raw' cache='none' io='threads'/>
  44. <source dev='/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSCF116014V'/>
  45. <target dev='sda' bus='scsi'/>
  46. <boot order='1'/>
  47. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  48. </disk>
  49. <controller type='usb' index='0' model='ich9-ehci1'>
  50. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  51. </controller>
  52. <controller type='usb' index='0' model='ich9-uhci1'>
  53. <master startport='0'/>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  55. </controller>
  56. <controller type='usb' index='0' model='ich9-uhci2'>
  57. <master startport='2'/>
  58. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  59. </controller>
  60. <controller type='usb' index='0' model='ich9-uhci3'>
  61. <master startport='4'/>
  62. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  63. </controller>
  64. <controller type='pci' index='0' model='pci-root'/>
  65. <controller type='virtio-serial' index='0'>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  67. </controller>
  68. <controller type='scsi' index='0' model='virtio-scsi'>
  69. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  70. </controller>
  71. <interface type='direct'>
  72. <mac address='52:54:00:40:f9:ca'/>
  73. <source dev='enp4s0' mode='bridge'/>
  74. <model type='virtio'/>
  75. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  76. </interface>
  77. <input type='mouse' bus='ps2'/>
  78. <input type='keyboard' bus='ps2'/>
  79. <sound model='ac97'>
  80. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  81. </sound>
  82. <hostdev mode='subsystem' type='pci' managed='yes'>
  83. <source>
  84. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  85. </source>
  86. <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
  87. </hostdev>
  88. <hostdev mode='subsystem' type='pci' managed='yes'>
  89. <source>
  90. <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  91. </source>
  92. <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
  93. </hostdev>
  94. <memballoon model='virtio'>
  95. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  96. </memballoon>
  97. </devices>
  98. <qemu:commandline>
  99. <qemu:arg value='-object'/>
  100. <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-Mionix_Naos_QG-event-mouse'/>
  101. <qemu:arg value='-object'/>
  102. <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-04d9_USB-HID_Keyboard-event-kbd,grab_all=on,repeat=on'/>
  103. <qemu:arg value='-device'/>
  104. <qemu:arg value='ivshmem-plain,memdev=ivshmem'/>
  105. <qemu:arg value='-object'/>
  106. <qemu:arg value='memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=64M'/>
  107. <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  108. <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  109. </qemu:commandline>
  110. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement