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

Lennart Poettering
2023-06-20T11:28:20Z

On Mo, 19.06.23 22:30, Jason A. Donenfeld (Jason@zx2c4.com) 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