On Fri, Jan 12, 2007 at 11:36:06AM -0800, alex wrote:
>This is a second attempt to post, first one did not get through.
>
>This patch fixes -parallel and -serial options work with TCP targets on
>Windows host.
>
>Alex.
>
>--- /d/qemu/vl.c Fri Jan 12 10:43:12 2007
>+++ vl.c Fri Jan 12 10:49:37 2007
>@@ -2692,8 +2692,13 @@
>             if (ret < 0) {
>                 err = socket_error();
>                 if (err == EINTR || err == EWOULDBLOCK) {
>+#ifndef _WIN32
>                 } else if (err == EINPROGRESS) {
>                     break;
>+#else
>+                } else if (err == EINPROGRESS | err == WSAEALREADY) {

Doesn't sound like it would be correct ("|" != "||"), even for Windows..
cheers,


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to