commit | 45ec368c9addbbf3fb25fc33d3f22f838ec91714 | [log] [tgz] |
---|---|---|
author | Jim Mattson <jmattson@google.com> | Wed Aug 23 16:32:04 2017 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Aug 24 15:35:37 2017 +0200 |
tree | ca48d9f27cbd06a07fa0ddc0527a08bc95d60b42 | |
parent | 80154d77c922d0f9bb1e4d115ff760c066c12d8f [diff] |
kvm: vmx: Raise #UD on unsupported RDRAND A guest may not be configured to support RDRAND, even when the host does. If the guest does not support RDRAND, intercept the instruction and synthesize #UD. Also clear the "allowed-1" bit for RDRAND exiting in the IA32_VMX_PROCBASED_CTLS2 MSR. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>