diff mbox

[14/22] target-i386: use visit_type_hz to parse tsc_freq property value

Message ID 1347051311-16122-15-git-send-email-imammedo@redhat.com
State New
Headers show

Commit Message

Igor Mammedov Sept. 7, 2012, 8:55 p.m. UTC
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
v2:
  * use visit_type_freq() which replaced visit_type_hz()
---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Färber Sept. 10, 2012, 1:20 p.m. UTC | #1
Am 07.09.2012 22:55, schrieb Igor Mammedov:
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>

Thanks,

Reviewed-by: Andreas Färber <afaerber@suse.de>

> v2:
>   * use visit_type_freq() which replaced visit_type_hz()

Change Logs are usually requested to go in the cover letter or below ---
so it does not go into git history.

Andreas
Igor Mammedov Sept. 19, 2012, 3:04 p.m. UTC | #2
On Mon, 10 Sep 2012 15:20:52 +0200
Andreas Färber <afaerber@suse.de> wrote:

> Am 07.09.2012 22:55, schrieb Igor Mammedov:
> > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> 
> Thanks,
> 
> Reviewed-by: Andreas Färber <afaerber@suse.de>
> 
> > v2:
> >   * use visit_type_freq() which replaced visit_type_hz()
> 
> Change Logs are usually requested to go in the cover letter or below ---
> so it does not go into git history.
Thanks,

I'll move it below ---

> 
> Andreas
>
diff mbox

Patch

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 7ff9645..1e10388 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1191,7 +1191,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_freq(v, &value, name, errp);
     if (error_is_set(errp)) {
         return;
     }