All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Warner Losh <imp@bsdimp.com>
Cc: Richard Henderson <richard.henderson@linaro.org>,  qemu-devel@nongnu.org
Subject: Re: linux-user cannot allocate stack memory on riscv64 host due to non-zero guest_base
Date: Thu, 27 Jun 2024 09:54:22 +0200	[thread overview]
Message-ID: <mvmv81un7m9.fsf@suse.de> (raw)
In-Reply-To: <CANCZdfq4=s=g8GoeCKY4576xgJs4-X+fXh7m5ZOJ1UeBXwWdCQ@mail.gmail.com> (Warner Losh's message of "Wed, 26 Jun 2024 09:54:06 -0600")

On Jun 26 2024, Warner Losh wrote:

> On Wed, Jun 26, 2024 at 9:48 AM Richard Henderson <
> richard.henderson@linaro.org> wrote:
>
>> On 6/26/24 01:23, Andreas Schwab wrote:
>> > On Jun 25 2024, Richard Henderson wrote:
>> >
>> >> can always force the use of a non-zero base with -B or -R.
>> >
>> > $ qemu-riscv64 -d page -B 0x3ee000 hello.riscv64
>> > host mmap_min_addr=0x1000 (fallback)
>> > qemu-riscv64: /daten/src/test/hello.riscv64: requires virtual address
>> space that is in use (omit the -B option or choose a different value)
>> >
>>
>> Well, sure, but that obviously is where qemu-riscv64 itself is located.
>> Still not a valid test case.
>>
>
> Yea, what happens if you say -B 0x3ee000000 or something else that won't
> conflict?

I didn't chose that number, qemu did.  If it doesn't work then qemu must
be fixed.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


  reply	other threads:[~2024-06-27  7:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25 11:37 linux-user cannot allocate stack memory on riscv64 host due to non-zero guest_base Andreas Schwab
2024-06-25 15:47 ` Richard Henderson
2024-06-26  8:23   ` Andreas Schwab
2024-06-26 15:48     ` Richard Henderson
2024-06-26 15:54       ` Warner Losh
2024-06-27  7:54         ` Andreas Schwab [this message]
2024-06-27 14:14           ` Warner Losh
2024-06-27 14:26             ` Andreas Schwab
2024-06-27 14:55               ` Peter Maydell
2024-07-01 14:02                 ` Andreas Schwab
2024-07-01 16:05                   ` Richard Henderson
2024-07-02  8:09                     ` Andreas Schwab
2024-07-02 14:13                       ` Richard Henderson
2024-07-02 14:18                         ` Andreas Schwab
2024-07-02 14:18                       ` Richard Henderson
2024-07-02 14:39                         ` Andreas Schwab
2024-07-02 14:45                           ` Richard Henderson
2024-07-02 13:37                     ` Andreas Schwab

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=mvmv81un7m9.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=imp@bsdimp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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.