KVM: x86: Emulator ignores LDTR/TR extended base on LLDT/LTR
authorNadav Amit <namit@cs.technion.ac.il>
Mon, 2 Jun 2014 15:34:04 +0000 (18:34 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 15:46:16 +0000 (17:46 +0200)
commite37a75a13cdae5deaa2ea2cbf8d55b5dd08638b6
tree3bce8d9a049ccfb2b5b5f5d714b293e5aa66587c
parent7fe864dc942c041cc4f56e287c4025d54a8e6c1e
KVM: x86: Emulator ignores LDTR/TR extended base on LLDT/LTR

The current implementation ignores the LDTR/TR base high 32-bits on long-mode.
As a result the loaded segment descriptor may be incorrect.

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