1# =====================================================================
2# Example PV Linux guest configuration
3# =====================================================================
4#
5# This is a fairly minimal example of what is required for a
6# Paravirtualised Linux guest. For a more complete guide see xl.cfg(5)
7
8# Guest name
9name = "example.pvlinux"
10
11# 128-bit UUID for the domain as a hexadecimal number.
12# Use "uuidgen" to generate one if required.
13# The default behavior is to generate a new UUID each time the guest is started.
14#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
15
16# Kernel image to boot
17kernel = "/boot/vmlinuz"
18
19# Ramdisk (optional)
20#ramdisk = "/boot/initrd.gz"
21
22# Kernel command line options
23extra = "root=/dev/xvda1"
24
25# Initial memory allocation (MB)
26memory = 128
27
28# Maximum memory (MB)
29# If this is greater than `memory' then the slack will start ballooned
30# (this assumes guest kernel support for ballooning)
31#maxmem = 512
32
33# Number of VCPUS
34vcpus = 2
35
36# Network devices
37# A list of 'vifspec' entries as described in
38# docs/misc/xl-network-configuration.markdown
39vif = [ '' ]
40
41# Disk Devices
42# A list of `diskspec' entries as described in
43# docs/misc/xl-disk-configuration.txt
44disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ]
45