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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 13 Sep 2014 22:41:37 +0000 (23:41 +0100)
commit 9e8919ae793f4edfaa29694a70f71a515ae9942a upstream.

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.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kvm/emulate.c

Simple merge