BSDCan2016 - v1.1.24a

BSDCan 2016
The Technical BSD Conference

Mike Belopuhov
Day Talks #1 - 10 June - 2016-06-10
Room DMS 1160
Start time 14:45
Duration 01:00
ID 693
Event type Lecture
Track Hacking
Language used for presentation English

Implementation of Xen PVHVM drivers in OpenBSD

OpenBSD 5.9 will include a native implementation of Xen PVHVM drivers. It was written from scratch to facilitate simplicity and maintainability. One of major goals of this effort is to run OpenBSD images in the Amazon cloud.

Xen virtual machine monitor provides two types of guest hosting depending on the underlying hardware: paravirtualized and hardware assisted virtualization mode when a CPU with virtualization extensions (AMD-V or Intel VT-x) is used.

At the same time guests running in the hardware assisted virtualization mode are not restricted access to the paravirtualized facilities via the hypercall interface normally used by the paravirtualized instances.

We will explore what facilities are provided and how an HVM guest can combine emulated PCI device tree and interfaces provided via paravirtualization on the example of an OpenBSD PVHVM driver implementation.