mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
These are much more minimal than the equivalent xmexamples but should eventually reference a more complete document describing the available options. These are based on the guest configuration files that I actually use day-to-day. There is an unresolved reference to a document describing the complete syntax. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# =====================================================================
|
|
# Example PV Linux guest configuration
|
|
# =====================================================================
|
|
#
|
|
# This is a fairly minimal example of what is required for a
|
|
# Paravirtualised Linux guest. For a more complete guide see <XXX Document TBD>
|
|
|
|
# Guest name
|
|
name = "example.pvlinux"
|
|
|
|
# 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"
|
|
|
|
# Kernel image to boot
|
|
kernel = "/boot/vmlinuz"
|
|
|
|
# Ramdisk (optional)
|
|
#ramdisk = "/boot/initrd.gz"
|
|
|
|
# Kernel command line options
|
|
extra = "root=/dev/xvda1"
|
|
|
|
# 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' ]
|