* [PATCH] riscv: qemu: enable booting on a second virtio device
@ 2024-01-10 20:26 Aurelien Jarno
2024-01-31 2:57 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Aurelien Jarno @ 2024-01-10 20:26 UTC (permalink / raw)
To: u-boot; +Cc: Aurelien Jarno
QEMU RISC-V supports multiple virtio devices, but only tries to boot to
the first one. Enable support for a second virtio device, that is useful
for instance to boot on a disk image + an installer. Ideally that should
be made dynamic, but that's a first step.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
include/configs/qemu-riscv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h
index 584559cfa3..2f594bfcfd 100644
--- a/include/configs/qemu-riscv.h
+++ b/include/configs/qemu-riscv.h
@@ -23,6 +23,7 @@
#define BOOT_TARGET_DEVICES(func) \
func(VIRTIO, virtio, 0) \
+ func(VIRTIO, virtio, 1) \
func(SCSI, scsi, 0) \
func(DHCP, dhcp, na)
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: qemu: enable booting on a second virtio device
2024-01-10 20:26 [PATCH] riscv: qemu: enable booting on a second virtio device Aurelien Jarno
@ 2024-01-31 2:57 ` Leo Liang
0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2024-01-31 2:57 UTC (permalink / raw)
To: Aurelien Jarno; +Cc: u-boot
On Wed, Jan 10, 2024 at 09:26:53PM +0100, Aurelien Jarno wrote:
> QEMU RISC-V supports multiple virtio devices, but only tries to boot to
> the first one. Enable support for a second virtio device, that is useful
> for instance to boot on a disk image + an installer. Ideally that should
> be made dynamic, but that's a first step.
>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> ---
> include/configs/qemu-riscv.h | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-31 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 20:26 [PATCH] riscv: qemu: enable booting on a second virtio device Aurelien Jarno
2024-01-31 2:57 ` Leo Liang
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.