Guest User

Untitled

a guest
Jul 19th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>vm1</name>
  3. <uuid>94503d3c-43db-42c5-be78-4781fcaf6de2</uuid>
  4. <memory unit="KiB">16777216</memory>
  5. <currentMemory unit="KiB">16777216</currentMemory>
  6. <vcpu placement="static">8</vcpu>
  7. <os>
  8. <type arch="x86_64" machine="pc-i440fx-10.0">hvm</type>
  9. <boot dev="hd"/>
  10. </os>
  11. <features>
  12. <acpi/>
  13. <apic/>
  14. <vmport state="off"/>
  15. </features>
  16. <cpu mode="host-passthrough" check="none" migratable="on"/>
  17. <clock offset="utc">
  18. <timer name="rtc" tickpolicy="catchup"/>
  19. <timer name="pit" tickpolicy="delay"/>
  20. <timer name="hpet" present="no"/>
  21. </clock>
  22. <on_poweroff>destroy</on_poweroff>
  23. <on_reboot>restart</on_reboot>
  24. <on_crash>destroy</on_crash>
  25. <pm>
  26. <suspend-to-mem enabled="no"/>
  27. <suspend-to-disk enabled="no"/>
  28. </pm>
  29. <devices>
  30. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  31. <disk type="file" device="disk">
  32. <driver name="qemu" type="qcow2" discard="unmap"/>
  33. <source file="/var/lib/libvirt/images/vm1.qcow2"/>
  34. <target dev="hda" bus="ide"/>
  35. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  36. </disk>
  37. <disk type="file" device="cdrom">
  38. <driver name="qemu" type="raw"/>
  39. <target dev="hdb" bus="ide"/>
  40. <readonly/>
  41. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  42. </disk>
  43. <controller type="usb" index="0" model="ich9-ehci1">
  44. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x7"/>
  45. </controller>
  46. <controller type="usb" index="0" model="ich9-uhci1">
  47. <master startport="0"/>
  48. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0" multifunction="on"/>
  49. </controller>
  50. <controller type="usb" index="0" model="ich9-uhci2">
  51. <master startport="2"/>
  52. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x1"/>
  53. </controller>
  54. <controller type="usb" index="0" model="ich9-uhci3">
  55. <master startport="4"/>
  56. <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x2"/>
  57. </controller>
  58. <controller type="pci" index="0" model="pci-root"/>
  59. <controller type="ide" index="0">
  60. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  61. </controller>
  62. <controller type="virtio-serial" index="0">
  63. <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  64. </controller>
  65. <interface type="network">
  66. <mac address="52:54:00:13:58:64"/>
  67. <source network="default"/>
  68. <model type="e1000"/>
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  70. </interface>
  71. <serial type="pty">
  72. <target type="isa-serial" port="0">
  73. <model name="isa-serial"/>
  74. </target>
  75. </serial>
  76. <console type="pty">
  77. <target type="serial" port="0"/>
  78. </console>
  79. <channel type="spicevmc">
  80. <target type="virtio" name="com.redhat.spice.0"/>
  81. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  82. </channel>
  83. <input type="tablet" bus="usb">
  84. <address type="usb" bus="0" port="1"/>
  85. </input>
  86. <input type="mouse" bus="ps2"/>
  87. <input type="keyboard" bus="ps2"/>
  88. <graphics type="spice" autoport="yes">
  89. <listen type="address"/>
  90. <image compression="off"/>
  91. </graphics>
  92. <sound model="ich6">
  93. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
  94. </sound>
  95. <audio id="1" type="spice"/>
  96. <video>
  97. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  98. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  99. </video>
  100. <redirdev bus="usb" type="spicevmc">
  101. <address type="usb" bus="0" port="2"/>
  102. </redirdev>
  103. <redirdev bus="usb" type="spicevmc">
  104. <address type="usb" bus="0" port="3"/>
  105. </redirdev>
  106. <memballoon model="virtio">
  107. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  108. </memballoon>
  109. </devices>
  110. </domain>
  111.  
Advertisement
Add Comment
Please, Sign In to add comment