moon.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <domain type='kvm'>
  2. <name>moon</name>
  3. <uuid>b5e00ad3-1c81-3b2a-7f66-cdf8727b3c65</uuid>
  4. <memory unit='KiB'>131072</memory>
  5. <currentMemory unit='KiB'>131072</currentMemory>
  6. <vcpu placement='static'>1</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc'>hvm</type>
  9. <kernel>/var/run/kvm-swan-kernel</kernel>
  10. <cmdline>root=/dev/vda1 loglevel=1 console=hvc0 net.ifnames=0</cmdline>
  11. <boot dev='hd'/>
  12. </os>
  13. <cpu>
  14. <model fallback='allow'>core2duo</model>
  15. <feature policy='optional' name='aes'/>
  16. <feature policy='optional' name='pclmuldq'/>
  17. </cpu>
  18. <features>
  19. <acpi/>
  20. <apic/>
  21. <pae/>
  22. </features>
  23. <clock offset='utc'/>
  24. <on_poweroff>destroy</on_poweroff>
  25. <on_reboot>restart</on_reboot>
  26. <on_crash>restart</on_crash>
  27. <devices>
  28. <emulator>/usr/bin/kvm</emulator>
  29. <disk type='file' device='disk'>
  30. <driver name='qemu' type='qcow2' cache='writethrough'/>
  31. <source file='/var/lib/libvirt/images/moon.qcow2'/>
  32. <target dev='vda' bus='virtio'/>
  33. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  34. </disk>
  35. <controller type='usb' index='0'>
  36. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  37. </controller>
  38. <filesystem type='mount' accessmode='mapped'>
  39. <source dir='/var/run/kvm-swan-hostfs'/>
  40. <target dir='/hostshare'/>
  41. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  42. </filesystem>
  43. <interface type='network'>
  44. <mac address='52:54:00:43:e3:35'/>
  45. <source network='vnet2'/>
  46. <target dev='moon-eth1'/>
  47. <model type='virtio'/>
  48. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  49. </interface>
  50. <interface type='network'>
  51. <mac address='52:54:00:c7:b8:b0'/>
  52. <source network='vnet1'/>
  53. <target dev='moon-eth0'/>
  54. <model type='virtio'/>
  55. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  56. </interface>
  57. <serial type='pty'>
  58. <target port='0'/>
  59. </serial>
  60. <console type='pty'>
  61. <target type='virtio' port='0'/>
  62. </console>
  63. <input type='tablet' bus='usb'/>
  64. <input type='mouse' bus='ps2'/>
  65. <graphics type='vnc' port='-1' autoport='yes'/>
  66. <sound model='ich6'>
  67. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  68. </sound>
  69. <video>
  70. <model type='cirrus' vram='9216' heads='1'/>
  71. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  72. </video>
  73. <memballoon model='virtio'>
  74. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  75. </memballoon>
  76. </devices>
  77. </domain>