This fixes the issue reported as https://bugs.launchpad.net/bugs/1711602
Fam Zheng (3): block-backend: Refactor inactivate check block-backend: Allow more "can inactivate" cases mirror: Mark target BB as "force allow inactivate" Stefan Hajnoczi (1): block: Update open_flags after ->inactivate() callback block.c | 7 +++---- block/block-backend.c | 30 +++++++++++++++++++++++++----- block/mirror.c | 14 ++++++++++++-- include/sysemu/block-backend.h | 1 + 4 files changed, 41 insertions(+), 11 deletions(-) -- 2.13.5