qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG
Date: Wed, 21 Apr 2010 09:43:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4

On 04/20/10 23:31, Ian Molton wrote:

Using virtio-rng means that the data is going into the guest
kernels hwrng subsystem.

Which is *the* major advantage of the virtio-rng driver. In case the guest kernel is recent enougth to have support for it, it will JustWork[tm]. No need for guest configuration, no need for some userspace tool. I'd like to see this driver being merged.

With any kind of serial port (be it a emulated 16550 or virtio-serial) you'll need some daemon running inside the guest grabbing entropy data from the port and feeding it back into the kernel. Nobody prevents you from doing that if you want (or have to due to lack of virtio-rng support in the guest). Just link the port with the egd chardev and configure the guest accordingly.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]