[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a161733dd063104b371f4587ace612025b4981f9.camel@debian.org>
Date: Tue, 30 Jul 2024 12:32:15 +0100
From: Luca Boccassi <bluca@...ian.org>
To: Babis Chalios <bchalios@...zon.es>, tytso@....edu, Jason@...c4.com,
linux-kernel@...r.kernel.org
Cc: graf@...zon.de, mzxreary@...inter.de, xmarcalx@...zon.co.uk,
gregkh@...uxfoundation.org
Subject: Re: [PATCH 1/1] vmgenid: emit uevent with new generation ID
On Tue, 2024-07-30 at 11:48 +0200, Babis Chalios wrote:
> There are many system services that need to be notified when the VM they
> are running in is resumed from a snapshot. One example are network
> managers which need to renew DHCP leases and/or re-create MAC addresses
> for virtual interfaces. Other example are daemons that manage system
> clocks which need reset upon snapshot resume.
>
> Send a uevent notification to user space from the VMGenID driver when
> we receive the ACPI notification about a new generation ID. This way, we
> notify user space software about the VM cloning event and give it a
> chance to adapt to the new environment.
>
> Signed-off-by: Babis Chalios <bchalios@...zon.es>
> ---
> drivers/virt/vmgenid.c | 2 ++
> 1 file changed, 2 insertions(+)
Speaking as a systemd maintainer, this is precisely what we need for
systemd-networkd and systemd-timesyncd, thanks for taking care of this.
Acked-by: Luca Boccassi <bluca@...ian.org>
--
Kind regards,
Luca Boccassi
Powered by blists - more mailing lists