mirror of
https://github.com/qemu/qemu.git
synced 2025-10-24 19:01:24 +00:00
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> |
||
|---|---|---|
| .. | ||
| cpu.h | ||
| cpuid.c | ||
| helper_template.h | ||
| helper.c | ||
| helper.h | ||
| kvm.c | ||
| machine.c | ||
| op_helper.c | ||
| ops_sse_header.h | ||
| ops_sse.h | ||
| svm.h | ||
| TODO | ||
| translate.c | ||