KVM: SVM: move feature detection to hardware setup code
commit33bd6a0b3e8baed6469c8e68ea1b16cb50c4f5af
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Feb 2008 12:47:38 +0000 (7 13:47 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:19 +0000 (27 11:53 +0300)
tree3f7d915c6146d6e490da9577f0e5e3923b34510b
parent9457a712a2f464c4b21bb7f78998775c69673a0c
KVM: SVM: move feature detection to hardware setup code

By moving the SVM feature detection from the each_cpu code to the hardware
setup code it runs only once. As an additional advance the feature check is now
available earlier in the module setup process.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c