diff options
author | Laszlo Ersek <lersek@redhat.com> | 2023-09-13 11:08:14 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-14 09:56:20 +0000 |
commit | 5242bae5ddbb1acc1369a94ecab8ee62b6a54d77 (patch) | |
tree | 1e69c214a5882fc0411f49ef8bce47c4605e9189 | |
parent | cdfe4310dda2a30b0ca05c8ede6896edce37a656 (diff) | |
download | edk2-5242bae5ddbb1acc1369a94ecab8ee62b6a54d77.tar.gz |
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>
-rw-r--r-- | OvmfPkg/RiscVVirt/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/RiscVVirt/README.md b/OvmfPkg/RiscVVirt/README.md index dbb40bbe89..598e4e35ac 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.
|