[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limit
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page |
Date: |
Wed, 10 Jul 2013 11:25:54 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben:
> Signed-off-by: Peter Lieven <address@hidden>
> ---
> block/iscsi.c | 80
> ++++++++++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 56 insertions(+), 24 deletions(-)
>
> diff --git a/block/iscsi.c b/block/iscsi.c
> index a38a1bf..2e2455d 100644
> --- a/block/iscsi.c
> +++ b/block/iscsi.c
> @@ -54,6 +54,8 @@ typedef struct IscsiLun {
> uint8_t lbpu;
> uint8_t lbpws;
> uint8_t lbpws10;
> + uint32_t max_unmap;
> + uint32_t max_unmap_bdc;
> } IscsiLun;
>
> typedef struct IscsiAIOCB {
> @@ -1007,6 +1009,37 @@ static QemuOptsList runtime_opts = {
> },
> };
>
> +static struct scsi_task *iscsi_do_inquiry(struct iscsi_context *iscsi,
> + int lun, int evpd, int pc) {
Oops, forgot to add the comment in the other mail... This isn't valid
coding style, the brace belongs on a line of its own.
Kevin
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, ronnie sahlberg, 2013/07/02
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, Peter Lieven, 2013/07/03
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, Paolo Bonzini, 2013/07/04
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, Peter Lieven, 2013/07/04
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, Paolo Bonzini, 2013/07/05
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, ronnie sahlberg, 2013/07/05
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, Peter Lieven, 2013/07/06
- Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page, ronnie sahlberg, 2013/07/06