summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun6
1 files changed, 5 insertions, 1 deletions
diff --git a/run b/run
index f3bd232..043461a 100755
--- a/run
+++ b/run
@@ -77,6 +77,9 @@ if [ -z "${QEMU_NET}" ]; then
QEMU_NET="-net user,vlan=1"
fi
+
+QEMU_NET="-net nic,model=virtio -net tap"
+
# do the job
${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
-M ${QEMU_MACHINE} \
@@ -87,5 +90,6 @@ ${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
-kernel ${PTXDIST_PLATFORMDIR}/images/linuximage \
-hda ${PTXDIST_PLATFORMDIR}/images/hd.img \
-watchdog i6300esb -watchdog-action poweroff \
- -append "root=/dev/sda1 rootfs=ext2 rw console=ttyAMA0,115200"
+ -append "root=/dev/nfs ip=dhcp nfsroot=/root,v3,tcp,port=2049,mountport=2049 rw console=ttyAMA0,115200"
+# -append "root=/dev/sda1 rootfs=ext2 rw console=ttyAMA0,115200"