commit | 6ef4e07ecd2db21025c446327ecf34414366498b | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Sat Dec 24 10:00:42 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sat Dec 24 10:16:04 2016 +0100 |
tree | eae66ff5af92fff469bcbf921db83b26686b6386 | |
parent | b428018a065b62191b9f8a3f553ebf4423017a78 [diff] |
KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS Otherwise, mismatch between the smm bit in hflags and the MMU role can cause a NULL pointer dereference. Cc: stable@vger.kernel.org Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>