[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Re: [PATCH 0/3] A small example program



On Fri, Jan 30, 2009 at 02:10:58PM +0100, Jim Meyering wrote:
> Hi David,
> 
> I've just applied your 3 patches and built the example.
> That went fine.  Then I tried to run it like this:
> 
>      $ LIBVIRT_DEBUG=1 libvirtd 2> log & pid=$!
>      $ ./hellolibvirt
>      Attempting to connect to hypervisor
>      Connected to hypervisor at "qemu:///session"
> ? -> Failed to get hypervisor version

This shows a place where the example program could use the libvirt 
error information - it should have received error message to the 
effect of

  'Cannot find QEMU binary /usr/bin/qemu'

when qemudExtractVersion failed to find the binary it wanted

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]