opensuse-config.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <domain type='kvm'>
  2. <name>opensuse</name>
  3. <uuid>6cf78ab0-427e-4b95-a1b0-720f4f6bdeb4</uuid>
  4. <memory unit='KiB'>4296704</memory>
  5. <currentMemory unit='KiB'>4296704</currentMemory>
  6. <vcpu placement='static'>2</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-i440fx-6.2'>hvm</type>
  9. <boot dev='cdrom'/>
  10. </os>
  11. <features>
  12. <acpi/>
  13. <apic/>
  14. </features>
  15. <cpu mode='host-model' check='partial'/>
  16. <clock offset='utc'>
  17. <timer name='rtc' tickpolicy='catchup'/>
  18. <timer name='pit' tickpolicy='delay'/>
  19. <timer name='hpet' present='no'/>
  20. </clock>
  21. <on_poweroff>destroy</on_poweroff>
  22. <on_reboot>restart</on_reboot>
  23. <on_crash>destroy</on_crash>
  24. <pm>
  25. <suspend-to-mem enabled='no'/>
  26. <suspend-to-disk enabled='no'/>
  27. </pm>
  28. <devices>
  29. <emulator>/usr/bin/kvm</emulator>
  30. <disk type='file' device='disk'>
  31. <driver name='qemu' type='qcow2'/>
  32. <source file='/var/lib/libvirt/images/opensuse.qcow2'/>
  33. <target dev='vda' bus='virtio'/>
  34. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  35. </disk>
  36. <disk type='file' device='cdrom'>
  37. <driver name='qemu' type='raw'/>
  38. <source file='/var/lib/libvirt/images/isos/openSUSE-Leap-Micro.x86_64-Default-SelfInstall.iso'/>
  39. <target dev='hda' bus='ide'/>
  40. <readonly/>
  41. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  42. </disk>
  43. <controller type='usb' index='0' model='piix3-uhci'>
  44. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  45. </controller>
  46. <controller type='pci' index='0' model='pci-root'/>
  47. <controller type='ide' index='0'>
  48. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  49. </controller>
  50. <interface type='network'>
  51. <mac address='52:54:00:0e:42:04'/>
  52. <source network='default'/>
  53. <model type='virtio'/>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  55. </interface>
  56. <serial type='pty'>
  57. <target type='isa-serial' port='0'>
  58. <model name='isa-serial'/>
  59. </target>
  60. </serial>
  61. <console type='pty'>
  62. <target type='serial' port='0'/>
  63. </console>
  64. <input type='tablet' bus='usb'>
  65. <address type='usb' bus='0' port='1'/>
  66. </input>
  67. <input type='mouse' bus='ps2'/>
  68. <input type='keyboard' bus='ps2'/>
  69. <graphics type='vnc' port='-1' autoport='yes'>
  70. <listen type='address'/>
  71. </graphics>
  72. <audio id='1' type='none'/>
  73. <video>
  74. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  75. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  76. </video>
  77. <memballoon model='virtio'>
  78. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  79. </memballoon>
  80. </devices>
  81. </domain>