summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh20
1 files changed, 3 insertions, 17 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index d17254b657..7f0f50cb92 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -211,11 +211,9 @@ elif [ "$SERENITY_RUN" = "qgrub" ]; then
$SERENITY_PACKET_LOGGING_ARG \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \
-device e1000,netdev=breh
-elif [ "$SERENITY_RUN" = "q35_cmd" ]; then
- # Meta/run.sh q35_cmd: qemu (q35 chipset) with SerenityOS with custom commandline
- shift
- SERENITY_KERNEL_CMDLINE="$*"
- echo "Starting SerenityOS, Commandline: ${SERENITY_KERNEL_CMDLINE}"
+elif [ "$SERENITY_RUN" = "q35" ]; then
+ # Meta/run.sh q35: qemu (q35 chipset) with SerenityOS
+ echo "Starting SerenityOS with QEMU Q35 machine, Commandline: ${SERENITY_KERNEL_CMDLINE}"
"$SERENITY_QEMU_BIN" \
$SERENITY_COMMON_QEMU_Q35_ARGS \
$SERENITY_VIRT_TECH_ARG \
@@ -223,18 +221,6 @@ elif [ "$SERENITY_RUN" = "q35_cmd" ]; then
-device e1000,netdev=breh \
-kernel Kernel/Kernel \
-append "${SERENITY_KERNEL_CMDLINE}"
-elif [ "$SERENITY_RUN" = "qcmd" ]; then
- # Meta/run.sh qcmd: qemu with SerenityOS with custom commandline
- shift
- SERENITY_KERNEL_CMDLINE="$*"
- echo "Starting SerenityOS, Commandline: ${SERENITY_KERNEL_CMDLINE}"
- "$SERENITY_QEMU_BIN" \
- $SERENITY_COMMON_QEMU_ARGS \
- $SERENITY_VIRT_TECH_ARG \
- -netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \
- -device e1000,netdev=breh \
- -kernel Kernel/Kernel \
- -append "${SERENITY_KERNEL_CMDLINE}"
elif [ "$SERENITY_RUN" = "ci" ]; then
# Meta/run.sh ci: qemu in text mode
echo "Running QEMU in CI"