qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: Qemu-devel Digest, Vol 59, Issue 88
       [not found] <20080229002153.9684gmx1@mx011.gmx.net>
@ 2008-02-29 11:05 ` Clemens Kolbitsch
  2008-02-29 18:22   ` [Qemu-devel] RE : " Sylvain Petreolle
  0 siblings, 1 reply; 4+ messages in thread
From: Clemens Kolbitsch @ 2008-02-29 11:05 UTC (permalink / raw)
  To: qemu-devel

On Friday 29 February 2008 01:20:10 qemu-devel-request@nongnu.org wrote:
> The emulation works beautifully on windows Xp Pro SP2 guest and official
> Atheros drivers, no installation problems at all.
>
> Nice job !
>
> > Some infos about the patch:
> >  - 2 lines added to pci.c
>
> you have to take recent e1000 inclusion to make it apply cleanly on CVS
>
> >  - added function declaration to pci.h
> >  - patched Makefile.target (2 lines)
>
> VL_OBJS => OBJS, now VL_OBJS are gone
>
> >  - 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...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] RE : Re: Qemu-devel Digest, Vol 59, Issue 88
  2008-02-29 11:05 ` [Qemu-devel] Re: Qemu-devel Digest, Vol 59, Issue 88 Clemens Kolbitsch
@ 2008-02-29 18:22   ` Sylvain Petreolle
  2008-02-29 18:25     ` [Qemu-devel] " Clemens Kolbitsch
  2008-03-01 12:34     ` [Qemu-devel] Re: Re: Atheros Wireless Device Emulation Clemens Kolbitsch
  0 siblings, 2 replies; 4+ messages in thread
From: Sylvain Petreolle @ 2008-02-29 18:22 UTC (permalink / raw)
  To: Clemens Kolbitsch; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]

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 <clemens.kol@gmx.at> a écrit :

> On Friday 29 February 2008 01:20:10 qemu-devel-request@nongnu.org wrote:
> > The emulation works beautifully on windows Xp Pro SP2 guest and official
> > Atheros drivers, no installation problems at all.
> >
> > Nice job !
> >
> > > Some infos about the patch:
> > >  - 2 lines added to pci.c
> >
> > you have to take recent e1000 inclusion to make it apply cleanly on CVS
> >
> > >  - added function declaration to pci.h
> > >  - patched Makefile.target (2 lines)
> >
> > VL_OBJS => OBJS, now VL_OBJS are gone
> >
> > >  - 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...
> 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 2366840769-pci.c.rej --]
[-- Type: text/x-diff; name="pci.c.rej", Size: 733 bytes --]

***************
*** 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) {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: Qemu-devel Digest, Vol 59, Issue 88
  2008-02-29 18:22   ` [Qemu-devel] RE : " Sylvain Petreolle
@ 2008-02-29 18:25     ` Clemens Kolbitsch
  2008-03-01 12:34     ` [Qemu-devel] Re: Re: Atheros Wireless Device Emulation Clemens Kolbitsch
  1 sibling, 0 replies; 4+ messages in thread
From: Clemens Kolbitsch @ 2008-02-29 18:25 UTC (permalink / raw)
  To: Sylvain Petreolle; +Cc: qemu-devel

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: Re: Atheros Wireless Device Emulation
  2008-02-29 18:22   ` [Qemu-devel] RE : " Sylvain Petreolle
  2008-02-29 18:25     ` [Qemu-devel] " Clemens Kolbitsch
@ 2008-03-01 12:34     ` Clemens Kolbitsch
  1 sibling, 0 replies; 4+ messages in thread
From: Clemens Kolbitsch @ 2008-03-01 12:34 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-01 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080229002153.9684gmx1@mx011.gmx.net>
2008-02-29 11:05 ` [Qemu-devel] Re: Qemu-devel Digest, Vol 59, Issue 88 Clemens Kolbitsch
2008-02-29 18:22   ` [Qemu-devel] RE : " Sylvain Petreolle
2008-02-29 18:25     ` [Qemu-devel] " Clemens Kolbitsch
2008-03-01 12:34     ` [Qemu-devel] Re: Re: Atheros Wireless Device Emulation Clemens Kolbitsch

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).