]> 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:35 +0000 (22:25 +0300)
commitc6f64736dea20eaf165704967a12ce030de5b84b
treeacda90a873e3fbc8099161a625c55a7f78b1959e
parentad24078e3fc4330647b5d0e0c95db7bec86136a5
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]