[libvirt] [PATCH v3 0/3] qemu: add support for multiple gluster hosts/servers

Prasanna Kalever pkalever at redhat.com
Fri Jul 22 09:44:47 UTC 2016


On Fri, Jul 22, 2016 at 2:03 PM, Peter Krempa <pkrempa at redhat.com> wrote:
> On Fri, Jul 22, 2016 at 13:50:28 +0530, Prasanna Kumar Kalever wrote:
>> These series of patches are rebased on latest master;
>> The dependent QEMU patches are now merged on master targeting for 2.7
>
> I actually started implementing this already. The precursor for this
> series is the JSON backing store parser [1].

I remember you comment on my v2 series saying "we should wait until
qemu design settles ?"
So I have focused on them first, since they got merged on master
yesterday, I have resumed this patches :)

>
> Since the backing store parser you've posted here is incomplete and
> lacking some changes that I've requested in the review of the last
> version (mostly that it will fail to compile without gluster enabled) I
> will post my own implementation of that.
>
> I'll try to adapt your series on top of the code that I've
> posted earlier and a few refactors that I've not yet posted.

>From your patches provided at [1] I have noticed,

+static int
+virStorageSourceParseBackingJSONGluster(virStorageSourcePtr src,
+                                        virJSONValuePtr json,

[...]

+
+    /* gluster currently supports only URI syntax passed in as filename */
+    virReportError(VIR_ERR_INVALID_ARG, "%s",
+                   _("missing gluster URI in JSON backing volume definition"));
+
+    return -1;
+}

So this just has the skeleton atleast for now,
I think here our v3 patches should fit-in and do their job of JSON
parsing and formatting
IMO we already have most of the gluster work done here.

Let me know when you are expecting [1] go in, I shall wait for your
patch series.
And will be happy to help you with a rebase of gluster patches on top
of your pseudo JSON code.

What do you think ?


[1] https://www.redhat.com/archives/libvir-list/2016-July/msg00563.html


Thanks Peter!
--
Prasanna

>
> Peter
>
> [1] https://www.redhat.com/archives/libvir-list/2016-July/msg00563.html




More information about the libvir-list mailing list