Skip to content

Commit

Permalink
Merge pull request #36 from nathanchance/riscv-use-cbl-qemu-revert
Browse files Browse the repository at this point in the history
boot-utils: Only allow '--use-cbl-qemu' with s390
  • Loading branch information
nathanchance authored Feb 22, 2021
2 parents d59e01f + 357cb3b commit 86a312c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ Optional parameters:
not be long enough for a kernel to boot so this allows that timeout
to be configured. Takes the value passed to timeout (e.g. 30s or 4m).

--use-cbl-qemu (only relevant with '-a riscv' or '-a s390'):
Certain distribution versions of qemu-system-riscv have an issue
with shutting down. This was fixed in QEMU upstream so an upstream
binary is provided in case you are affected by it.

--use-cbl-qemu (only relevant with '-a s390'):
s390 only boots with patches that are available in QEMU master. It
could take a while for those patches to make it to various
distribution versions of qemu-system-s390.
Expand Down
2 changes: 1 addition & 1 deletion boot-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function setup_qemu_args() {
esac
;;
esac
if ${USE_CBL_QEMU:-false} && [[ ${ARCH} = "riscv" || ${ARCH} = "s390" ]]; then
if ${USE_CBL_QEMU:-false} && [[ ${ARCH} = "s390" ]]; then
QEMU_BINARIES=${BASE}/qemu-binaries

green "Downloading or updating qemu-binaries..."
Expand Down

0 comments on commit 86a312c

Please sign in to comment.