KVM: x86: use kvm_get_gdt() and kvm_read_ldt()
commitb792c344dfd57ee2cf737440e4a9b4a5bc39d1db
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 18 Jul 2009 15:00:01 +0000 (19 00:00 +0900)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:15 +0000 (10 08:33 +0300)
treef91b48042d1060bd761e7025d2b5c5b2960b4566
parent46a359e71526909a18a47aaf4347343d6d1d74b2
KVM: x86: use kvm_get_gdt() and kvm_read_ldt()

Use kvm_get_gdt() and kvm_read_ldt() to reduce inline assembly code.

Cc: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/x86.c