[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] spapr: Add support for hwrng when available
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] spapr: Add support for hwrng when available |
Date: |
Thu, 26 Sep 2013 13:06:16 +0200 |
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 <address@hidden>
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 address@hidden on PPC patches :).
Alex