KVM: x86: Fix CR3 and LDT sel should not be saved in TSS
authorNadav Amit <namit@cs.technion.ac.il>
Mon, 7 Apr 2014 15:37:47 +0000 (18:37 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 21 Apr 2014 20:33:49 +0000 (17:33 -0300)
commit5c7411e2937401bf4d024744032f879475364996
tree87ac6d52c47934288b919da6ea7aa618e4a297fb
parent68c3b4d1676d870f0453c31d5a52e7e65c7448ae
KVM: x86: Fix CR3 and LDT sel should not be saved in TSS

According to Intel specifications, only general purpose registers and segment
selectors should be saved in the old TSS during 32-bit task-switch.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c