Skip to content

Commit

Permalink
Merge pull request #65 from kees/no-reboot
Browse files Browse the repository at this point in the history
boot-qemu: Always use -no-reboot
  • Loading branch information
kees authored Jul 25, 2022
2 parents 7eaecee + 8c78e38 commit 2f696f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions boot-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ function setup_qemu_args() {
DTB=aspeed-bmc-opp-palmetto.dtb
QEMU_ARCH_ARGS=(
-machine palmetto-bmc
-no-reboot
)
QEMU=(qemu-system-arm)
;;
Expand All @@ -196,7 +195,6 @@ function setup_qemu_args() {
DTB=aspeed-bmc-opp-romulus.dtb
QEMU_ARCH_ARGS=(
-machine romulus-bmc
-no-reboot
)
QEMU=(qemu-system-arm)
;;
Expand All @@ -209,7 +207,6 @@ function setup_qemu_args() {
${DEBIAN} && HIGHMEM=,highmem=off
QEMU_ARCH_ARGS=(
-machine "virt${HIGHMEM}"
-no-reboot
)
# It is possible to boot ARMv7 kernels under KVM on AArch64 hosts,
# if it is supported. ARMv7 KVM support was ripped out of the
Expand Down Expand Up @@ -282,7 +279,6 @@ function setup_qemu_args() {
QEMU_ARCH_ARGS=(
-cpu m68040
-M q800
-no-reboot
)
QEMU=(qemu-system-m68k)
;;
Expand Down Expand Up @@ -310,7 +306,6 @@ function setup_qemu_args() {
esac
ARCH=powerpc
APPEND_STRING+="console=ttyS0 "
QEMU_ARCH_ARGS+=(-no-reboot)
QEMU_RAM=128m
QEMU=(qemu-system-ppc)
;;
Expand Down Expand Up @@ -451,6 +446,7 @@ function invoke_qemu() {
set -x
"${QEMU[@]}" \
"${QEMU_ARCH_ARGS[@]}" \
-no-reboot \
-display none \
-kernel "${KERNEL}" \
-m "${QEMU_RAM}" \
Expand Down

0 comments on commit 2f696f1

Please sign in to comment.