Options for config entries for a guest:
generic
uses the default, which is a PV domain, with hvm
being the second option.Paravirtulized is the default type of guest emulation.
bootloader
must be usedpygrub
, which is an emulation of either grub, grub2, and syslinux.root=
to pass to kernel (fex: root /dev/xvda3
in Xen config becomes root=/dev/xvda3
in kernel command line)acpi=off
)
Format: disk = [ “DISK_SPEC_STRING”, “DISK_SPEC_STRING”, … ]
Give the guest read-write access to a device, and set it as /dev/xvda
:
disk= [ 'phy:/dev/sdc,xvda,rw' ]
Booting from CD
Same configuration as above, but with an ISO attached, as device /dev/hdc
. Note that pygrub
will boot from the first device in the list.
disk= [ 'file:/var/isos/gentoo.iso,hdc:cdrom,r', 'phy:/dev/sdc,xvda,rw' ]
If you'd like to boot from the ISO, add this to your Xen guest config:
boot = 'c'