commit | 5bea5123cbf08f990a1aee8f08c643a272e06a0f | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 18 15:19:17 2018 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Sep 20 00:51:43 2018 +0200 |
tree | c520f5be46b2bb5f135413bfe85bf9518675310c | |
parent | 822f312d47f0200dc0999c9f006fe94aa43bd0bd [diff] |
KVM: VMX: check nested state and CR4.VMXE against SMM VMX cannot be enabled under SMM, check it when CR4 is set and when nested virtualization state is restored. This should fix some WARNs reported by syzkaller, mostly around alloc_shadow_vmcs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>