[libvirt] [PATCH] Add check for binary existing in machine type probe
Eric Blake
eblake at redhat.com
Wed Feb 2 16:50:47 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110202/d967737f/attachment-0001.sig>
More information about the libvir-list
mailing list