mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
dd7aa36e53
commit
0396e46dc4
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ static void vmgenid_notify(struct acpi_device *device, u32 event)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct acpi_device_id vmgenid_ids[] = {
|
static const struct acpi_device_id vmgenid_ids[] = {
|
||||||
|
{ "VMGENCTR", 0 },
|
||||||
{ "VM_GEN_COUNTER", 0 },
|
{ "VM_GEN_COUNTER", 0 },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue