Re: [PATCH 1/1] vmgenid: emit uevent when VMGENID updates

From: Lennart Poettering
Date: Tue Jun 20 2023 - 07:28:21 EST


On Mo, 19.06.23 22:30, Jason A. Donenfeld (Jason@xxxxxxxxx) wrote:

> Like the other patch, and as discussed before too, I don't think this
> has any business being part of (virtual) hardware drivers, and instead
> belongs in random.c, which might receive these notifications from a
> variety of devices, and can thus synchronize things accordingly.
> Please stop posting more of these same approaches. Same nack as the
> other ones.

Note the intended usecase for this in userspace really has nothing to
do with RNGs. We just want an event that is generated when a machine
is duplicated so that we can request a new DHCP lease, and similar. I
don't see any relationship to random.c for that.

Lennart

--
Lennart Poettering, Berlin