commit | 2a6b20b83d1d37db57a9c25d99dc78454ad0747b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Nov 09 16:15:42 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:29:16 2011 +0200 |
tree | c7dc696ec4c0b8e6853bd9705dedb3fed26d7eca | |
parent | c4806acdcec020fe5bbb054ce9dc75aaecaf29dd [diff] |
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>