]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
KVM: nVMX: Disallow VM-entry in MOV-SS shadow
authorJim Mattson <jmattson@google.com>
Mon, 17 Jul 2017 19:00:34 +0000 (12:00 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 19 Jul 2017 14:19:13 +0000 (16:19 +0200)
commitb3f1dfb6e818a2352c38e3e37bb983eae98621b5
treed2b5e4c1bc538499a563ccf3f6393882866089d1
parent4c4a6f790ee862ee9f0dc8b35c71f55bcf792b71
KVM: nVMX: Disallow VM-entry in MOV-SS shadow

Immediately following MOV-to-SS/POP-to-SS, VM-entry is
disallowed. This check comes after the check for a valid VMCS. When
this check fails, the instruction pointer should fall through to the
next instruction, the ALU flags should be set to indicate VMfailValid,
and the VM-instruction error should be set to 26 ("VM entry with
events blocked by MOV SS").

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c