]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit891edf514323f6f516e2073c2abf3117c3a5b5fa
treed2b5e4c1bc538499a563ccf3f6393882866089d1
parentd5fc5efc61105014a8d2d9ffd9dfcd3769775c56
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