mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
To use the new 'type' option. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# =====================================================================
|
|
# 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
|
|
type = "hvm"
|
|
|
|
# Guest name
|
|
name = "example.hvm"
|
|
|
|
# 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 = 1
|
|
|
|
# Initial memory allocation (MB)
|
|
memory = 128
|
|
|
|
# Maximum memory (MB)
|
|
# If this is greater than `memory' then the slack will start ballooned
|
|
# (this assumes guest kernel support for ballooning)
|
|
#maxmem = 512
|
|
|
|
# Number of VCPUS
|
|
vcpus = 2
|
|
|
|
# Network devices
|
|
# A list of 'vifspec' entries as described in
|
|
# docs/misc/xl-network-configuration.markdown
|
|
vif = [ '' ]
|
|
|
|
# Disk Devices
|
|
# A list of `diskspec' entries as described in
|
|
# docs/misc/xl-disk-configuration.txt
|
|
disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ]
|
|
|
|
# Guest VGA console configuration, either SDL or VNC
|
|
sdl = 1
|
|
#vnc = 1
|