Messages in this thread | | | Date | Mon, 19 Jun 2023 11:14:06 +0200 | Subject | Re: [PATCH 1/1] vmgenid: emit uevent when VMGENID updates | From | Alexander Graf <> |
| |
On 31.05.23 11:51, Babis Chalios wrote: > 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: Babis Chalios <bchalios@amazon.es>
Thanks Babis! Super simple, yet very effective way to notify system software that it may need to adopt to a new environment. I know that the systemd folks are super interested in that to for example regenerate randomly generated MAC addresses after a clone operation.
Reviewed-by: Alexander Graf <graf@amazon.com>
Alex
Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879
| |