diff options
author | Liran Alon <liran.alon@oracle.com> | 2018-05-22 17:16:15 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-05-24 19:45:45 +0200 |
commit | cd9a491f6ef731cdee07dd0a2fe003389424a393 (patch) | |
tree | 728c12364ae108f31672ba632cc5a4bbae026e8c /arch/.gitignore | |
parent | 6f1e03bcabcdbb199940dab0a60b1371cf95f6f9 (diff) | |
download | op-kernel-dev-cd9a491f6ef731cdee07dd0a2fe003389424a393.zip op-kernel-dev-cd9a491f6ef731cdee07dd0a2fe003389424a393.tar.gz |
KVM: nVMX: Emulate L1 individual-address invvpid by L0 individual-address invvpid
When vmcs12 uses VPID, all TLB entries populated by L2 are tagged with
vmx->nested.vpid02. Currently, INVVPID executed by L1 is emulated by L0
by using INVVPID single/global-context to flush all TLB entries
tagged with vmx->nested.vpid02 regardless of INVVPID type executed by
L1.
However, we can easily optimize the case of L1 INVVPID on an
individual-address. Just INVVPID given individual-address tagged with
vmx->nested.vpid02.
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
[Squashed with a preparatory patch that added the !operand.vpid line.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions