On 26.09.2013, at 08:37, Michael Ellerman wrote:

> Some powerpc systems have support for a hardware random number generator
> (hwrng). If such a hwrng is present the host kernel can provide access
> to it via the H_RANDOM hcall.
> 
> The kernel advertises the presence of a hwrng with the KVM_CAP_PPC_HWRNG
> capability. If this is detected we add the appropriate device tree bits
> to advertise the presence of the hwrng to the guest kernel.
> 
> Signed-off-by: Michael Ellerman <mich...@ellerman.id.au>

Please implement this 100% without KVM first, then if we end up running into 
performance bottlenecks we can always add KVM acceleration.

Also, please make sure to CC qemu-...@nongnu.org on PPC patches :).


Alex


Reply via email to