KVM: x86: IRET emulation does not clear NMI masking
authorNadav Amit <[email protected]>
Mon, 26 Jan 2015 07:32:23 +0000 (09:32 +0200)
committerPaolo Bonzini <[email protected]>
Mon, 26 Jan 2015 11:14:42 +0000 (12:14 +0100)
commit801806d956c2c198b9fdd3afd156a536f9a3a139
tree97b84cd9422ab2b452c2e5a29fbc1672054d2d4a
parent16794aaaab66fa74ab19588a8e255a460e8b3ace
KVM: x86: IRET emulation does not clear NMI masking

The IRET instruction should clear NMI masking, but the current implementation
does not do so.

Signed-off-by: Nadav Amit <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c