diff options
Diffstat (limited to 'scripts/qemu/qemu-nfs')
-rwxr-xr-x | scripts/qemu/qemu-nfs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/qemu/qemu-nfs b/scripts/qemu/qemu-nfs index 92c7fc24b1..d827664c92 100755 --- a/scripts/qemu/qemu-nfs +++ b/scripts/qemu/qemu-nfs | |||
@@ -1,2 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0 " -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup | 2 | |
3 | if [ -z "$QEMU_MEMORY" ] | ||
4 | then | ||
5 | QEMU_MEMORY="64M" | ||
6 | fi | ||
7 | |||
8 | qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=$QEMU_MEMORY" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup | ||