XEN(4) | Device Drivers Manual | XEN(4) |
xen
— Xen domU
nexus device
xen0 at pvbus?
xen
driver performs HVM domU guest
initialization, provides abstraction for virtual Xen interrupts, access to
the XenStore configuration storage as well as a device probing facility for
paravirtualized devices such as disk and network interfaces.
When running under XenServer, to let the host know that the guest has finished initializing and to allow graceful shutdown, set the following XenStore properties with hostctl(8) in rc.local(8):
ostype=$(sysctl -n kern.ostype) osrelease=$(sysctl -n kern.osrelease) # XenServer Tools version hostctl attr/PVAddons/MajorVersion 6 hostctl attr/PVAddons/MinorVersion 2 hostctl attr/PVAddons/MicroVersion 0 hostctl attr/PVAddons/BuildVersion 76888 hostctl attr/PVAddons/Installed 1 # OS version hostctl data/os_name "$ostype $osrelease" hostctl data/os_uname $osrelease hostctl data/os_distro $ostype # Update XenStore hostctl data/updated 1
The xen
driver first appeared in
OpenBSD 5.9.
The xen
driver was written by
Mike Belopuhov
<mikeb@openbsd.org>
from scratch, inspired by the FreeBSD
implementation.
July 21, 2017 | OpenBSD-current |