[libvirt] [PATCH v2 06/10] qemu: process: Convert multiple boolean args to a single flag

Pavel Hrdina phrdina at redhat.com
Tue Jun 7 07:48:16 UTC 2016


On Fri, May 27, 2016 at 02:21:55PM +0200, Peter Krempa wrote:
> Validation of qemu process startup requires to know whether the process
> is used for a fresh VM or whether it's reloaded from a
> snapshot/migration. Pass this information in via a flag rather than
> calculating it from a bunch of bools.
> ---
>  src/qemu/qemu_migration.c |  2 +-
>  src/qemu/qemu_process.c   | 26 +++++++++++++-------------
>  src/qemu/qemu_process.h   |  2 +-
>  3 files changed, 15 insertions(+), 15 deletions(-)
> 

ACK, it would be nice to remove migration bool from qemuProcessInit too.




More information about the libvir-list mailing list