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

2023-04-03 Thread Babis Chalios
6369-1-bchal...@amazon.es/ Babis Chalios (1): virtio-rng: implement entropy leak feature hw/virtio/virtio-rng.c | 170 +++- include/hw/virtio/virtio-rng.h | 9 +- include/standard-headers/linux/virtio_rng.h | 3 + 3 files changed, 179 i

[RFC PATCH 1/1] virtio-rng: implement entropy leak feature

2023-04-03 Thread Babis Chalios
ation should probably consider extending the RngBackend API to include a synchronous call. [1] https://www.mail-archive.com/virtio-dev@lists.oasis-open.org/msg09016.html Signed-off-by: Babis Chalios --- hw/virtio/virtio-rng.c | 170 +++- include/hw/virtio/v

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

2023-04-13 Thread Babis Chalios
-04-03 at 12:52 +0200, Babis Chalios wrote: This patchset implements the entropy leak reporting feature proposal [1] for virtio-rng devices. Entropy leaking (as defined in the specification proposal) typically happens when we take a snapshot of a VM or while we resume a VM from a snapshot. In these