tools/libxenguest: Fix migration's debug option
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Jul 2021 18:08:46 +0000 (19:08 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Jul 2021 10:30:14 +0000 (11:30 +0100)
commit383b41974d5543b62f3181d216070fe3691fb130
tree8965b555995b16115d8172226db4841bc7eedead
parent5fa174cbf54cc625a023b8e7170e359dd150c072
tools/libxenguest: Fix migration's debug option

The code has gone through many refactors, but the first refactor was the one
which broke it by inverting the check with respect to checkpointed streams.

Fixes: 7449fb36c6c8 ("migration/save: pass checkpointed_stream from libxl to libxc")
Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libs/guest/xg_sr_save.c