xen-vm-template-hvm.xml 996 B

123456789101112131415161718192021222324252627282930313233343536
  1. <domain type='xen'>
  2. <name>{name}</name>
  3. <uuid>{uuid}</uuid>
  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. <!-- server_ip is the address of stubdomain. It hosts it's own DNS server. -->
  13. {disable_network1}<cmdline>-net lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}</cmdline>{disable_network2}
  14. </os>
  15. <features>
  16. <pae/>
  17. <acpi/>
  18. <apic/>
  19. <viridian/>
  20. </features>
  21. <clock offset='variable' adjustment='{timeoffset}' basis='{time_basis}'/>
  22. <on_poweroff>destroy</on_poweroff>
  23. <on_reboot>destroy</on_reboot>
  24. <on_crash>destroy</on_crash>
  25. <devices>
  26. <emulator type='stubdom'/>
  27. {rootdev}
  28. {privatedev}
  29. {otherdevs}
  30. {netdev}
  31. {pcidevs}
  32. <input type='tablet' bus='usb'/>
  33. <video type='vga'/>
  34. </devices>
  35. </domain>