[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linux-user cannot allocate stack memory on riscv64 host due to non-z
From: |
Andreas Schwab |
Subject: |
Re: linux-user cannot allocate stack memory on riscv64 host due to non-zero guest_base |
Date: |
Tue, 02 Jul 2024 15:37:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Please follow https://en.opensuse.org/openSUSE:RISC-V#QEMU_system_emulation
to start the JeOS-efi image. When logged in:
# zypper rm qemu-linux-user-riscv
# zypper in qemu-linux-user
Then you can run qemu-riscv64 inside:
# qemu-riscv64 -d page hello.riscv64
host mmap_min_addr=0x10000
Locating guest address space @ 0x3ee000
page layout changed following mmap
start end size prot
0000000000010000-0000000000013000 0000000000003000 ---
page layout changed following mmap
start end size prot
0000000000010000-0000000000011000 0000000000001000 r-x
0000000000011000-0000000000013000 0000000000002000 ---
page layout changed following mmap
start end size prot
0000000000010000-0000000000011000 0000000000001000 r-x
0000000000011000-0000000000013000 0000000000002000 rw-
mmap stack: Cannot allocate memory
--
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."
Re: linux-user cannot allocate stack memory on riscv64 host due to non-zero guest_base,
Andreas Schwab <=