[Qemu-devel] [PATCH 1/1] block/dirty-bitmap: Useless bitmaps in image can be removed

2018-06-25 Thread 13466399134
From: Yao Xu <13466399...@163.com> If qemu-kvm quit without saving bitmaps to image(coredump, host kernel panic, or host pooweroff), bitmaps in image can not be safely used anymore, and also can not be removed. Useless bitmaps should be removed. "block-dirty-bitmap-remove" failed, because block_d

[Qemu-devel] block/dirty-bitmap: Useless bitmaps in image can be removed

2018-06-24 Thread 13466399134
If qemu-kvm quit without saving bitmaps to image(coredump, host kernel panic, or host pooweroff), bitmaps in image can not be safely used anymore, and also can not be removed. Useless bitmaps should be removed. Signed-off-by: yaoxu <13466399...@163.com> --- diff --git a/blockdev.c b/blockdev.c ind

[Qemu-devel] block/dirty-bitmap: Useless bitmaps in image can be removed

2018-06-24 Thread 13466399134
If qemu-kvm quit without saving bitmaps to image(coredump, host kernel panic, or host pooweroff), bitmaps in image can not be safely used anymore, and also can not be removed. Useless bitmaps should be removed. Signed-off-by: Yaoxu19870920 <13466399...@163.com> --- diff --git a/blockdev.c b/blockd

[Qemu-devel] block/dirty-bitmap: Useless bitmaps in image can be removed

2018-06-24 Thread 13466399134
If qemu-kvm quit without saving bitmaps to image(coredump, host kernel panic, or host pooweroff), bitmaps in image can not be safely used anymore, and also can not be removed. Useless bitmaps should be removed. Signed-off-by: Yao Xu <13466399...@163.com> --- diff --git a/blockdev.c b/blockdev.c in

[Qemu-devel] block/dirty-bitmap: Useless bitmap in image can be removed

2018-06-23 Thread 13466399134
If qemu-kvm quit without save bitmaps in image(coredump or panic on host), bitmaps in image can not be used safely anymore, and can not be removed also. Useless bitmaps should be removed. Signed-off-by: Yaoxu19870920 <13466399...@163.com> --- diff --git a/blockdev.c b/blockdev.c index c85056a74b.