diff options
author | Jim Mattson <[email protected]> | 2017-08-23 16:32:04 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2017-08-24 15:35:37 +0200 |
commit | 45ec368c9addbbf3fb25fc33d3f22f838ec91714 (patch) | |
tree | ca48d9f27cbd06a07fa0ddc0527a08bc95d60b42 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions