diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-05-30 12:55:44 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-06-12 10:43:52 +0200 |
| commit | af7b2ff7d46b4a2a58081c8072055e951c52774f (patch) | |
| tree | 86061ed09c847783d1f40d198e00e2c544d9d9c3 /lib/debugobjects.c | |
| parent | 62bad2b2ccf3ebfcf1055f0cd76673ea95f724bd (diff) | |
KVM: x86: check that kvm_handle_invpcid is only invoked with shadow paging
This is true for both Intel and AMD. On Intel, "enable INVPCID" is
set unconditionally if supported, but the vmexit is triggered by the
"INVLPG exiting" control which is disabled by enable_ept. On AMD, KVM
can intercept INVPCID if NPT is enabled but only in order to inject #UD
in the guest.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20260530165545.25599-5-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
