]> git.baikalelectronics.ru Git - kernel.git/commit
virt: vmgenid: recognize new CID added by Hyper-V
authorMichael Kelley <mikelley@microsoft.com>
Thu, 24 Mar 2022 19:20:21 +0000 (12:20 -0700)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 25 Mar 2022 14:49:40 +0000 (08:49 -0600)
commitb73b473d05d63c0af461047478fd94dd55439e1b
treeb9d180748b1552b144f0499e755932ac8cbb25d9
parent4261e81971e8013a98b58437f5c7fd2ac5473d9a
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>
drivers/virt/vmgenid.c