diff options
| author | Sean Christopherson <[email protected]> | 2021-11-25 01:49:43 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-11-26 07:06:58 -0500 |
| commit | 2b4a5a5d56881ece3c66b9a9a8943a6f41bd7349 (patch) | |
| tree | ea9999d967bfd1abacf93d65bf52f81d30476acd /net/unix/af_unix.c | |
| parent | 30d7c5d60a886e3c89633ccf0ea4865276a759fe (diff) | |
KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
Flush the current VPID when handling KVM_REQ_TLB_FLUSH_GUEST instead of
always flushing vpid01. Any TLB flush that is triggered when L2 is
active is scoped to L2's VPID (if it has one), e.g. if L2 toggles CR4.PGE
and L1 doesn't intercept PGE writes, then KVM's emulation of the TLB
flush needs to be applied to L2's VPID.
Reported-by: Lai Jiangshan <[email protected]>
Fixes: 07ffaf343e34 ("KVM: nVMX: Sync all PGDs on nested transition with shadow paging")
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions