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