add QEMU_OPTIONS env var for run-qemu
This commit is contained in:
parent
0ed97a5232
commit
7f280b5d6a
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
INIT=${INIT-/bin/init}
|
INIT=${INIT-/bin/init}
|
||||||
|
echo $QEMU_OPTIONS
|
||||||
qemu-system-mips \
|
qemu-system-mips \
|
||||||
-M malta -m 256 \
|
-M malta -m 256 \
|
||||||
-echr 16 \
|
-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 \
|
-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 \
|
-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 \
|
-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}
|
||||||
|
|
Loading…
Reference in a new issue