]> 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:21 +0000 (22:25 +0300)
commit11b0730d6085cb78cf207e5be30ef0c3867a6282
tree95e97a0ac1332d23f4ad1032ba766f5d09466741
parent64537ff11f0078bc3d2e63ea36f4a17adb124286
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]