On 4 March 2014 13:41, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 4 March 2014 11:32, Alex Bennée <alex.ben...@linaro.org> wrote:
> > Is the effect of this to report system uname or minimum whichever is
higher?
>
> That's what this patch does. The old configure stuff which
> this patchset removed made it report "always that version",
> IIRC.

Yes, configure indeed has that effect, so with the current ubuntu qemu you
get:

uname -r
3.8.0-35-generic

qemu-arm ./arm/busybox uname -r
2.6.32

With these patches, qemu will report 2.6.32 or newer, if host kernel is
newer.

> >It would be nice to
> > have an upstream fix for the hacks the distros are adding.

> I think that's what this patchset is supposed to be :-)

Yes. The patch 5/5 is  heavy hammer to make distributions start
using the new way. Else I fear they will just continue using the
configure flag and their own hacks.

> Only to the extent that they're still carrying bogus patches
> borrowed from the SuSE tree rather than using the better
> way of setting per-arch minumum reported uname that we
> applied upstream.

So you agree these patches are the way to go? If you believe
these are too close to hard freeze, I can just send this list of patches
for merging:

https://git.linaro.org/people/riku.voipio/qemu.git/shortlog/refs/heads/linux-user-for-upstream

Riku

Reply via email to