KVM: Hoist SVM's get_cs_db_l_bits into core code.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 5 Sep 2007 15:21:32 +0000 (01:21 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:27 +0000 (10:18 +0200)
commit1747fb71fd7c9389696e91f354d2f841b5c85790
tree8c0658884e62693a94c2ebd35f83331ffa083a7d
parent81f50e3bfdf864103ef890ca156e7a9c922c7089
KVM: Hoist SVM's get_cs_db_l_bits into core code.

SVM gets the DB and L bits for the cs by decoding the segment.  This
is in fact the completely generic code, so hoist it for kvm-lite to use.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c