KVM: Load real mode segments correctly
commitf4bbd9aaaae23007e4d79536d35a30cbbb11d407
authorAvi Kivity <avi@qumranet.com>
Wed, 20 Aug 2008 12:51:42 +0000 (20 15:51 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:21 +0000 (15 10:15 +0200)
tree95d1624fb9847b246a806ddedca38d00de08f56d
parenta16b20da879430fdf245ed45461ed40ffef8db3c
KVM: Load real mode segments correctly

Real mode segments to not reference the GDT or LDT; they simply compute
base = selector * 16.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c