On Fri, Jan 30, 2009 at 11:23:29AM -0500, Dave Allan wrote: > Daniel P. Berrange wrote: > >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 > > I should illustrate getting the error messages in the example. I'll put > it in. Did you deliberately break your system to provoke the failure? > I had to rename /usr/bin/qemu to get it. Just don't install QEMU package - just have KVM 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