]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Fold emulator_write_phys() into write_emulate()
authorSean Christopherson <seanjc@google.com>
Wed, 25 Feb 2026 01:20:46 +0000 (17:20 -0800)
committerSean Christopherson <seanjc@google.com>
Tue, 3 Mar 2026 00:02:53 +0000 (16:02 -0800)
commit929613b3cd1a97bc6e17100c0cab5668cd4eff90
tree08edcf69d1e197db456e449606a30c927c94eeea
parent3517193ef9c260e4a2677fd4e7dc09efd0f628bb
KVM: x86: Fold emulator_write_phys() into write_emulate()

Fold emulator_write_phys() into write_emulate() to drop a superfluous
wrapper, and to provide more symmetry between the read and write paths.

No functional change intended.

Tested-by: Tom Lendacky <thomas.lendacky@gmail.com>
Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260225012049.920665-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c