Re: [PATCH 1/4] block: Add bdrv_co_get_lba_status

2020-06-03 Thread Claudio Fontana
Hi Lin, just a couple of things, leaving the core aspects to more knowledgeable people in this area to address. In general, you want all patches in the series to build correctly. Applying only PATCH 1/4 breaks the build for me with: /home/claudio/git/qemu/block/io.c:2190:1: error: no previous

[PATCH 1/4] block: Add bdrv_co_get_lba_status

2020-06-02 Thread Lin Ma
The get lba status wrapper based on the bdrv_block_status. The following patches will add GET LBA STATUS 16 support for scsi emulation layer. Signed-off-by: Lin Ma --- block/io.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/block/io.c