XEN(4)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1, nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is the xen(4) page, and the NAME line is xen β€” Xen Hypervisor Support. That's the whole name, and yes, it's giving β€œhypervisor but make it a group project.” πŸ’–

✨ SYNOPSIS ✨

FreeBSD supports running both as a Xen guest and as a Xen host on amd64 hardware. Guest support is limited to HVM and PVH modes, while host support is limited to PVH mode only.

Xen support is built by default in the i386 and amd64 GENERIC kernels; note however that host mode is only available on amd64.

bestie, quick vibe check: host mode is amd64-only. No cap, fr fr. 🫢

πŸ’… DESCRIPTION πŸ’…

ngl, the Xen Hypervisor lets multiple virtual machines run on a single computer system β€” main character energy, periodt. ✨

When first released, Xen required that i386 kernels be compiled "para-virtualized" as the x86 instruction set was not fully virtualizable. Primarily, para-virtualization modifies the virtual memory system to use hypervisor calls (hypercalls) rather than direct hardware instructions to modify the TLB, although para-virtualized device drivers were also required to access resources such as virtual network interfaces and disk devices.

With later instruction set extensions from AMD and Intel to support fully virtualizable instructions, unmodified virtual memory systems can also be supported; this is referred to as hardware-assisted virtualization (HVM and PVH). HVM configurations may either rely on transparently emulated hardware peripherals, or para-virtualized drivers, which are aware of virtualization, and hence able to optimize certain behaviors to improve performance or semantics. PVH configurations rely on para-virtualized drivers exclusively for IO β€” fr fr.

FreeBSD Para-virtualized device drivers are required in order to support certain functionality, such as processing management requests, returning idle physical memory pages to the hypervisor, etc. πŸ’œ

πŸŽ€ Xen device drivers πŸŽ€

These para-virtualized drivers are supported:

  • balloon β€” allow physical memory pages to be returned to the hypervisor as a result of manual tuning or automatic policy. It's giving β€œgive the RAM back, bestie.” 🎈
  • blkback β€” exports local block devices or files to other Xen domains where they can then be imported via blkfront. Sharing is caring, but make it block storage. πŸ’½
  • blkfront β€” import block devices from other Xen domains as local block devices, to be used for file systems, swap, etc. Your fave imported goods, lowkey. πŸ›οΈ
  • console β€” export the low-level system console via the Xen console service. The backstage pass of the kernel world. 🎟️
  • control β€” process management operations from Domain 0, including power off, reboot, suspend, crash, and halt requests. The responsible older sibling of the group chat. πŸ‘‘
  • evtchn β€” expose Xen events via the /dev/xen/evtchn special device. Event notifications but make it a special file. πŸ””
  • gntdev β€” allow access to the grant table interface via the /dev/xen/gntdev special device. The grant table is the VIP list, iykyk. πŸͺͺ
  • netback β€” export local network interfaces to other Xen domains where they can be imported via netfront. Networking, but shared. 🌐
  • netfront β€” import network interfaces from other Xen domains as local network interfaces, which may be used for IPv4, IPv6, etc. Yes bestie, IPv6 too. πŸ›œ
  • privcmd β€” allow issuing hypercalls via the /dev/xen/privcmd special device. Hypercall access, very β€œI know a guy.” πŸ•ΆοΈ
  • timer β€” implementation of a one-shot high resolution per-CPU timer using the hypercall interface. Tick tock, but per-CPU and high resolution. ⏱️
  • acpi cpu β€” when running as a host forwards power management related information from ACPI to the hypervisor for better performance management. Power info handoff, slay. πŸ”‹
  • xenpci β€” represents the Xen PCI device, an emulated PCI device that is exposed to HVM domains. This device allows detection of the Xen hypervisor, and provides interrupt and shared memory services required to interact with the hypervisor. The little PCI device that could. 🧚
  • xenstore β€” information storage space shared between domains. Shared notes app for Xen domains. πŸ“

πŸ¦‹ HISTORY πŸ¦‹

Support for xen first appeared in FreeBSD 8.1 β€” iconic. Support for host mode was added in 11.0 . πŸ•°οΈ

πŸ‘‘ AUTHORS πŸ‘‘

FreeBSD support for Xen was first added by Kip Macy <kmacy@FreeBSD.org> and Doug Rabson <dfr@FreeBSD.org>. Further refinements were made by Justin Gibbs <gibbs@FreeBSD.org>, Adrian Chadd <adrian@FreeBSD.org>, Colin Percival <cperciva@FreeBSD.org>, and Roger Pau MonnΓ© <royger@FreeBSD.org>. This manual page was written by Robert Watson <rwatson@FreeBSD.org>, and Roger Pau MonnΓ© <royger@FreeBSD.org>. Absolute icons, every one. πŸ’… iykyk.


The footer energy is Debian and January 8, 2024 β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from