[libvirt PATCH 06/11] test: snapshot revert: always error out if VM XML is missing

Peter Krempa pkrempa at redhat.com
Tue Nov 16 15:14:43 UTC 2021


On Mon, Nov 15, 2021 at 17:22:49 +0100, Pavel Hrdina wrote:
> We should have this check even if FORCE flag is used because later we
> unconditionally copy the `snap->def->dom` and error out if there is no
> copy created. The test driver will always save the VM XML when creating
> new snapshot.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/test/test_driver.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list