[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/6] target-i386: use visit_type_hz to parse tsc_fre
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 6/6] target-i386: use visit_type_hz to parse tsc_freq property value |
Date: |
Tue, 4 Dec 2012 16:58:23 -0200 |
From: Igor Mammedov <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
---
target-i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index a56a130..f8ba569 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1195,7 +1195,7 @@ static void x86_cpuid_set_tsc_freq(Object *obj, Visitor
*v, void *opaque,
const int64_t max = INT64_MAX;
int64_t value;
- visit_type_int(v, &value, name, errp);
+ visit_type_freq(v, &value, name, errp);
if (error_is_set(errp)) {
return;
}
--
1.7.11.7
- [Qemu-devel] [PATCH 0/6] short x86 CPU init cleanup (v2), Eduardo Habkost, 2012/12/04
- [Qemu-devel] [PATCH 4/6] target-i386: postpone cpuid_level update to realize time, Eduardo Habkost, 2012/12/04
- [Qemu-devel] [PATCH 3/6] target-i386: use define for cpuid vendor string size, Eduardo Habkost, 2012/12/04
- [Qemu-devel] [PATCH 2/6] target-i386: cpu: separate feature string parsing from CPU model lookup, Eduardo Habkost, 2012/12/04
- [Qemu-devel] [PATCH 1/6] target-i386/cpu.c: coding style fixes, Eduardo Habkost, 2012/12/04
- [Qemu-devel] [PATCH 6/6] target-i386: use visit_type_hz to parse tsc_freq property value,
Eduardo Habkost <=
- [Qemu-devel] [PATCH 5/6] add visitor for parsing hz[KMG] input string, Eduardo Habkost, 2012/12/04