forked from dan/liminix
1
0
Fork 0

add QEMU_OPTIONS env var for run-qemu

This commit is contained in:
Daniel Barlow 2022-10-02 10:05:28 +01:00
parent 0ed97a5232
commit 7f280b5d6a
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ else
fi
INIT=${INIT-/bin/init}
echo $QEMU_OPTIONS
qemu-system-mips \
-M malta -m 256 \
-echr 16 \
@ -22,4 +22,4 @@ qemu-system-mips \
-device virtio-net-pci,disable-legacy=on,disable-modern=off,netdev=access,mac=ba:ad:1d:ea:21:02 \
-netdev socket,id=lan,mcast=230.0.0.1:1235 \
-device virtio-net-pci,disable-legacy=on,disable-modern=off,netdev=lan,mac=ba:ad:1d:ea:21:01 \
-kernel $1 -display none $flags
-kernel $1 -display none $flags ${QEMU_OPTIONS}