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(a)redhat.com>