]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Check IO instruction VM-exit conditions
authorOliver Upton <oupton@google.com>
Tue, 4 Feb 2020 23:26:31 +0000 (15:26 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Feb 2020 09:16:32 +0000 (10:16 +0100)
commit43322c8a9876e118f8ca58942ee7c3382a0dced3
tree256cca4e944f6ac6b41a9092aff456c2a88caf28
parent76e387cd992b2308655a233d6b7eb5f5fcd4c518
KVM: nVMX: Check IO instruction VM-exit conditions

Consult the 'unconditional IO exiting' and 'use IO bitmaps' VM-execution
controls when checking instruction interception. If the 'use IO bitmaps'
VM-execution control is 1, check the instruction access against the IO
bitmaps to determine if the instruction causes a VM-exit.

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