summaryrefslogtreecommitdiff
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-10-24 19:44:07 -0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-30 23:39:53 -0200
commit12869995ea4f436ab76af5059fd2e9ae83c6cf9d (patch)
tree0bd7c08dddcaaa9b34314ef2d6bba8fd5792818e /scripts/update-linux-headers.sh
parent6e746f30558cb1331598575918c2a8808be2a75b (diff)
downloadqemu-12869995ea4f436ab76af5059fd2e9ae83c6cf9d.tar.gz
target-i386: kvm_cpu_fill_host: use GET_SUPPORTED_CPUID
Change the kvm_cpu_fill_host() function to use kvm_arch_get_supported_cpuid() instead of running the CPUID instruction directly, when checking for supported CPUID features. This should solve two problems at the same time: * "-cpu host" was not enabling features that don't need support on the host CPU (e.g. x2apic); * "check" and "enforce" options were not detecting problems when the host CPU did support a feature, but the KVM kernel code didn't support it. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions