Re: [RFC PATCH 0/1] Implement entropy leak reporting for virtio-rng

2023-04-03 Thread bchalios
On 4/3/23 4:16 PM, "Jason A. Donenfeld" wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Mon, Apr 3, 2023 at 4:15 PM Jason A. Donenfeld wrote: > > Hi Babis, >

Re: [PATCH 0/2] vmgenid: add generation counter

2022-08-03 Thread bchalios
On 8/3/22 5:36 PM, "Michael S. Tsirkin" wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Wed, Aug 03, 2022 at 03:41:45PM +0200, bchal...@amazon.es wrote: > From

[PATCH 1/2] vmgenid: make device data size configurable

2022-08-03 Thread bchalios
From: Babis Chalios When allocating memory for the device data the assumption is we are dealing with 4K pages. Make this configurable, so that other architectures can be handled. Note, than in the original spec this is not a requirement, however, it is useful for implementing the generation coun

[PATCH 2/2] vmgenid: add generation counter

2022-08-03 Thread bchalios
From: Babis Chalios Some user-space applications such as user-space PRNGs or applications that keep world-unique data need to be notified about VM restore events, so that they modify their internal state. However, the vmgenid 128-bits UUID is consumed by the guest kernel to reseed its RNG, hence

[PATCH 0/2] vmgenid: add generation counter

2022-08-03 Thread bchalios
From: Babis Chalios VM generation ID exposes a GUID inside the VM which changes every time a VM restore is happening. Typically, this GUID is used by the guest kernel to re-seed its internal PRNG. As a result, this value cannot be exposed in guest user-space as a notification mechanism for VM res