]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf08f34e49e35be0bc31db9dc00c0c1c84cf8fc02
tree87ac6d52c47934288b919da6ea7aa618e4a297fb
parent9d367a09366657f0c8560dd0426cbd707a8c599b
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