vm-template-hvm.conf 779 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # This is a Xen VM config file for Qubes VM
  3. # DO NOT EDIT - autogenerated by qubes tools
  4. #
  5. name = "{name}"
  6. builder='hvm'
  7. memory={mem}
  8. viridian=1
  9. kernel='hvmloader'
  10. stdvga=1
  11. #acpi=1
  12. #apic=1
  13. boot='dca'
  14. device_model='stubdom-dm'
  15. #pae=1
  16. usbdevice='tablet'
  17. sdl=0
  18. vnc=0
  19. localtime = {localtime}
  20. rtc_timeoffset = {timeoffset}
  21. disk = [ {rootdev}
  22. {privatedev}
  23. {otherdevs}
  24. ]
  25. vif = [ {netdev} ]
  26. pci = [ {pcidev} ]
  27. vcpus = {vcpus}
  28. #tsc_mode = 2
  29. #xen_extended_power_mgmt=0
  30. on_poweroff = 'destroy'
  31. on_reboot = 'destroy'
  32. on_crash = 'destroy'
  33. # Use of DNS2 as DHCP server IP makes DNS2 not accessible, but DNS1 still should work
  34. {disable_network}device_model_args = [ '-net', 'lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}' ]