diff options
| author | Sean Christopherson <[email protected]> | 2020-03-20 14:28:09 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-20 17:26:09 -0400 |
| commit | bc41d0c40ec2a09b775e2c65f425f903733f5b22 (patch) | |
| tree | 8de317fe0b6d48ae4cf6a456bff8fbda4d1d4490 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ca431c0cc3317e36c7011df2d2319385465db442 (diff) | |
KVM: nVMX: Use vpid_sync_vcpu_addr() to emulate INVVPID with address
Use vpid_sync_vcpu_addr() to emulate the "individual address" variant of
INVVPID now that said function handles the fallback case of the (host)
CPU not supporting "individual address".
Note, the "vpid == 0" checks in the vpid_sync_*() helpers aren't
actually redundant with the "!operand.vpid" check in handle_invvpid(),
as the vpid passed to vpid_sync_vcpu_addr() is a KVM (host) controlled
value, i.e. vpid02 can be zero even if operand.vpid is non-zero.
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions