Re: [PATCH] Add check for binary existing in machine type probe

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

 



On 02/02/2011 05:36 AM, Daniel P. Berrange wrote:
> When probing machine types if the QEMU binary does not exist
> we get a hard to diagnose error, due to the execve() in the
> child failing
> 
> error: internal error Child process exited with status 1.
> 
> Add an explicit check so that we get
> 
> error: Cannot find QEMU binary /usr/libexec/qem3u-kvm: No such file or directory
> 
> * src/qemu/qemu_capabilities.c: Check for QEMU binary
> ---
>  src/qemu/qemu_capabilities.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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