Xen

Xen Guest Config File

Options for config entries for a guest:

Paravirtualised (PV) Guest Specific Options

Paravirtulized is the default type of guest emulation.

Disks

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'