[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64.
From: |
Zheng Junjie |
Subject: |
[bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64. |
Date: |
Wed, 27 Mar 2024 17:15:26 +0800 |
User-agent: |
mu4e 1.10.8; emacs 30.0.50 |
Leo Famulari <leo@famulari.name> writes:
> Hi, thanks for these patches!
>
> On Tue, Mar 19, 2024 at 11:15:53PM +0800, Zheng Junjie wrote:
>> hello!. this patchset make `guix system vm --target=riscv64-linux-gnu' work.
>> and `guix system vm --system=riscv64-linux` also work, But there is a problem
>> that the qemu running with --system=riscv64-linux is also riscv architecture,
>> now you have to manually modify to use native qemu or the guix of qemu-system
>> on qemu-user is too slow. and must enable qemu-binfmt.
>
> So, what should we do about the problem? What's the ideal solution for
> Guix? I don't have any experience with this subject matter.
I've come up with two ideas:
1. Force the current system's qemu to be used, on x86_64 and -s
riscv64-linux, use x86_64's qemu.
2. add an environment variable, GUIX_QEMU, to allow the internal qemu
execution to be replaced
There may be other solutions, but I can't think of them yet.
signature.asc
Description: PGP signature
- [bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 2/7] vm: use #$ for kernel-arguments., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 7/7] vm: If not the same local architecture, don't enable kvm., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 5/7] linux-initrd: don't add hid-apple module for riscv64-linux., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 1/7] bootloader: Add u-boot-qemu-riscv64-bootloader., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 4/7] gnu: linux-libre-riscv64-generic: add more options., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 6/7] vm: add arguments to use virt machine type for qemu-riscv64., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 3/7] vm: When target riscv64-linux, use u-boot-qemu-riscv64-bootloader., Zheng Junjie, 2024/03/19
- [bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64., Leo Famulari, 2024/03/26
- [bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64.,
Zheng Junjie <=
- bug#69899: [PATCH 0/7] support to use `guix system vm' with riscv64., Ludovic Courtès, 2024/03/31