diff options
author | Juergen Gross <jgross@suse.com> | 2017-03-16 15:19:52 +0100 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-04-21 12:40:09 -0700 |
commit | f1167ee684279bffabe7bb3ab23eff87577fe427 (patch) | |
tree | 5e87fe4be5fb74380f42f769dc07d4fa39cd96e6 /configure | |
parent | d655f34e6d6a68f64e885fa85295e0c7a31ce846 (diff) |
xen: use 5 digit xen versions
Today qemu is using e.g. the value 480 for Xen version 4.8.0. As some
Xen version tests are using ">" relations this scheme will lead to
problems when Xen version 4.10.0 is being reached.
Instead of the 3 digit schem use a 5 digit scheme (e.g. 40800 for
version 4.8.0).
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2014,7 +2014,7 @@ EOF compile_prog "" "$xen_libs -lxendevicemodel $xen_stable_libs" then xen_stable_libs="-lxendevicemodel $xen_stable_libs" - xen_ctrl_version=490 + xen_ctrl_version=40900 xen=yes elif cat > $TMPC <<EOF && @@ -2069,7 +2069,7 @@ int main(void) { EOF compile_prog "" "$xen_libs $xen_stable_libs" then - xen_ctrl_version=480 + xen_ctrl_version=40800 xen=yes elif cat > $TMPC <<EOF && @@ -2120,7 +2120,7 @@ int main(void) { EOF compile_prog "" "$xen_libs $xen_stable_libs" then - xen_ctrl_version=471 + xen_ctrl_version=40701 xen=yes elif cat > $TMPC <<EOF && @@ -2135,7 +2135,7 @@ int main(void) { EOF compile_prog "" "$xen_libs" then - xen_ctrl_version=470 + xen_ctrl_version=40700 xen=yes # Xen 4.6 @@ -2163,7 +2163,7 @@ int main(void) { EOF compile_prog "" "$xen_libs" then - xen_ctrl_version=460 + xen_ctrl_version=40600 xen=yes # Xen 4.5 @@ -2190,7 +2190,7 @@ int main(void) { EOF compile_prog "" "$xen_libs" then - xen_ctrl_version=450 + xen_ctrl_version=40500 xen=yes elif @@ -2215,7 +2215,7 @@ int main(void) { EOF compile_prog "" "$xen_libs" then - xen_ctrl_version=420 + xen_ctrl_version=40200 xen=yes else @@ -2227,7 +2227,7 @@ EOF fi if test "$xen" = yes; then - if test $xen_ctrl_version -ge 471 ; then + if test $xen_ctrl_version -ge 40701 ; then libs_softmmu="$xen_stable_libs $libs_softmmu" fi libs_softmmu="$xen_libs $libs_softmmu" |