[PATCH 2/2] qemu_block: add locking option