Home
last modified time | relevance | path

Searched hist:acbbc036619092fcd2c882222e1be168bd972b3e (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/backends/
H A Drng-random.cdiff acbbc036619092fcd2c882222e1be168bd972b3e Tue Apr 16 05:28:16 CDT 2013 Amit Shah <amit.shah@redhat.com> rng random backend: check for -EAGAIN errors on read

Not handling EAGAIN triggers the assert

qemu/backends/rng-random.c:44:entropy_available: assertion failed: (len != -1)
Aborted (core dumped)

This happens when starting a guest with '-device virtio-rng-pci',
issuing a 'cat /dev/hwrng' in the guest, while also doing 'cat
/dev/random' on the host.

Reported-by: yunpingzheng <yunzheng@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Message-id: eacda84dfaf2d99cf6d250b678be4e4d6c2088fb.1366108096.git.amit.shah@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>