* [Qemu-devel] qemu block.c
@ 2006-08-07 19:10 Fabrice Bellard
2006-08-07 20:33 ` [Qemu-devel] Running Qemu ARM using NFS on Windows Tieu Ma Dau
0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Bellard @ 2006-08-07 19:10 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/08/07 19:10:16
Modified files:
. : block.c
Log message:
fixed aio emulation
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block.c?cvsroot=qemu&r1=1.32&r2=1.33
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Running Qemu ARM using NFS on Windows
2006-08-07 19:10 [Qemu-devel] qemu block.c Fabrice Bellard
@ 2006-08-07 20:33 ` Tieu Ma Dau
2006-08-07 21:44 ` [Qemu-devel] " Jan Jezabek
0 siblings, 1 reply; 5+ messages in thread
From: Tieu Ma Dau @ 2006-08-07 20:33 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
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/openpsion 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
But the error I got is:
tap: Could not open 'tap0'
Could not initialize device 'tap
Do you have any ideas?
Best regards,
Tieu
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[-- Attachment #2: Type: text/html, Size: 1157 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Re: Running Qemu ARM using NFS on Windows
2006-08-07 20:33 ` [Qemu-devel] Running Qemu ARM using NFS on Windows Tieu Ma Dau
@ 2006-08-07 21:44 ` Jan Jezabek
0 siblings, 0 replies; 5+ messages in thread
From: Jan Jezabek @ 2006-08-07 21:44 UTC (permalink / raw)
To: qemu-devel
Tieu Ma Dau wrote:
> 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/openpsion 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
>
> But the error I got is:
> tap: Could not open 'tap0'
> Could not initialize device 'tap
>
> Do you have any ideas?
> Best regards,
> Tieu
>
Hi,
ipconfig has a different syntax than ifconfig.
You'll need to get a TAP driver for windows. You can get it from:
http://openvpn.net/download.html
I'm using 2.0.5, so 2.0.7 (current version) will probably work too. You
don't need the complete OpenVPN package - during installation you
probably should uncheck every component except TAP/Win32.
After installation you may need to run
c:\Program Files\OpenVPN\bin\addtap.bat
(if you installed openvpn in the default location). This will create a
new device, called Local Area Connection 5 or so. You should rename it
for convenience to tap0. Then just run QEMU without the script param,
e.g. -net tap,vlan=0,ifname=tap0 .
Of course before the connection will be usable you'll need to set up IP
addresses or DHCP or ICS for the tap device and in the guest OS.
Hope this helps,
Jan Jezabek
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Running Qemu ARM using NFS on Windows
@ 2006-08-08 10:20 Tieu Ma Dau
2006-08-08 10:41 ` Lonnie Mendez
0 siblings, 1 reply; 5+ messages in thread
From: Tieu Ma Dau @ 2006-08-08 10:20 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1227 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Running Qemu ARM using NFS on Windows
2006-08-08 10:20 [Qemu-devel] " Tieu Ma Dau
@ 2006-08-08 10:41 ` Lonnie Mendez
0 siblings, 0 replies; 5+ messages in thread
From: Lonnie Mendez @ 2006-08-08 10:41 UTC (permalink / raw)
To: qemu-devel
On Tue, 2006-08-08 at 03:20 -0700, Tieu Ma Dau wrote:
> 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
See the Qemu on Windows documentation section on "Using Tap."
http://www.h7.dion.ne.jp/~qemu-win/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-08 10:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-07 19:10 [Qemu-devel] qemu block.c Fabrice Bellard
2006-08-07 20:33 ` [Qemu-devel] Running Qemu ARM using NFS on Windows Tieu Ma Dau
2006-08-07 21:44 ` [Qemu-devel] " Jan Jezabek
-- strict thread matches above, loose matches on Subject: below --
2006-08-08 10:20 [Qemu-devel] " Tieu Ma Dau
2006-08-08 10:41 ` Lonnie Mendez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).