qemu/target-i386
Markus Armbruster 45009a3087 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".

To reproduce, try "-cpu qemu64,tsc_freq=9999999T".
strtosz_suffix_unit() fails, because the value overflows int64_t,

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-11-28 16:20:52 -06:00
..
cpu.h i386: wire up MSR_IA32_MISC_ENABLE 2011-10-24 21:33:32 -02:00
cpuid.c x86/cpuid: Tighten parsing of tsc_freq=FREQ 2011-11-28 16:20:52 -06:00
helper_template.h
helper.c Fix X86 CPU topology in KVM mode 2011-11-02 07:55:05 -05:00
helper.h
kvm.c Fix typo: runnning -> running 2011-11-17 12:57:41 +00:00
machine.c i386: wire up MSR_IA32_MISC_ENABLE 2011-10-24 21:33:32 -02:00
op_helper.c i386: wire up MSR_IA32_MISC_ENABLE 2011-10-24 21:33:32 -02:00
ops_sse_header.h
ops_sse.h x86: fix pcmpestrm and pcmpistrm 2011-11-19 13:51:27 +00:00
svm.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
TODO
translate.c target-i386: Remove redundant word mask in port out instructions 2011-10-01 06:21:45 +00:00