Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virt: vmgenid: recognize new CID added by Hyper-V

In the Windows spec for VM Generation ID, the originally specified CID
is longer than allowed by the ACPI spec. Hyper-V has added "VMGENCTR" as
a second valid CID that is conformant, while retaining the original CID
for compatibility with Windows guests.

Add this new CID to the list recognized by the driver.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

authored by

Michael Kelley and committed by
Jason A. Donenfeld
0396e46d dd7aa36e

+1
+1
drivers/virt/vmgenid.c
··· 78 78 } 79 79 80 80 static const struct acpi_device_id vmgenid_ids[] = { 81 + { "VMGENCTR", 0 }, 81 82 { "VM_GEN_COUNTER", 0 }, 82 83 { } 83 84 };