KVM: Enable DRNG feature support for KVM
authorYang, Wei Y <wei.y.yang@intel.com>
Mon, 13 Jun 2011 13:52:33 +0000 (21:52 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:21 +0000 (13:16 +0300)
commit4a00efdf0c7c93dc6f6b3ce7e2d6bd4cd1ac1651
treec6db2aa1b867285a9764f4dd35e4ab25c0ecec1e
parent02668b061db1b9f7f18872e594ac68e237db0bed
KVM: Enable DRNG feature support for KVM

This patch exposes DRNG feature to KVM guests.

The RDRAND instruction can provide software with sequences of
random numbers generated from white noise.

Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c