summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2023-09-13 11:08:14 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-09-14 09:56:20 +0000
commit5242bae5ddbb1acc1369a94ecab8ee62b6a54d77 (patch)
tree1e69c214a5882fc0411f49ef8bce47c4605e9189 /OvmfPkg
parentcdfe4310dda2a30b0ca05c8ede6896edce37a656 (diff)
downloadedk2-5242bae5ddbb1acc1369a94ecab8ee62b6a54d77.zip
edk2-5242bae5ddbb1acc1369a94ecab8ee62b6a54d77.tar.gz
edk2-5242bae5ddbb1acc1369a94ecab8ee62b6a54d77.tar.bz2
OvmfPkg/RiscVVirt/README: explain that "-bios" is only useful with TCG
Riscv64 KVM services SBI calls internally, so OpenSBI is not used in such setups. Restrict the "-bios" flag accordingly. Thanks: Andrei, Drew. Cc: Andrei Warkentin <andrei.warkentin@intel.com> Cc: Andrew Jones <ajones@ventanamicro.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Sunil V L <sunilvl@ventanamicro.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> [lersek@redhat.com: '-bios' is rejected with KVM accel (Drew)] Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/RiscVVirt/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/RiscVVirt/README.md b/OvmfPkg/RiscVVirt/README.md
index dbb40bb..598e4e3 100644
--- a/OvmfPkg/RiscVVirt/README.md
+++ b/OvmfPkg/RiscVVirt/README.md
@@ -86,3 +86,8 @@ then specify that binary for QEMU, with the following additional command line
option:
-bios $OPENSBI_DIR/build/platform/generic/firmware/fw_dynamic.bin
+
+Note that the above only makes a difference with software emulation (which you
+can force with `-M accel=tcg`). With hardware virtualization (`-M accel=kvm`),
+KVM services the SBI (Supervisor Binary Interface) calls internally, therefore
+any OpenSBI binary specified with `-bios` is rejected.