[PATCH v2 03/19] qemu: block: implement helpers for blockdev-reopen