1# ===================================================================== 2# Example HVM guest configuration 3# ===================================================================== 4# 5# This is a fairly minimal example of what is required for an 6# HVM guest. For a more complete guide see xl.cfg(5) 7 8# This configures an HVM rather than PV guest 9type = "hvm" 10 11# Guest name 12name = "example.hvm" 13 14# 128-bit UUID for the domain as a hexadecimal number. 15# Use "uuidgen" to generate one if required. 16# The default behavior is to generate a new UUID each time the guest is started. 17#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" 18 19# Enable Microsoft Hyper-V compatibile paravirtualisation / 20# enlightenment interfaces. Turning this on can improve Windows guest 21# performance and is therefore recommended 22#viridian = 1 23 24# Initial memory allocation (MB) 25memory = 128 26 27# Maximum memory (MB) 28# If this is greater than `memory' then the slack will start ballooned 29# (this assumes guest kernel support for ballooning) 30#maxmem = 512 31 32# Number of VCPUS 33vcpus = 2 34 35# Network devices 36# A list of 'vifspec' entries as described in 37# docs/misc/xl-network-configuration.markdown 38vif = [ '' ] 39 40# Disk Devices 41# A list of `diskspec' entries as described in 42# docs/misc/xl-disk-configuration.txt 43disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ] 44 45# Guest VGA console configuration, either SDL or VNC 46sdl = 1 47#vnc = 1 48