Skip to content
Commit ad6bcdad authored by Babis Chalios's avatar Babis Chalios Committed by Greg Kroah-Hartman
Browse files

vmgenid: emit uevent when VMGENID updates



We receive an ACPI notification every time the VM Generation ID changes
and use the new ID as fresh randomness added to the entropy pool. This
commits emits a uevent every time we receive the ACPI notification, as a
means to notify the user space that it now is in a new VM.

Signed-off-by: default avatarBabis Chalios <bchalios@amazon.es>
Reviewed-by: default avatarAlexander Graf <graf@amazon.com>
Reviewed-by: default avatarLennart Poettering <mzxreary@0pointer.de>
Link: https://lore.kernel.org/r/20230531095119.11202-2-bchalios@amazon.es


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9873755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment