lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1648149621-2335-1-git-send-email-mikelley@microsoft.com>
Date:   Thu, 24 Mar 2022 12:20:21 -0700
From:   Michael Kelley <mikelley@...rosoft.com>
To:     Jason@...c4.com, tytso@....edu, ardb@...nel.org,
        andy.shevchenko@...il.com, hdegoede@...hat.com, graf@...zon.com,
        rafael@...nel.org, linux-kernel@...r.kernel.org
Cc:     mikelley@...rosoft.com
Subject: [PATCH 1/1] 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@...rosoft.com>
---
 drivers/virt/vmgenid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/virt/vmgenid.c b/drivers/virt/vmgenid.c
index 0ae1a39..a1c467a 100644
--- a/drivers/virt/vmgenid.c
+++ b/drivers/virt/vmgenid.c
@@ -78,6 +78,7 @@ static void vmgenid_notify(struct acpi_device *device, u32 event)
 }
 
 static const struct acpi_device_id vmgenid_ids[] = {
+	{ "VMGENCTR", 0 },
 	{ "VM_GEN_COUNTER", 0 },
 	{ }
 };
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ