[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 1/1] migration: Use proper types in json
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 1/1] migration: Use proper types in json |
Date: |
Tue, 28 Nov 2017 13:53:01 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 11/22/2017 06:45 AM, Juan Quintela wrote:
We use int for everything (int64_t), and then we check that value is
between 0 and 255. Change it to the valid types.
This change only happens for HMP. QMP always use bytes and similars.
s/similars/similar/
Signed-off-by: Juan Quintela <address@hidden>
---
hmp.c | 22 +++++++++++-----------
migration/migration.c | 49 ++++++++++++++++++++-----------------------------
qapi/migration.json | 22 +++++++++++-----------
3 files changed, 42 insertions(+), 51 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org