virConnectOpenReadOnly()
Daniel
+Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>
+
+ * src/libvir.c: Karel pointed out handle was lost in
+ virConnectOpenReadOnly()
+
Mon Jan 23 23:53:07 CET 2006 Daniel Veillard <veillard@redhat.com>
* docs/site.xsl docs/*.png docs/*.html: update the images from Diana,
handle = xenHypervisorOpen();
if (handle >= 0)
method++;
+ else
+ handle = -1;
+
xshandle = xs_daemon_open_readonly();
if (xshandle != NULL)
method++;
if (ret == NULL)
goto failed;
ret->magic = VIR_CONNECT_MAGIC;
- ret->handle = -1;
+ ret->handle = handle;
ret->xshandle = xshandle;
if (xend_setup(ret) == 0)
method++;