[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 13/20] target-i386: use visit_type_hz to parse tsc_fre
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [RFC 13/20] target-i386: use visit_type_hz to parse tsc_freq property value |
Date: |
Fri, 10 Aug 2012 13:22:29 +0200 |
Signed-off-by: Igor Mammedov <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 a154e89..c935c04 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -952,7 +952,7 @@ static void x86_cpuid_set_tsc_freq(Object *obj, Visitor *v,
void *opaque,
const int64_t max = INT_MAX;
int64_t value;
- visit_type_int(v, &value, name, errp);
+ visit_type_hz(v, &value, name, errp);
if (error_is_set(errp)) {
return;
}
--
1.7.11.2
- Re: [Qemu-devel] [RFC 12/20] add visitor for parsing hz[KMG] input string, (continued)
- Re: [Qemu-devel] [RFC 00/20] target-i386: convert CPU features into properties, Igor Mammedov, 2012/08/10
- [Qemu-devel] [RFC 19/20] target-i386: move init of "hypervisor" feature into CPU initializer from cpudef, Igor Mammedov, 2012/08/10
- [Qemu-devel] [RFC 13/20] target-i386: use visit_type_hz to parse tsc_freq property value,
Igor Mammedov <=
- [Qemu-devel] [RFC 14/20] target-i386: introduce vendor-override property, Igor Mammedov, 2012/08/10
- [Qemu-devel] [RFC 18/20] target-i386: use properties to set/unset user specified features on CPU, Igor Mammedov, 2012/08/10
- [Qemu-devel] [RFC 15/20] target-i386: use define for cpuid vendor string size, Igor Mammedov, 2012/08/10