VMGENC(4)
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 π
π 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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2026 Christos Longros <chris.longros@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms