]> git.proxmox.com Git - mirror_qemu.git/commit
migration: Make save_snapshot() return bool, not 0/-1
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 4 Feb 2021 12:48:24 +0000 (12:48 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 8 Feb 2021 11:19:51 +0000 (11:19 +0000)
commit7ea14df230b98ffb33342f40cfffbdbb8ddd2b06
tree9524b6a2258aa1cb2f76a1c4f4da0c0e63410a98
parente26f98e2097cf17db04462e9aa2e423b93e7455c
migration: Make save_snapshot() return bool, not 0/-1

Just for consistency, following the example documented since
commit e3fe3988d7 ("error: Document Error API usage rules"),
return a boolean value indicating an error is set or not.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210204124834.774401-3-berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
include/migration/snapshot.h
migration/savevm.c
replay/replay-debugging.c
replay/replay-snapshot.c