[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2 4/8] util: storage: Add JSON parser for new options in iSCSI protocol



On Mon, Jun 19, 2017 at 03:58:31PM +0200, Peter Krempa wrote:
> Starting from qemu 2.9, more granular options are supported. Add parser
> for the relevant bits.
> 
> With this patch libvirt is able to parse the host and target IQN of from
> the JSON pseudo-protocol specification.
> 
> This corresponds to BlockdevOptionsIscsi in qemu qapi.
> ---
> 
> Notes:
>     v2:
>     - parse 'port' from the portal string
>     - treat 'lun' as an integer in json
> 
>  src/util/virstoragefile.c | 63 ++++++++++++++++++++++++++++++++++++++++++++---
>  tests/virstoragetest.c    | 19 ++++++++++++++
>  2 files changed, 78 insertions(+), 4 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]