summaryrefslogtreecommitdiffstats
path: root/Documentation/target
diff options
context:
space:
mode:
authorAmos Kong <akong@redhat.com>2014-05-14 10:33:46 +0930
committerRusty Russell <rusty@rustcorp.com.au>2014-05-14 10:50:34 +0930
commit08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce (patch)
treeaff27f2f0cc164159387e4566d9aaf182048cc95 /Documentation/target
parente75279c4fb853f42004cbabb6dbf6b23188dc163 (diff)
downloadblackbird-op-linux-08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce.tar.gz
blackbird-op-linux-08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce.zip
virtio-rng: support multiple virtio-rng devices
Current hwrng core supports to register multiple hwrng devices, and there is only one device really works in the same time. QEMU alsu supports to have multiple virtio-rng backends. This patch changes virtio-rng driver to support multiple virtio-rng devices. ]# cat /sys/class/misc/hw_random/rng_available virtio_rng.0 virtio_rng.1 ]# cat /sys/class/misc/hw_random/rng_current virtio_rng.0 ]# echo -n virtio_rng.1 > /sys/class/misc/hw_random/rng_current ]# dd if=/dev/hwrng of=/dev/null Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud