Page 1 of 1

QEMU in Windows problem.

Posted: Sat Mar 22, 2008 10:09 am
by 01000101
Hi,
I've been trying to get QEMU to emulate an x86 with two RTL8139 NICs.

So far I have got QEMU to virtually put the cards in, but it seems that it will not allow packets to be accepted or transmitted from them.

My OS can enumerate the devices (yes both) and acknowledges both of their unique IRQ lines and MAC addresses, but never gets a single interrupt from them of any kind.

I have tested the timer interrupt and it fires just fine and at a reasonably accurate speed, but no dice on the NICs.

below is my batch script that starts the emulator.

Code: Select all

@echo off
qemu.exe -L . -m 64 -fda //./a: -boot a -net nic,model=rtl8139,macaddr=12:34:56:78:9A:BC -net user -net nic,model=rtl8139 -net user
Any help is extremely appreciated.
Thanks

Posted: Sat Mar 22, 2008 11:52 am
by Zacariaz
Shouldn't you specify a mac for both of them?
Just a wild guess, but you'll never know ;)

Posted: Sat Mar 22, 2008 11:57 am
by jzgriffin
Do you have a TAP device installed for the OS?

http://www.h7.dion.ne.jp/~qemu-win/TapWin32-en.html

Posted: Sat Mar 22, 2008 6:45 pm
by iammisc
Without a tap device you can only use tcp/ip so if you're sending packets that don't correspond to that, then you won't be able to use the cards.