]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86, kvm: KVM paravirt kernels don't check for CPUID being unavailable
authorAlan Cox <alan@linux.intel.com>
Mon, 14 May 2012 17:41:09 +0000 (18:41 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 May 2012 17:49:32 +0000 (10:49 -0700)
commitc3709e6734daa4d9b37fe31592ebb0eb57bae1bb
treeede4448a81dde842ca3af8a09077ce29235377af
parentb2a3477727c1d43b92a3e4223f10ad5bf639df06
x86, kvm: KVM paravirt kernels don't check for CPUID being unavailable

We set cpuid_level to -1 if there is no CPUID instruction (only
possible on i386).

Signed-off-by: Alan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/r/20120514174059.30236.1064.stgit@bluebook
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=12122
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/kvm_para.h