]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Make kvm_pio_request.linear_rip a common field for user exits
authorManali Shukla <manali.shukla@amd.com>
Fri, 2 May 2025 05:03:42 +0000 (05:03 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 16 May 2025 16:40:23 +0000 (09:40 -0700)
commite9628b011bbd7f9cc13fb9c15267695c996338c7
tree4b52d57f2e19379fdf32d181d127a4aad3aa6210
parente0136112e99d63d87a18bfec3ffb16c414f903a1
KVM: x86: Make kvm_pio_request.linear_rip a common field for user exits

Move and rename kvm_pio_request.linear_rip to
kvm_vcpu_arch.cui_linear_rip so that the field can be used by other
userspace exit completion flows that need to take action if and only
if userspace has not modified RIP.

No functional changes intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Manali Shukla <manali.shukla@amd.com>
Link: https://lore.kernel.org/r/20250502050346.14274-2-manali.shukla@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c