The Book of Xen - Part 22
Library

Part 22

blkif=bool, netif=bool netif=bool, tpmif=bool tpmif=bool These three variables are all Booleans. If they are enabled, the builder will make the domain a backend for the specified device type.To use a non-dom0 backend, specify the backend backend parameter in the definition for your device of choice. parameter in the definition for your device of choice.

boot=string Set boot boot to one of a, b, c, or d to boot from the first floppy, second floppy, hard drive, or CD drive, respectively. to one of a, b, c, or d to boot from the first floppy, second floppy, hard drive, or CD drive, respectively.

fda, fdb=string fdb=string This option specifies the disk image or device file used to emulate the first or second floppy drive-fda and fdb, respectively.

guest_os_type=string This is the type of the guest OS. It's a free-form identifier, limited to eight characters.

ioports=FROM-TO, irq=IRQ irq=IRQ These two options instruct Xen to forward a range of (real) ioports and an IRQ to the domU. The main use for this option that we've seen is for serial ports, so that the domU has access to a physical serial port on the server.

keymap=string The keymap keymap option specifies a keymap file by name. Xen (or rather, the device model) keeps its keymaps under option specifies a keymap file by name. Xen (or rather, the device model) keeps its keymaps under /usr/share/xen/qemu/keymaps /usr/share/xen/qemu/keymaps. On our machines, the default is en-us en-us.

localtime=bool This is a simple Boolean option indicating whether the hardware clock is set to local time or GMT.

monitor=string If monitor monitor is set to is set to yes yes, the device model will attach the QEMU monitor, which you can use to give commands to the device model. Use CTRL-ALT-2 to break out to the monitor. From there, you can issue commands-try help help.

nographic=bool This indicates whether the device model should use graphics.

serial serial='file:/filename'

serial='/dev/pts/n'

serial='pty'

serial='stdio'The serial serial option specifies a file (or file-like object, such as a named pipe) to use as an emulated serial port. Other options are to have Xen pick a option specifies a file (or file-like object, such as a named pipe) to use as an emulated serial port. Other options are to have Xen pick a pty pty, or use STDIN and STDOUT for its serial port; none none is also a valid option. is also a valid option.

soundhw=bool This indicates whether to emulate an audio device.

stdvga=bool If stdvga stdvga is set to is set to yes yes, the device model will use standard VGA emulation. If it's set to no no or omitted, it'll use emulated Cirrus Logic graphics instead. Ordinarily, the default is just fine. or omitted, it'll use emulated Cirrus Logic graphics instead. Ordinarily, the default is just fine.

usb=bool This is a Boolean value that indicates whether to emulate USB.

usbdevice=HOST:id:id This item indicates the name of the USB device to add.

[87] Terry Pratchett, in Terry Pratchett, in Night Watch Night Watch, has this to say on the subject of pa.s.swords: "Every pa.s.sword was 'swordfish'! Whenever anyone tried to think of a word that no one would ever guess, they always chose 'swordfish.' It was just one of those strange quirks of the human mind."

[88] "It's not stupid, it's advanced." -Invader Zim "It's not stupid, it's advanced." -Invader Zim

COLOPHON The Book of Xen Book of Xen is set in New Baskerville, TheSansMonoCondensed, Futura, and Dogma. is set in New Baskerville, TheSansMonoCondensed, Futura, and Dogma.

The book was printed and bound at Malloy Incorporated in Ann Arbor, Michigan. The paper is Glatfelter Spring Forge 60# Antique, which is certified by the Sustainable Forestry Initiative (SFI). The book uses a RepKover binding, which allows it to lay flat when open.