Chapter 9. Supporting the Core Devices

There are two devices in Xen that can be regarded as “core”—the block and network devices. The block device allows a guest to have a persistent store, preventing the state from being lost between reboots, whereas the network device allows it to communicate with the rest of the world. Between the two, they allow a Xen guest to provide a service to the user of the system.

9.1. The Virtual Block Device Driver

All but the most trivial guest will need to support the block device driver. This driver is used to present an interface to an abstract block device, typically a virtual hard disk. This can be backed by various things: real disks, individual partitions, or even files on a host filesystem.

The boot process ...

Get The Definitive Guide to the Xen Hypervisor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.