[libvirt] inability to open local read-only connection
Daniel P. Berrange
berrange at redhat.com
Fri Aug 20 10:31:11 UTC 2010
On Mon, Jul 12, 2010 at 03:49:17PM -0500, Tavares, John wrote:
> Hi Daniel,
>
> I added some more info to this. I added a call to try to get the max number of vcpus as well. For starters, here is the output of my 3 tests:
>
> $ info1
> -bash: info1: command not found
> [perform at pun-rlnx55-bpa01 tavares]$ ./info1
> Failed to bind to socket /tmp/livirt_proxy_conn
> Domains 0: 2 CPUs
> Failed to get scheduler inforamtion for Domain 0
> Failed to get max vcpus for Domain 0
If you edit your demo program to pass 'xen+unix:///' to
virConnectOpenReadonly() this should work as you expect
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list