diff options
| author | Sean Christopherson <[email protected]> | 2020-03-20 14:28:19 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-21 09:12:52 -0400 |
| commit | 50b265a4eee0d9fb9581f1a300742515b80dffda (patch) | |
| tree | 5e1b35ef1be2c3e9d60d4aa72a1772ec138a874c /tools/perf/scripts/python | |
| parent | 7780938cc70b848650722762fa4c7496fa68f9ec (diff) | |
KVM: nVMX: Add helper to handle TLB flushes on nested VM-Enter/VM-Exit
Add a helper to determine whether or not a full TLB flush needs to be
performed on nested VM-Enter/VM-Exit, as the logic is identical for both
flows and needs a fairly beefy comment to boot. This also provides a
common point to make future adjustments to the logic.
Handle vpid12 changes the new helper as well even though it is specific
to VM-Enter. The vpid12 logic is an extension of the flushing logic,
and it's worth the extra bool parameter to provide a single location for
the flushing logic.
Cc: Liran Alon <[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')
0 files changed, 0 insertions, 0 deletions