qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block/ssh: Require libssh2 >= 1.2.8.


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] block/ssh: Require libssh2 >= 1.2.8.
Date: Mon, 22 Apr 2013 15:13:36 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Apr 19, 2013 at 09:16:39AM +0100, Richard W.M. Jones wrote:
> From: "Richard W.M. Jones" <address@hidden>
> 
> libssh2 >= 1.2.8 is required to enable this block device (because
> that version introduced the libssh2_session_handshake call).
> 
> Change the test to use pkg-config exclusively.  If the user requests
> --enable-libssh2 and the minimum version is not available, then the
> following error is displayed:
> 
>   $ ./configure --enable-libssh2
> 
>   ERROR: libssh2 >= 1.2.8 required for --enable-libssh2
> 
> If --enable-libssh2 is not specified, then the feature is silently
> disabled if sufficiently new libssh2 is not available.
> ---
>  configure | 24 ++++--------------------
>  1 file changed, 4 insertions(+), 20 deletions(-)

Two comments:

1. This patch also drops non-pkgconfig support.  I guess this is okay.

2. RHEL 5 and Debian stable do not have libssh2 1.2.8.  Since this is a
   new feature for the QEMU 1.5 release, no one is expecting it to be
   available for old distros.  Therefore, not a problem.

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]