]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Refactor I/O emulation helpers to provide vcpu-only variant
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 18 Feb 2020 23:29:41 +0000 (15:29 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:57:49 +0000 (17:57 +0100)
commit8980fc9a35385af40941d65afc835d2d3f69f9ad
tree567552a638d99c54810925c9d43647a7e24f1d71
parente713bd83b4397f792f9f0d500739e6755cdc74a7
KVM: x86: Refactor I/O emulation helpers to provide vcpu-only variant

Add variants of the I/O helpers that take a vCPU instead of an emulation
context.  This will eventually allow KVM to limit use of the emulation
context to the full emulation path.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c