]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: SVM: Replace svm_has() by standard Linux cpuid accessors
authorAvi Kivity <avi@redhat.com>
Tue, 9 Nov 2010 14:15:42 +0000 (16:15 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:16 +0000 (11:29 +0200)
commit2a6b20b83d1d37db57a9c25d99dc78454ad0747b
treec7dc696ec4c0b8e6853bd9705dedb3fed26d7eca
parentc4806acdcec020fe5bbb054ce9dc75aaecaf29dd
KVM: SVM: Replace svm_has() by standard Linux cpuid accessors

Instead of querying cpuid directly, use the Linux accessors (boot_cpu_has,
etc.).  This allows the things like the clearcpuid kernel command line to
work (when it's fixed wrt scattered cpuid bits).

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