[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Progress
From: |
Renzo Davoli |
Subject: |
Re: [Qemu-devel] Progress |
Date: |
Mon, 15 Mar 2004 09:48:41 +0100 |
User-agent: |
Mutt/1.3.28i |
On Sun, Mar 14, 2004 at 11:00:03PM +0100, Fabrice Bellard wrote:
> - multiple network interface support (untested)
I have found a minor bug about this:
the management of the -tun-fd option (changed to cope with multiple
interfaces) is buggy, it is a for(;;) loop with no exiting break.
The fix is very simple:
*** vl.c.orig Mon Mar 15 09:43:50 2004
--- vl.c Mon Mar 15 09:39:15 2004
***************
*** 980,986 ****
} else if (*p != '\0') {
fprintf(stderr, "qemu: invalid fd for
network interface %d\n", nb_nics);
exit(1);
! }
}
}
break;
--- 980,987 ----
} else if (*p != '\0') {
fprintf(stderr, "qemu: invalid fd for
network interface %d\n", nb_nics);
exit(1);
! } else
! break;
}
}
break;