[virt-tools-list] [VIRT-VIEWER PATCH] Remove VIR_CONNECT_RO flag from virConnectOpenAuth call

Michal Novotny minovotn at redhat.com
Thu Sep 30 10:09:16 UTC 2010


Hi,
this is the patch I did yesterday evening when struggling with the 
virt-viewer I just cloned from the mercurial tree. This is the patch to 
remove VIR_CONNECT_RO flag from virConnectOpenAuth() call since the 
virt-viewer was not working for me saying it can't connect to libvirt, 
i.e. returning the NULL pointer from the function mentioned.

I don't know what's wrong (but it most probably be in libvirt since the 
virConnectOpenAuth function returns a NULL pointer when the read-only 
flag is set) and why there was a read-only flag set nevertheless if this 
is intentional we should consider adding a flag to optionally disable 
passing the read-only flag there.

Michal

Signed-off-by: Michal Novotny <minovotn at redhat.com>

-- 
Michal Novotny<minovotn at redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vv-remove-vir-connect-ro-flag.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20100930/a9cb72b1/attachment.bin>


More information about the virt-tools-list mailing list