[Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

Christophe Fergeau cfergeau at redhat.com
Mon Sep 9 23:33:23 PDT 2013


Hey Iordan,

On Mon, Sep 09, 2013 at 03:08:58PM -0400, i iordanov wrote:
> I've been looking at adding oVirt support to aSPICE, and at the moment I'm
> completely stuck because of some glib functionality not working on Android.
> The library govirt uses glib's convenient support for network file I/O (for
> fetching certificates, VMs, etc.), but because of gio's reliance on gvfsd,
> network file I/O does not operate on Android.
> 
> I've reported the bug to GNOME here:
> https://bugzilla.gnome.org/show_bug.cgi?id=707796
> 
> but this will take a very long time to be fixed if it gets fixed at all.
> 
> In the meanwhile, (Christophe), do you think it's feasible to work around
> this issue by augmenting govirt with some alternate methods of reading
> files from the oVirt proxy (i.e. outside glib, download the file to a
> temporary location and open it as a local file, etc.)?

To get the oVirt CA certificate, you don't have to use the
ovirt_proxy_fetch_ca_certificate* functions, you can fetch it from your
application using the API that is more convenient to you and then set the
OvirtProxy::ca-cert property. This property is a GByteArray.
Regarding the rest of the interaction with oVirt, this is done through the
REST API using librest/libsoup, I'm not sure they need gvfsd to work as
expected.

Hope that helps,

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130910/aeb6d9e0/attachment.pgp>


More information about the Spice-devel mailing list