[PATCH v2 1/6] qemu_process.c: check migrateURI when setting VIR_QEMU_PROCESS_START_NEW

Andrea Bolognani abologna at redhat.com
Thu Dec 3 14:36:13 UTC 2020


On Wed, 2020-11-18 at 16:58 -0300, Daniel Henrique Barboza wrote:
> qemuProcessCreatePretendCmdPrepare() is setting the
> VIR_QEMU_PROCESS_START_NEW regardless of whether this is
> a migration case or not. This behavior differs from what we're
> doing in qemuProcessStart(), where the flag is set only
> if !migrate && !snapshot.
> 
> Fix it by making the flag setting consistent with what we're
> doing in qemuProcessStart().
> 
> Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> ---
>  src/qemu/qemu_process.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list