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

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

 



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 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]