]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
migration: Use proper types in json
authorJuan Quintela <quintela@redhat.com>
Fri, 1 Dec 2017 12:08:38 +0000 (13:08 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 Jan 2018 11:47:53 +0000 (12:47 +0100)
commit741d4086c856320807a2575389d7c0505578270b
tree89ca48239bf2838bfd678cfcb881f1d7899288c6
parentfd06527b80c88c8dde1b35fdc692685b68d2fd93
migration: Use proper types in json

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 similar.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
hmp.c
migration/migration.c
qapi/migration.json