block_stream: Add monitor method check size for qemu2-10
qemu2.10 starts to prevent qemu-img access an operating image,
therefore it will prompt CmdError when check image size by qemu-img.
So check size via qmp monitor if catch such error.
Signed-off-by: NQianqian Zhu <qizhu@redhat.com>
Showing
想要评论请 注册 或 登录