alice.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <domain type='kvm'>
  2. <name>alice</name>
  3. <uuid>1f35c25d-6a7b-4ee1-2461-d7e530e7b2a9</uuid>
  4. <memory unit='KiB'>163840</memory>
  5. <currentMemory unit='KiB'>163840</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/alice.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:9a:e2:de'/>
  40. <source network='vnet2'/>
  41. <target dev='alice-eth0'/>
  42. <model type='virtio'/>
  43. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  44. </interface>
  45. <interface type='network'>
  46. <mac address='52:54:00:3b:0c:d7'/>
  47. <source network='vnet1'/>
  48. <target dev='alice-eth1'/>
  49. <model type='virtio'/>
  50. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  51. </interface>
  52. <serial type='pty'>
  53. <target port='0'/>
  54. </serial>
  55. <console type='pty'>
  56. <target type='virtio' port='0'/>
  57. </console>
  58. <input type='tablet' bus='usb'/>
  59. <input type='mouse' bus='ps2'/>
  60. <graphics type='vnc' port='-1' autoport='yes'/>
  61. <sound model='ich6'>
  62. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  63. </sound>
  64. <video>
  65. <model type='cirrus' vram='9216' heads='1'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  67. </video>
  68. <memballoon model='virtio'>
  69. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  70. </memballoon>
  71. </devices>
  72. </domain>