]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: expose INS/OUTS information support
authorJan Dakinevich <jan.dakinevich@gmail.com>
Sun, 4 Sep 2016 18:23:15 +0000 (21:23 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Sep 2016 17:34:30 +0000 (19:34 +0200)
commitd55ac1963b8d782aa0de872a25b816843c2d9b4a
treed929c83eb645d099a0cf5420239d495b90a5f098
parent9f85668b6a2d3bfc244641c7a678521554f76361
KVM: nVMX: expose INS/OUTS information support

Expose the feature to L1 hypervisor if host CPU supports it, since
certain hypervisors requires it for own purposes.

According to Intel SDM A.1, if CPU supports the feature,
VMX_INSTRUCTION_INFO field of VMCS will contain detailed information
about INS/OUTS instructions handling. This field is already copied to
VMCS12 for L1 hypervisor (see prepare_vmcs12 routine) independently
feature presence.

Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c