xen-vm-template-hvm.xml 908 B

1234567891011121314151617181920212223242526272829303132333435
  1. <domain type='xen'>
  2. <name>{name}</name>
  3. {uuidnode}
  4. <memory unit='MiB'>{maxmem}</memory>
  5. <currentMemory unit='MiB'>{mem}</currentMemory>
  6. <vcpu placement='static'>{vcpus}</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='xenfv'>hvm</type>
  9. <loader>hvmloader</loader>
  10. <boot dev='cdrom'/>
  11. <boot dev='hd'/>
  12. {disable_network1}<cmdline>-net lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}</cmdline>{disable_network2}
  13. </os>
  14. <features>
  15. <pae/>
  16. <acpi/>
  17. <apic/>
  18. <viridian/>
  19. </features>
  20. <clock offset='variable' adjustment='{timeoffset}' basis='{time_basis}'/>
  21. <on_poweroff>destroy</on_poweroff>
  22. <on_reboot>destroy</on_reboot>
  23. <on_crash>destroy</on_crash>
  24. <devices>
  25. <emulator type='stubdom'/>
  26. {rootdev}
  27. {privatedev}
  28. {otherdevs}
  29. {netdev}
  30. {pcidevs}
  31. <input type='tablet' bus='usb'/>
  32. <video type='vga'/>
  33. </devices>
  34. </domain>