]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVE
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 Jan 2016 14:56:06 +0000 (15:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2016 12:36:23 +0000 (13:36 +0100)
commit04c01a5c8f006b6e45fa5be8ea857efe7d9c41f9
treea564093ac2a06eb941504e037e3c4a19623f6736
parent23c88b24721ee907639705bf9de03dcd6b1e66ad
block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVE

Instead of covering only the state of images on the migration
destination before the migration is completed, the flag will also cover
the state of images on the migration source after completion. This
common state implies that the image is technically still open, but no
writes will happen and any cached contents will be reloaded from disk if
and when the image leaves this state.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c
block/io.c
block/qcow2.c
block/qed.c
include/block/block.h
nbd/server.c