From: Aurelien Jarno <aurelien@aurel32.net>
To: u-boot@lists.denx.de
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [PATCH] riscv: qemu: enable booting on a second virtio device
Date: Wed, 10 Jan 2024 21:26:53 +0100 [thread overview]
Message-ID: <20240110202656.984622-1-aurelien@aurel32.net> (raw)
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
next reply other threads:[~2024-01-10 20:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 20:26 Aurelien Jarno [this message]
2024-01-31 2:57 ` [PATCH] riscv: qemu: enable booting on a second virtio device Leo Liang
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=20240110202656.984622-1-aurelien@aurel32.net \
--to=aurelien@aurel32.net \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).