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)
commit9e8919ae793f4edfaa29694a70f71a515ae9942a
tree8db4bee8757b4d47baf3d0c10f267488efac98a2
parentee212297cd425620867d4398d55d068c4203768c
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