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;
_______________________________________________
Qemu-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/qemu-devel