spacepaste

  1.  
  2. <!--
  3. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  4. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  5. virsh edit generic
  6. or other application using the libvirt API.
  7. -->
  8. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  9. <name>generic</name>
  10. <uuid>9cd84786-a838-4d96-ba18-ebf35f894292</uuid>
  11. <memory unit='KiB'>8192000</memory>
  12. <currentMemory unit='KiB'>8192000</currentMemory>
  13. <vcpu placement='static'>6</vcpu>
  14. <cputune>
  15. <vcpupin vcpu='0' cpuset='1'/>
  16. <vcpupin vcpu='1' cpuset='5'/>
  17. <vcpupin vcpu='2' cpuset='2'/>
  18. <vcpupin vcpu='3' cpuset='6'/>
  19. <vcpupin vcpu='4' cpuset='3'/>
  20. <vcpupin vcpu='5' cpuset='7'/>
  21. </cputune>
  22. <os>
  23. <type arch='x86_64' machine='pc-i440fx-2.10'>hvm</type>
  24. <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  25. <nvram>/var/lib/libvirt/qemu/nvram/generic_VARS.fd</nvram>
  26. <bootmenu enable='no'/>
  27. </os>
  28. <features>
  29. <acpi/>
  30. <apic/>
  31. <hyperv>
  32. <vendor_id state='on' value='123456789ab'/>
  33. </hyperv>
  34. <kvm>
  35. <hidden state='on'/>
  36. </kvm>
  37. <vmport state='off'/>
  38. </features>
  39. <cpu mode='host-passthrough' check='none'>
  40. <topology sockets='1' cores='3' threads='2'/>
  41. </cpu>
  42. <clock offset='utc'>
  43. <timer name='rtc' tickpolicy='catchup'/>
  44. <timer name='pit' tickpolicy='delay'/>
  45. <timer name='hpet' present='no'/>
  46. </clock>
  47. <on_poweroff>destroy</on_poweroff>
  48. <on_reboot>restart</on_reboot>
  49. <on_crash>destroy</on_crash>
  50. <pm>
  51. <suspend-to-mem enabled='no'/>
  52. <suspend-to-disk enabled='no'/>
  53. </pm>
  54. <devices>
  55. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  56. <disk type='file' device='disk'>
  57. <driver name='qemu' type='qcow2'/>
  58. <source file='/var/lib/libvirt/images/generic.qcow2'/>
  59. <target dev='vda' bus='virtio'/>
  60. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  61. </disk>
  62. <disk type='file' device='disk'>
  63. <driver name='qemu' type='qcow2'/>
  64. <source file='/var/lib/libvirt/images/generic-1.qcow2'/>
  65. <target dev='vdb' bus='virtio'/>
  66. <boot order='3'/>
  67. <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
  68. </disk>
  69. <disk type='file' device='disk'>
  70. <driver name='qemu' type='qcow2'/>
  71. <source file='/var/lib/libvirt/images/generic-2.qcow2'/>
  72. <target dev='vdc' bus='virtio'/>
  73. <boot order='2'/>
  74. <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
  75. </disk>
  76. <disk type='block' device='disk'>
  77. <driver name='qemu' type='raw' cache='none' io='native'/>
  78. <source dev='/dev/disk/by-id/ata-CT240BX300SSD1_1730E1004839'/>
  79. <target dev='sda' bus='sata'/>
  80. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  81. </disk>
  82. <disk type='file' device='cdrom'>
  83. <driver name='qemu' type='raw'/>
  84. <target dev='sdb' bus='scsi'/>
  85. <readonly/>
  86. <boot order='1'/>
  87. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  88. </disk>
  89. <controller type='pci' index='0' model='pci-root'/>
  90. <controller type='usb' index='0' model='nec-xhci'>
  91. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  92. </controller>
  93. <controller type='sata' index='0'>
  94. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  95. </controller>
  96. <controller type='scsi' index='0' model='virtio-scsi'>
  97. <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  98. </controller>
  99. <interface type='network'>
  100. <mac address='52:54:00:90:e5:53'/>
  101. <source network='default'/>
  102. <model type='virtio'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  104. </interface>
  105. <input type='mouse' bus='ps2'/>
  106. <input type='keyboard' bus='ps2'/>
  107. <hostdev mode='subsystem' type='pci' managed='yes'>
  108. <source>
  109. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  110. </source>
  111. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  112. </hostdev>
  113. <hostdev mode='subsystem' type='pci' managed='yes'>
  114. <source>
  115. <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  116. </source>
  117. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  118. </hostdev>
  119. <hostdev mode='subsystem' type='pci' managed='yes'>
  120. <source>
  121. <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  122. </source>
  123. <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
  124. </hostdev>
  125. <hostdev mode='subsystem' type='usb' managed='yes'>
  126. <source>
  127. <vendor id='0x04b3'/>
  128. <product id='0x3025'/>
  129. </source>
  130. <address type='usb' bus='0' port='1'/>
  131. </hostdev>
  132. <memballoon model='virtio'>
  133. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  134. </memballoon>
  135. </devices>
  136. <qemu:commandline>
  137. <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  138. <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  139. </qemu:commandline>
  140. </domain>
  141.