mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Meta: Run 64-bit kernels with qemu-system-x86_64
This commit is contained in:
parent
5eb65286b6
commit
1979c7d185
2 changed files with 8 additions and 2 deletions
|
@ -27,7 +27,13 @@ fi
|
|||
|
||||
SERENITY_RUN="${SERENITY_RUN:-$1}"
|
||||
|
||||
[ -z "$SERENITY_QEMU_BIN" ] && SERENITY_QEMU_BIN="qemu-system-i386"
|
||||
if [ -z "$SERENITY_QEMU_BIN" ]; then
|
||||
if [ "$SERENITY_ARCH" = "x86_64" ]; then
|
||||
SERENITY_QEMU_BIN="qemu-system-x86_64"
|
||||
else
|
||||
SERENITY_QEMU_BIN="qemu-system-i386"
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -z "$SERENITY_KERNEL_CMDLINE" ] && SERENITY_KERNEL_CMDLINE="hello"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue