]> git.proxmox.com Git - mirror_qemu.git/commit
block: Update BlockLimits when they might have changed
authorKevin Wolf <kwolf@redhat.com>
Wed, 11 Dec 2013 19:14:09 +0000 (20:14 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jan 2014 16:40:01 +0000 (17:40 +0100)
commit355ef4ac95a7a47d5c7201ccd910056a100d2fdf
tree45ebc3bfbffb57d48c82c3e3b6aa730552c338fe
parent466ad822deef3a03757d505218a52993c5d56b5d
block: Update BlockLimits when they might have changed

When reopening with different flags, or when backing files disappear
from the chain, the limits may change. Make sure they get updated in
these cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit@irqsave.net>
block.c
block/stream.c
include/block/block.h