| Submitter | Igor Mammedov |
|---|---|
| Date | Aug. 10, 2012, 11:22 a.m. |
| Message ID | <1344597756-2890-14-git-send-email-imammedo@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/176471/ |
| State | New |
| Headers | show |
Comments
Patch
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; }
Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- target-i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)