]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/040
qemu-iotests: Test the reopening of overlay_bs in 'block-commit'
authorAlberto Garcia <berto@igalia.com>
Wed, 28 Oct 2015 13:43:50 +0000 (15:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 11 Nov 2015 15:25:47 +0000 (16:25 +0100)
commitbcdce5a73cb28f32b3ca3a51e8fa89879685e015
tree08f5932bf2c89b2153e51a49aeffe86d3112e7d0
parent3db2bd5508c86a1605258bc77c9672d93b5c350e
qemu-iotests: Test the reopening of overlay_bs in 'block-commit'

The 'block-commit' command needs the overlay image of 'top' to
be opened in read-write mode in order to update the backing file
string. If 'top' is not the active layer or its backing file then its
overlay needs to be reopened during the block job.

This is a test case for that scenario.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/040
tests/qemu-iotests/040.out