# ===================================================================== # Example HVM guest configuration # ===================================================================== # # This is a fairly minimal example of what is required for an # HVM guest. For a more complete guide see xl.cfg(5) # This configures an HVM rather than PV guest builder = "hvm" name = "nas.hvm" device_model_version = 'qemu-xen' bios = 'seabios' #device_model_override = '/usr/lib/xen-4.4/bin/qemu-dm' #device_model_version = 'qemu-xen-traditional' #device_model_stubdomain_override = 1 # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. # The default behavior is to generate a new UUID each time the guest is started. #uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" # Enable Microsoft Hyper-V compatibile paravirtualisation / # enlightenment interfaces. Turning this on can improve Windows guest # performance and is therefore recommended viridian = 0 # Initial memory allocation (MB) memory = 4098 # Maximum memory (MB) # If this is greater than `memory' then the slack will start ballooned # (this assumes guest kernel support for ballooning) maxmem = 4098 # Number of VCPUS vcpus = 2 cpus = "2-3" # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown vif = [ 'mac=00:16:3e:5f:7b:c4, bridge=xenbr0, model=e1000' ] # Disk Devices # A list of `diskspec' entries as described in # docs/misc/xl-disk-configuration.txt #disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ] disk = [ 'file:/etc/xen/images/boot.img,sdf', 'file:/etc/xen/images/os.img,sdg' ] # Guest VGA console configuration, either SDL or VNC #sdl = 1 vnc = 1 # Absolute cursor support usbdevice = "tablet" localtime = '1' # Shutdown options on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" # Boot order boot = 'dc' # HVM Acceleration xen_platform_pci=1 pae=1 nx=1 acpi=1 pci = [ '01:00.0' ] vnclisten = '0.0.0.0' vncpasswd= ''