]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Inter-privilege level ret emulation is not implemeneted
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 15 Jun 2014 13:12:59 +0000 (16:12 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jun 2014 10:52:09 +0000 (12:52 +0200)
commitff4d510bd5416d471c5135833f4f5f44f626d34e
tree8db4bee8757b4d47baf3d0c10f267488efac98a2
parent6ea1f784ed320628189a1646c8123704a8ff396a
KVM: x86: Inter-privilege level ret emulation is not implemeneted

Return unhandlable error on inter-privilege level ret instruction.  This is
since the current emulation does not check the privilege level correctly when
loading the CS, and does not pop RSP/SS as needed.

Cc: stable@vger.kernel.org
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c