qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: Status of user-mode networking for win32
@ 2004-06-07 18:18 Mike Nordell
  2004-06-07 19:50 ` Elefterios Stamatogiannakis
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Nordell @ 2004-06-07 18:18 UTC (permalink / raw)
  To: qemu-devel

I vote to commit the patch for ne2000, aligning on 16-bit, not 32-bit.

It made (among other things) "ipconfig /renew" work in Windows 2000 guest,
on Windows 2000 host.

/Mike

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

* Re: [Qemu-devel] Re: Status of user-mode networking for win32
  2004-06-07 18:18 Mike Nordell
@ 2004-06-07 19:50 ` Elefterios Stamatogiannakis
  0 siblings, 0 replies; 4+ messages in thread
From: Elefterios Stamatogiannakis @ 2004-06-07 19:50 UTC (permalink / raw)
  To: qemu-devel


  How did you do the networking ? (you said windows as a host)

  teris.

Mike Nordell wrote:

> I vote to commit the patch for ne2000, aligning on 16-bit, not 32-bit.
> 
> It made (among other things) "ipconfig /renew" work in Windows 2000 guest,
> on Windows 2000 host.
> 
> /Mike
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

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

* [Qemu-devel] Re: Status of user-mode networking for win32
@ 2004-06-07 20:07 Mike Nordell
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Nordell @ 2004-06-07 20:07 UTC (permalink / raw)
  To: qemu-devel

I wrote:

> I vote to commit the patch for ne2000, aligning on 16-bit, not 32-bit.
>
> It made (among other things) "ipconfig /renew" work in Windows 2000 guest,
> on Windows 2000 host.

Seems I opened my mouth too early. With this patch in place, it seems that
every second time I boot the Windows 2000 guest in QEMU I get a somewhat
working connection between slirp and the guest OS (I've been able to ICMP
ping the host, using it's real IP interface, but ping-ing other hosts on the
net does not work(*)). The other times it just won't talk to it as it should
(even that I do get slirp debug output).

If it works the same or not without the patch I haven't yet tested. Maybe
it's better with it, maybe not - I just wanted to retract my absolute
support of the patch ASAP until I've been able to reasearch the problem
further.

(*) I believe the largest part of the problem is that slirp is so far only
aware of errno. In Win32, since the C runtime library is just that, a
library, while on POSIX I believe it's an integral part of the environment,
no e.g. socket errors propagate to errno - and things go south. As an
example I can mention a recvfrom() (on a UDP socket, obviously) that fails,
and while errno claims 9 (EBADF - "Bad file descriptor"), WSAGetLastError
says WSAECONNRESET - which means the previous send resulted in an ICMP port
unreachable.

/Mike

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

* [Qemu-devel] Re: Status of user-mode networking for win32
@ 2004-06-07 20:30 Mike Nordell
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Nordell @ 2004-06-07 20:30 UTC (permalink / raw)
  To: qemu-devel

Elefterios Stamatogiannakis wrote:

> How did you do the networking ? (you said windows as a host)

I used your code almost as-is, only with added conditional platform
macro-guards.

/Mike

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

end of thread, other threads:[~2004-06-07 20:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-07 20:07 [Qemu-devel] Re: Status of user-mode networking for win32 Mike Nordell
  -- strict thread matches above, loose matches on Subject: below --
2004-06-07 20:30 Mike Nordell
2004-06-07 18:18 Mike Nordell
2004-06-07 19:50 ` Elefterios Stamatogiannakis

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