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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]