VMGENC(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

okay so bestie, this is VMGENC(4) from the Kernel Interfaces Manual β€” the page for the ACPI virtual machine generation ID counter. It's short, it's iconic, and it's lowkey doing important security work. πŸ’…βœ¨

πŸ’– NAME πŸ’–

vmgenc β€” ACPI virtual machine generation ID counter πŸŽ€

🌸 SYNOPSIS 🌸

Kernel config, bestie:

device vmgenc

And in loader.conf(5):

vmgenc_load="YES"

πŸ¦‹ DESCRIPTION πŸ¦‹

The vmgenc driver provides support for the Virtual Machine Generation ID, a 128-bit unique identifier exposed by the hypervisor via ACPI. no cap.

The hypervisor changes this identifier whenever the virtual machine is cloned, restored from a snapshot, or otherwise duplicated.

When a generation ID change is detected, the vmgenc driver feeds the new identifier into the kernel entropy pool via random(4), ensuring that duplicated virtual machines do not share cryptographic state. literally the whole point, and it ate. πŸ”₯

The driver also sends a devctl(4) event and an internal kernel notification so that other subsystems can respond to the duplication. teamwork makes the dream work. 🫢

fr fr, the Virtual Machine Generation ID specification is supported by QEMU, VMware ESXi, Microsoft Hyper-V, and Xen.

πŸ”₯ SYSCTL VARIABLES πŸ”₯

The following variable is available:

  • dev.vmgenc.%d.guid β€” the current cached VM generation counter as a 128-bit value. This value is updated each time the hypervisor signals a generation change.

πŸ‘€ SEE ALSO πŸ‘€

acpi(4), random(4)

πŸŽ€ HISTORY πŸŽ€

The vmgenc driver first appeared in FreeBSD 13.0. periodt.

πŸ‘‘ AUTHORS πŸ‘‘

The vmgenc driver was written by Conrad Meyer <cem@FreeBSD.org>. πŸ‘‘

This manual page was written by Christos Longros <chris.longros@gmail.com>. 🫢


okay bye bestie β€” this page came from Debian and is dated March 21, 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from