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

Re: [Libvir] PATCH: Process QEMU monitor at startup



On Mon, Mar 05, 2007 at 02:18:20PM +0000, Mark McLoughlin wrote:
> Hi Dan,
> 	On the topic of error reporting, I just noticed that without QEMU
> installed you just get:
> 
>   libvirt.libvirtError: virDomainCreateLinux() failed
> 
> 	(Haven't looked into it myself)

There is an 'XXX' in the method which turns the QEMU command name into the
full pathname to exec. It needs to actually look for it in $PATH instead
of using /usr, and it once its doing that, the method can actually return
NULL and thus we can provide a  useful message that QEMU is not installed.
Shouldn't be much work to fix it - I'll look at it later until you beat
me to it

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 


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