Running Qemu ARM using NFS on Windows
Hi all,
I ran successfully Qemu to simulate ARM system on Linux host with the following command:
./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs nfsroot=192.168.7.1:/mnt/nfsqemu 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 The content of qemu-ifup script is:
ifconfig tap0 192.168.7.1
But my project demands me to run this ARM system on Windows host. So I modify a bit the qemu-ifup script as:
ipconfig tap0 192.168.7.1 # "ipconfig" , not "ifconfig"
And the corresponding command on Windows is:
qemu-system-arm -kernel zImage.integrator -append "root=/dev/nfs nfsroot=192. 168.7.1:/c/cygwin/openpsionfiltered=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
But the error I got is:
tap: Could not open 'tap0'
Could not initialize device 'tap
Do you have any ideas?
Best regards,
Tieu
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Quoted 19 lines · Tieu Ma Dau
Hi all,
I ran successfully Qemu to simulate ARM system on Linux host with the following command:
./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs nfsroot=192.168.7.1:/mnt/nfsqemu 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
The content of qemu-ifup script is:
ifconfig tap0 192.168.7.1But my project demands me to run this ARM system on Windows host. So I modify a bit the qemu-ifup script as:
ipconfig tap0 192.168.7.1 # "ipconfig" , not "ifconfig"
And the corresponding command on Windows is:
qemu-system-arm -kernel zImage.integrator -append "root=/dev/nfs nfsroot=192. 168.7.1:/c/cygwin/openpsionfiltered=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
Quoted 3 lines
But the error I got is:
tap: Could not open 'tap0'
Could not initialize device 'tap
See the Qemu on Windows documentation section on "Using Tap."
http://www.h7.dion.ne.jp/~qemu-win/