]> 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)
commitff33c24f7210924ec7177f718bfa1fe58378175c
treed2b5e4c1bc538499a563ccf3f6393882866089d1
parentf61d014c571b195818096423a65e6d51fb5f361c
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