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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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