]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Refactor IO bitmap checks into helper function
authorOliver Upton <oupton@google.com>
Tue, 4 Feb 2020 23:26:30 +0000 (15:26 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Feb 2020 09:14:40 +0000 (10:14 +0100)
commit76e387cd992b2308655a233d6b7eb5f5fcd4c518
tree7b2d0cc07cb67c84412525dfa512ddd4812bc2a2
parent705955e37f4b020f9d10e219ffb0960da1b3e0ee
KVM: nVMX: Refactor IO bitmap checks into helper function

Checks against the IO bitmap are useful for both instruction emulation
and VM-exit reflection. Refactor the IO bitmap checks into a helper
function.

Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/nested.h