Installation guide

Chapter 32. Xen configuration files
Red Hat Enterprise Linux uses libvirt configuration files for most tasks. Some users may need Xen
configuration files which contain the following standard variables. Configuration items within these
files must be enclosed in single quotes('). These configuration files reside in the /etc/xen directory.
The table below, Table 32.1, ā€œ Xen configuration file referenceā€ , is formatted output from xm create
--help_config.
T ab le 32.1. Xen co n f ig u rat io n file ref eren ce
Paramet er Descrip t io n
vncpasswd
=
NAME
Password for VNC console on HVM domain.
vncviewer=
no
|
yes
Spawn a vncviewer listening for a vnc server in
the domain. The address of the vncviewer is
passed to the domain on the kernel command
line using
VNC_SERVER=<host>:<port>
. The
port used by vnc is 5500 + DISPLAY. A display
value with a free port is chosen if possible. Only
valid when vnc=1.
vncconsole
=
no
|
yes
Spawn a vncviewer process for the domain's
graphical console. Only valid when vnc=1.
name
=
NAME
Domain name. Must be unique.
bootloader
=
FILE
Path to boot loader.
bootargs
=
NAME
Arguments to pass to boot loader.
bootentry
=
NAME
DEPRECATED. Entry to boot via boot loader.
Use
bootargs
.
kernel
=
FILE
Path to kernel image.
ramdisk
=
FILE
Path to ramdisk.
features
=
FEATURES
Features to enable in guest kernel
builder
=
FUNCTION
Function to use to build the domain.
memory
=
MEMORY
Domain memory in MB.
maxmem
=
MEMORY
Maximum domain memory in MB.
shadow_memory
=
MEMORY
Domain shadow memory in MB.
cpu
=
CPU
CPU which hosts VCPU0.
cpus
=
CPUS
CPUS to run the domain on.
pae
=
PAE
Disable or enable PAE of HVM domain.
acpi
=
ACPI
Disable or enable ACPI of HVM domain.
apic
=
APIC
Disable or enable APIC of HVM domain.
vcpus
=
VCPUs
The number of Virtual CPUS in domain.
cpu_weight
=
WEIGHT
Set the new domain's cpu weight. WEIGHT is a
float that controls the domain's share of the cpu.
restart
=
onreboot
|
always
|
never
Deprecated. Use
on_poweroff,
on_reboot
,
and
on_crash
instead. Whether the domain
should be restarted on exit. -
onreboot
: restart
on exit with shutdown code reboot - always:
always restart on exit, ignore exit code - never:
never restart on exit, ignore exit code
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
300