dave.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <domain type='kvm'>
  2. <name>dave</name>
  3. <uuid>05f1debe-4e38-4f3d-10a0-c07fbb70d816</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. <features>
  14. <acpi/>
  15. <apic/>
  16. <pae/>
  17. </features>
  18. <clock offset='utc'/>
  19. <on_poweroff>destroy</on_poweroff>
  20. <on_reboot>restart</on_reboot>
  21. <on_crash>restart</on_crash>
  22. <devices>
  23. <emulator>/usr/bin/kvm</emulator>
  24. <disk type='file' device='disk'>
  25. <driver name='qemu' type='qcow2' cache='writethrough'/>
  26. <source file='/var/lib/libvirt/images/dave.qcow2'/>
  27. <target dev='vda' bus='virtio'/>
  28. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  29. </disk>
  30. <controller type='usb' index='0'>
  31. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  32. </controller>
  33. <filesystem type='mount' accessmode='mapped'>
  34. <source dir='/var/run/kvm-swan-hostfs'/>
  35. <target dir='/hostshare'/>
  36. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  37. </filesystem>
  38. <interface type='network'>
  39. <mac address='52:54:00:b9:15:a9'/>
  40. <source network='vnet1'/>
  41. <target dev='dave-eth0'/>
  42. <model type='virtio'/>
  43. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  44. </interface>
  45. <serial type='pty'>
  46. <target port='0'/>
  47. </serial>
  48. <console type='pty'>
  49. <target type='virtio' port='0'/>
  50. </console>
  51. <input type='tablet' bus='usb'/>
  52. <input type='mouse' bus='ps2'/>
  53. <graphics type='vnc' port='-1' autoport='yes'/>
  54. <sound model='ich6'>
  55. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  56. </sound>
  57. <video>
  58. <model type='cirrus' vram='9216' heads='1'/>
  59. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  60. </video>
  61. <memballoon model='virtio'>
  62. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  63. </memballoon>
  64. </devices>
  65. </domain>