On Wed, Aug 30, 2017 at 06:06:05PM +0800, Fam Zheng wrote: > This fixes the assertion due to op blockers added by BMDS: > > block.c:3248: bdrv_delete: Assertion `bdrv_op_blocker_is_empty(bs)' failed. > > Reproducer: simply start block migration and quit QEMU before it ends. > > Cc: qemu-sta...@nongnu.org > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > block.c | 2 ++ > migration/block.c | 2 +- > migration/block.h | 1 + > stubs/Makefile.objs | 1 + > stubs/block-migration.c | 6 ++++++ > 5 files changed, 11 insertions(+), 1 deletion(-) > create mode 100644 stubs/block-migration.c
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan