On 13.12.2013 14:22, Kevin Wolf wrote:
This function separates filling the BlockLimits from bdrv_open(), which
allows it to call it from other operations which may change the limits
(e.g. modifications to the backing file chain or bdrv_reopen)
Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
block.c | 19 +++++++++++++++++++
block/iscsi.c | 46 +++++++++++++++++++++++++++++-----------------
block/qcow2.c | 11 ++++++++++-
block/qed.c | 11 ++++++++++-
block/vmdk.c | 22 ++++++++++++++++++----
include/block/block_int.h | 2 ++
6 files changed, 88 insertions(+), 23 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>