From: Richard Henderson <rth@twiddle.net>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Wei-Bo, Chen" <webberapple@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [RFC] util: Fix QEMU_LD_PREFIX endless loop
Date: Tue, 19 Jan 2016 12:11:52 -0800 [thread overview]
Message-ID: <569E9888.4070103@twiddle.net> (raw)
In-Reply-To: <CAFEAcA94qwapjuJLt=1kihoPB_WoKQVgn8v5JhcMviU=FJeR=w@mail.gmail.com>
On 01/19/2016 10:15 AM, Peter Maydell wrote:
> On 15 January 2016 at 18:15, Richard Henderson <rth@twiddle.net> wrote:
>> .../qemu/run/qemu-alpha -> .../gcc/run-cross/alphaev67-linux/sys-root
>> .../qemu/run/qemu-arm -> .../gcc/run-cross/arm-linux-gnueabi/sys-root
>> .../qemu/run/qemu-sparc -> .../gcc/run-cross/sparc64-linux/sys-root
>> .../qemu/run/qemu-sparc64 -> .../gcc/run-cross/sparc64-linux/sys-root
>>
>> The DT_LNK is required for traversing even the first link.
>
> Right. So the path.c code is definitely buggy, but this patch
> isn't the right way to fix it. It really doesn't behave
> sensibly if you point it at a full root fs, but lots of people
> want to do that, so it would be nice if it worked...
>
> I think the underlying thing the code is trying to do is
> create a sort of union-mount of the real root filesystem and
> the directory you point at with -L. We need to do that in a way
> that doesn't insist on scanning everything in the -L directory
> on startup.
I'm happy with any fix that lets my setup above work. ;-)
r~
prev parent reply other threads:[~2016-01-19 20:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-06 15:21 [Qemu-devel] [RFC] util: Fix QEMU_LD_PREFIX endless loop Wei-Bo, Chen
2016-01-06 16:25 ` 陳威伯
2016-01-11 18:52 ` 陳威伯
2016-01-11 19:07 ` Peter Maydell
2016-01-15 17:53 ` Peter Maydell
2016-01-15 18:15 ` Richard Henderson
2016-01-19 18:15 ` Peter Maydell
2016-01-19 20:11 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=569E9888.4070103@twiddle.net \
--to=rth@twiddle.net \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=webberapple@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.