Statistics
| Branch: | Revision:

root / target-i386 @ 73f5e313

Name Size
TODO 1.1 kB
cpu.h 31.6 kB
cpuid.c 44.9 kB
helper.c 40.5 kB
helper.h 6.3 kB
helper_template.h 8.6 kB
kvm.c 52.6 kB
machine.c 13.9 kB
op_helper.c 165.5 kB
ops_sse.h 59.6 kB
ops_sse_header.h 11.7 kB
svm.h 5.7 kB
translate.c 256.3 kB

Latest revisions

# Date Author Comment
45009a30 11/29/2011 12:20 am Markus Armbruster

x86/cpuid: Tighten parsing of tsc_freq=FREQ

cpu_x86_find_by_name() uses strtosz_suffix_unit(), but screws up the
error checking. It detects some failures, but not all. Undetected
failures result in a zero tsc_khz value (error value -1 divided by
1000), which means "no tsc_freq set"....

a1fd24af 11/28/2011 04:42 pm Anthony Liguori

Revert "i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID"

This reverts commit 66e3dd9282141b5ae75637c9676002cf3ceeb988.

From Avi,

"Anthony, I think we should revert that commit and refactor cpuid for
1.1. The logic is spread over too many places which makes it hard to...
1571b6cb 11/21/2011 10:36 pm Anthony Liguori

Merge remote-tracking branch 'origin/master' into staging

bc426899 11/19/2011 03:51 pm Blue Swirl

x86: fix pcmpestrm and pcmpistrm

Fix obvious typos (decrement and off-by-one error) in pcmpestrm and pcmpistrm
which resulted in infinite loop. Reported by Frank Mehnert,
spotted also by Coverity (bug 84752853).

Reported-by: Frank Mehnert <>...

12619721 11/17/2011 02:57 pm Vagrant Cascadian

Fix typo: runnning -> running

One n too many for running, need we say more.

Signed-Off-By: Vagrant Cascadian <>

Signed-off-by: Stefan Hajnoczi <>

d3c481b3 11/10/2011 02:29 pm Markus Armbruster

x86/cpuid: Convert remaining strdup() to g_strdup()

Fixes missing error checking.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

99e1dec0 11/10/2011 02:29 pm Markus Armbruster

x86/cpuid: Plug memory leak in cpudef_setfield()

To reproduce the leak, put two name options into the same [cpudef]
section of target-x86_64.conf.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

04c5b17a 11/10/2011 02:29 pm Markus Armbruster

x86/cpuid: Fix crash on -cpu ""

Spotted by Coverity.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

66e3dd92 11/09/2011 08:06 pm Avi Kivity

i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

The fact that a host cpu supports a feature doesn't mean that QEMU and KVM
will also support it, yet -cpuid host brings host features wholesale.

We need to whitelist each feature separately to make sure we support it....

f2209eb8 11/02/2011 02:55 pm Bharata B Rao

Fix X86 CPU topology in KVM mode

apic id returned to guest kernel in ebx for cpuid(function=1) depends on
CPUX86State->cpuid_apic_id which gets populated after the cpuid information
is cached in the host kernel. This results in broken CPU topology in guest....

View revisions

Also available in: Atom