[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [RFC] Hypervisor RNG and enumeration
- To: David Vrabel <david.vrabel@xxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxxxxxx>, Linux Virtualization <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
- Date: Thu, 30 Oct 2014 13:25:42 +0100
- Cc: Mathew John <mathewj@xxxxxxxxxxxxx>, Theodore Ts'o <tytso@xxxxxxx>, Jim Mattson <jmattson@xxxxxxxxxx>, kvm list <kvm@xxxxxxxxxxxxxxx>, Gleb Natapov <gleb@xxxxxxxxxx>, Niels Ferguson <niels@xxxxxxxxxxxxx>, David Hepkin <davidhep@xxxxxxxxxxxxx>, Doug Covelli <dcovelli@xxxxxxxxxx>, Christopher Covington <cov@xxxxxxxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Jake Oshins <jakeo@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Alok Kataria <akataria@xxxxxxxxxx>, KY Srinivasan <kys@xxxxxxxxxxxxx>, John Starks <John.Starks@xxxxxxxxxxxxx>
- Delivery-date: Thu, 30 Oct 2014 12:26:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 10/30/2014 01:21 PM, David Vrabel wrote:
> I would add:
>
> If the hypervisor's pool of random data is exhausted, it MAY
> return 0. The hypervisor MUST provide at least 4 (?) non-zero
> numbers to each guest.
Mandating "non-zero numbers" sounds like a bad idea. Just use the RNG
for what it was designed; returning non-random numbers will not be a
problem.
Paolo
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|