[libvirt] [PATCH v2 4/8] util: storage: Add JSON parser for new options in iSCSI protocol
Pavel Hrdina
phrdina at redhat.com
Tue Jun 20 07:00:34 UTC 2017
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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170620/0da1a13f/attachment-0001.sig>
More information about the libvir-list
mailing list