Chapter 4. Using Grant Tables

Virtual machines do not exist in isolation. They must interact with others on the system for a number of reasons, not least of which is access to hardware. This chapter will examine the grant table mechanism, which allows memory pages to be transferred or shared between virtual machines.

This chapter will examine how to offer a page to another domain, and how to map an offered page. It will discuss briefly how split device drivers, discussed in more detail in Part II, use shared pages to communicate.

4.1. Sharing Memory

Shared memory is the easiest mechanism for interprocess communication (IPC) to implement on a single machine. Because each process’s address space is simply a subset of a common memory pool, memory ...

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.