]> 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)
commit00e5faf2dc7d4767a3c13998e06ae5c92a4ffd28
tree87ac6d52c47934288b919da6ea7aa618e4a297fb
parent318a40203d50ef81207a1b87af2bce2e01eaf5e1
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