Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTKvu-0007ou-7A for qemu-devel@nongnu.org; Tue, 21 Jul 2009 15:23:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTKvp-0007kg-F0 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 15:23:25 -0400 Received: from [199.232.76.173] (port=54182 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTKvo-0007ka-Pd for qemu-devel@nongnu.org; Tue, 21 Jul 2009 15:23:21 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38894) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTKvo-0006o5-03 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 15:23:20 -0400 Date: Tue, 21 Jul 2009 20:23:11 +0100 From: "Richard W.M. Jones" Message-ID: <20090721192311.GG9230@amd.home.annexia.org> References: <20090721143936.GA18061@amd.home.annexia.org> <4A65FD5B.6050509@siemens.com> <20090721161642.GA18957@amd.home.annexia.org> <4A65EAB6.3060006@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A65EAB6.3060006@siemens.com> Subject: [Qemu-devel] Re: guestfwd option doesn't allow supplementary , server, nowait List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel@nongnu.org On Tue, Jul 21, 2009 at 06:20:06PM +0200, Jan Kiszka wrote: > So this particular issue is (also?) a -stable regression? That should be > easily bisectible. This is what git-bisect said: c92ef6a22d3c71538fcc48fb61ad353f7ba03b62 is first bad commit commit c92ef6a22d3c71538fcc48fb61ad353f7ba03b62 Author: Jan Kiszka Date: Wed Jun 24 14:42:28 2009 +0200 slirp: Rework external configuration interface With the internal IP configuration made more flexible, we can now enhance the user interface. This patch adds a number of new options to "-net user": net (address and mask), host, dhcpstart, dns and smbserver. It also renames "redir" to "hostfwd" and "channel" to "guestfwd" in order to (hopefully) clarify their meanings. The format of guestfwd is extended so that the user can define not only the port but also the virtual server's IP address the forwarding starts from. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori :100644 100644 18c51190bf5ff20625ecaf3de45bd4aab4403044 f26c3f804ec5d234f76e14200e1188d21923a732 M net.c :100644 100644 d1c1539e21caf9da16ef1cd68e29976d1abf576f da5b0ac6a503445431f966de37be0ed3440c6225 M qemu-options.hx :040000 040000 e371676d54aea53190c3ab3fb36a2d9d8da97ded af6ed9e3cc7c650828315f836615ffdb829b02a3 M slirp I have stared at the code for quite a while and I don't see the error. As another data point: I added some fprintf's to guestfwd_can_read and guestfwd_read and I can tell you that guestfwd_can_read is called continually (returning 0 each time), while guestfwd_read is never called. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top