]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Dedup fastpath MSR post-handling logic
authorSean Christopherson <seanjc@google.com>
Fri, 2 Aug 2024 19:51:17 +0000 (12:51 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 30 Aug 2024 02:50:21 +0000 (19:50 -0700)
commitea60229af7fbdcdd06d798f8340a7a9b40770c53
tree7881f7ed785f64881c5e3b3f79b450d0b9be02a6
parent0dd45f2cd8ccf150c6fe7a528e9a5282026ed30c
KVM: x86: Dedup fastpath MSR post-handling logic

Now that the WRMSR fastpath for x2APIC_ICR and TSC_DEADLINE are identical,
ignoring the backend MSR handling, consolidate the common bits of skipping
the instruction and setting the return value.

No functional change intended.

Link: https://lore.kernel.org/r/20240802195120.325560-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c