[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 10/17] vdi: Implement .bdrv_co_pwritev() interfa
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 10/17] vdi: Implement .bdrv_co_pwritev() interface |
Date: |
Wed, 27 Apr 2016 15:17:17 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Wed, Apr 27, 2016 at 11:52:40AM +0200, Kevin Wolf wrote:
> @@ -703,6 +712,7 @@ static int vdi_co_write(BlockDriverState *bs,
> VdiHeader *header = (VdiHeader *) block;
> uint8_t *base;
> uint64_t offset;
> + uint32_t n_sectors;
>
> logout("now writing modified header\n");
> assert(VDI_IS_ALLOCATED(bmap_first));
Unnecessary change?
> @@ -914,7 +924,7 @@ static BlockDriver bdrv_vdi = {
>
> .bdrv_co_preadv = vdi_co_preadv,
> #if defined(CONFIG_VDI_WRITE)
> - .bdrv_write = vdi_co_write,
> + .bdrv_co_pwritev = vdi_co_pwritev,
> #endif
>
> .bdrv_get_info = vdi_get_info,
> --
> 1.8.3.1
>
signature.asc
Description: PGP signature
- [Qemu-block] [PATCH 06/17] bochs: Implement .bdrv_co_preadv() interface, (continued)
- [Qemu-block] [PATCH 15/17] vpc: Implement .bdrv_co_pwritev() interface, Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 16/17] vvfat: Implement .bdrv_co_preadv/pwritev interfaces, Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 17/17] block: Remove BlockDriver.bdrv_read/write, Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 10/17] vdi: Implement .bdrv_co_pwritev() interface, Kevin Wolf, 2016/04/27
- Re: [Qemu-block] [PATCH 10/17] vdi: Implement .bdrv_co_pwritev() interface,
Stefan Hajnoczi <=
- [Qemu-block] [PATCH 11/17] vmdk: Add vmdk_find_offset_in_cluster(), Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 13/17] vmdk: Implement .bdrv_co_pwritev() interface, Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 12/17] vmdk: Implement .bdrv_co_preadv() interface, Kevin Wolf, 2016/04/27
- [Qemu-block] [PATCH 14/17] vpc: Implement .bdrv_co_preadv() interface, Kevin Wolf, 2016/04/27
- Re: [Qemu-block] [PATCH 00/17] block: Convert .bdrv_read/write to .bdrv_preadv/pwritev, Stefan Hajnoczi, 2016/04/27