diff options
author | Sean Christopherson <[email protected]> | 2022-08-30 15:37:31 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-09-26 12:02:57 -0400 |
commit | 64f80ea73b358265ee36fd827791bbd9a6069c52 (patch) | |
tree | 3f4c8fec4dd1c32b7e1420731b519a37e1216113 /tools/perf/scripts/python/check-perf-trace.py | |
parent | a83bea73fa04b8551e1a38f75825a12eb6c7b3ae (diff) |
KVM: VMX: Adjust CR3/INVPLG interception for EPT=y at runtime, not setup
Clear the CR3 and INVLPG interception controls at runtime based on
whether or not EPT is being _used_, as opposed to clearing the bits at
setup if EPT is _supported_ in hardware, and then restoring them when EPT
is not used. Not mucking with the base config will allow using the base
config as the starting point for emulating the VMX capability MSRs.
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions