Chapter 7. Using Event Channels

Event channels are the primitive mechanism for asynchronous notifications within Xen. They are used in conjunction with ring buffers in shared memory pages to provide an efficient message passing mechanism for communicating between the front and back ends of a split device driver.

This chapter will explore the similarities and differences between Xen events and software and hardware interrupts. We will look at how event channels are bound and how the end points are used, learning both how to signal an event channel, and handle the event that is raised.

7.1. Events and Interrupts

Events are the standard mechanism for delivering notifications from the hypervisor to guests, or between guests. Conceptually, they are ...

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.