summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2018-01-31 18:12:50 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-02-24 01:43:35 +0100
commit99158246208b82c0700d09a40d719bb56b32c607 (patch)
tree612cfc939f2a86c094ab3472eda085120b0bd135 /virt
parent0b2e9904c15963e715d33e5f3f1387f17d19333a (diff)
downloadop-kernel-dev-99158246208b82c0700d09a40d719bb56b32c607.zip
op-kernel-dev-99158246208b82c0700d09a40d719bb56b32c607.tar.gz
KVM: nVMX: preserve SECONDARY_EXEC_DESC without UMIP
L1 might want to use SECONDARY_EXEC_DESC, so we must not clear the VMCS bit if UMIP is not being emulated. We must still set the bit when emulating UMIP as the feature can be passed to L2 where L0 will do the emulation and because L2 can change CR4 without a VM exit, we should clear the bit if UMIP is disabled. Fixes: 0367f205a3b7 ("KVM: vmx: add support for emulating UMIP") Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud