]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: introduce linear_{read,write}_system
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jun 2018 14:43:02 +0000 (16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jun 2018 13:06:15 +0000 (15:06 +0200)
commitf353a1779dc70caacf5c85fd6bb166f442dd9091
tree1fc7cabb9c83f369b23d0788f0f6449bd77fca52
parent129076ce6a8888dd722680f7001391d3fb4aa68d
KVM: x86: introduce linear_{read,write}_system

Wrap the common invocation of ctxt->ops->read_std and ctxt->ops->write_std, so
as to have a smaller patch when the functions grow another argument.

Fixes: 49a3070254e6 ("KVM: x86: Introduce segmented_write_std", 2017-01-12)
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c