summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-05-09 11:53:06 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-16 00:04:31 +0200
commit682a8108872f78560c891cf30c7d08aa01dac943 (patch)
tree5c18518c9a2a3988ca78883e30201c7aac82b261 /virt/kvm/kvm_main.c
parentMIPS: KVM: Use mipsregs.h defs for config registers (diff)
downloadlinux-682a8108872f78560c891cf30c7d08aa01dac943.tar.xz
linux-682a8108872f78560c891cf30c7d08aa01dac943.zip
x86/kvm/svm: Simplify cpu_has_svm()
Use already cached CPUID information instead of querying CPUID again. No functionality change. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Joerg Roedel <joro@8bytes.org> Cc: kvm@vger.kernel.org Cc: x86@kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions