]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Basic tests for internal snapshots
authorKevin Wolf <kwolf@redhat.com>
Fri, 1 Dec 2023 14:25:20 +0000 (15:25 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 22 Dec 2023 19:25:28 +0000 (22:25 +0300)
commit60472f719ca5a6cb7dc494f4daf6d3c712dffe62
tree1cb31447aacd3ca954884f6084fcbb24f3bdea30
parent4c8315ad50e5a91a0666a8a14887deffb5d7d981
iotests: Basic tests for internal snapshots

We have a few test cases that include tests for corner case aspects of
internal snapshots, but nothing that tests that they actually function
as snapshots or that involves deleting a snapshot. Add a test for this
kind of basic internal snapshot functionality.

The error cases include a regression test for the crash we just fixed
with snapshot operations on inactive images.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231201142520.32255-4-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit bb6e2511eb48539b7dcbcb5f47772e156b9c45d1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/tests/qcow2-internal-snapshots [new file with mode: 0755]
tests/qemu-iotests/tests/qcow2-internal-snapshots.out [new file with mode: 0644]