Re: [Libguestfs] [PATCH] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).

Richard W.M. Jones
Thu, 04 Dec 2014 10:17:11 -0000

On Thu, Dec 04, 2014 at 09:40:41AM +0000, Richard W.M. Jones
wrote:
> +        else (
> +          let i = compare_app2_versions k1.ki_app k2.ki_app in
> +          if i <> 0 then i
> +          (* Favour non-debug kernels over debug kernels (RHBZ#1170073).
*)
> +          else compare k2.ki_is_debug k1.ki_is_debug in

Bleeeeah.  I shouldn't try to make a last second change before
posting the patch.  This has a syntax error, v2 coming up ...

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.