KVM: VMX: Use host_gdt variable wherever we need the host gdt
authorAvi Kivity <avi@redhat.com>
Mon, 26 Jul 2010 15:32:39 +0000 (18:32 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:01 +0000 (10:50 +0200)
commitd359192feaf02861327339a9dda6b2b2d765c2bc
tree54bb185e3b7c19469bc7fd86c4404dfcd1657481
parente071edd5ba8dd7a493eef229d495cf6232b09534
KVM: VMX: Use host_gdt variable wherever we need the host gdt

Now that we have the host gdt conveniently stored in a variable, make use
of it instead of querying the cpu.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c