Qemu-devel Digest, Vol 59, Issue 88
Quoted 15 lines · On Friday 29 February 2008 01:20:10 [email protected] wrote:
The emulation works beautifully on windows Xp Pro SP2 guest and official Atheros drivers, no installation problems at all.
Nice job !
Quoted 2 lines
Some infos about the patch:
- 2 lines added topci.cyou have to take recent e1000 inclusion to make it apply cleanly on CVS
Quoted 2 lines
- added function declaration to
pci.h
- patched Makefile.target (2 lines)
VL_OBJS=> OBJS, nowVL_OBJSare gone
Quoted 8 lines
Quoted 6 lines
- added files qemu/hw/atheros_wlan_.*.[ch]
- took 2 files from wireshark to generate CRC32 checksums
- took 3 files from ath5k
---> licence people, please have a look if that is ok!!Enabling emulation:
Keep up the good work !
I'd love to add it to CVS. Checked out the repository, but I don't really know what you mean with take recenent e1000 inclusion. Could you clarify that a little? Looked at (e.g.) ne2000.c and rtl8139.c and it's just like my code, I guess...
Look at pci.c.rej.
Because of the lines of the recent e1000 pci card inclusion, patch refuses to apply it.
Its just a matter of resynch...
--- Clemens Kolbitsch <[email protected]> a écrit :
Quoted 21 lines · On Friday 29 February 2008 01:20:10 [email protected] wrote:
Quoted 20 lines
The emulation works beautifully on windows Xp Pro SP2 guest and official Atheros drivers, no installation problems at all.
Nice job !
Quoted 2 lines
Some infos about the patch:
- 2 lines added topci.cyou have to take recent e1000 inclusion to make it apply cleanly on CVS
Quoted 2 lines
- added function declaration to
pci.h
- patched Makefile.target (2 lines)
VL_OBJS=> OBJS, nowVL_OBJSare goneQuoted 5 lines
- added files qemu/hw/atheros_wlan_.*.[ch]
- took 2 files from wireshark to generate CRC32 checksums
- took 3 files from ath5k
---> licence people, please have a look if that is ok!!
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
Enabling emulation:
Keep up the good work !
I'd love to add it to CVS. Checked out the repository, but I don't really know what you mean with take recenent e1000 inclusion. Could you clarify that a little? Looked at (e.g.)
ne2000.candrtl8139.cand it's just like my code, I guess...
Kind regards,
Sylvain Petreolle (aka Usurp)
Support artists, not multinationals - http://Iwouldntsteal.net
Supportez les artistes, pas les multinationales - http://Iwouldntsteal.net
Free music you can listen to everywhere : http://www.jamendo.com
***************
*** 636,641 ****
pci_i82559er_init(bus, nd, devfn);
} else if (strcmp(nd->model, "rtl8139") == 0) {
pci_rtl8139_init(bus, nd, devfn);
} else if (strcmp(nd->model, "pcnet") == 0) {
pci_pcnet_init(bus, nd, devfn);
} else if (strcmp(nd->model, "?") == 0) {
--- 636,643 ----
pci_i82559er_init(bus, nd, devfn);
} else if (strcmp(nd->model, "rtl8139") == 0) {
pci_rtl8139_init(bus, nd, devfn);
+ } else if (strncmp(nd->model, "atheros_wlan", 12) == 0) {
+ pci_Atheros_WLAN_init(bus, nd, devfn);
} else if (strcmp(nd->model, "pcnet") == 0) {
pci_pcnet_init(bus, nd, devfn);
} else if (strcmp(nd->model, "?") == 0) {Quoted 5 lines · On Friday 29 February 2008 19:22:53 Sylvain Petreolle wrote:
Look at pci.c.rej.
Because of the lines of the recent e1000 pci card inclusion, patch refuses to apply it.Its just a matter of resynch...
ok thanks.
will take a look at it!
[Qemu-devel] Re: Re: Atheros Wireless Device Emulation
In reply to Sylvain PetreolleQuoted 5 lines · On Friday 29 February 2008 19:22:53 Sylvain Petreolle wrote:
Look at pci.c.rej.
Because of the lines of the recent e1000 pci card inclusion, patch refuses to apply it.Its just a matter of resynch...
Now I got it ;-)
This one (http://stud4.tuwien.ac.at/~e0126605/qemu_atheros/atheros_wlan.patch)
is for the current CVS version. Do we have writing access to the CVS?? Since I doubt it, could someone apply the patch (in case you think it is good enough ;-) )
Some more infos on the wlan emulation:
- if you cannot connect to the router (happens to me sometimes with windows
guests), simply cancel connecting and retry
- i experienced problems when getting a dynamic ip from qemu (dhcp) when
using multiple NICs. Simply disable all other NICs and it always worked for me or use static IPs.
- Inbound connections still buggy
- Still does not work with current CVS of Madwifi drivers. Use MadWifi 0.9.3
(and don't forget to use the _linux_ model type as explained in previous posts)
- I just tried the patch and got a "qemu: fatal: triple fault" ... i
restarted qemu and everything worked fine. either there is still a major bug in my code, or the snapshots inside my image were a little messed up.
Have fun with the code ;-)
--Clemens