KVM: x86: No error-code on real-mode exceptions
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 2 Nov 2014 09:54:42 +0000 (11:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Nov 2014 14:44:02 +0000 (15:44 +0100)
commit3ffb24681cc46f869378a4de54615db8d4ef0daf
treeab8ecd59eec31dcd72da208886750743bab684cf
parent5b38ab877e5bd6c6564f2f23f25e0c3d4768728a
KVM: x86: No error-code on real-mode exceptions

Real-mode exceptions do not deliver error code. As can be seen in Intel SDM
volume 2, real-mode exceptions do not have parentheses, which indicate
error-code.  To avoid significant changes of the code, the error code is
"removed" during exception queueing.

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