From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKq3W-0003cG-BN for qemu-devel@nongnu.org; Fri, 13 May 2011 06:57:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKq3V-0002Td-B2 for qemu-devel@nongnu.org; Fri, 13 May 2011 06:57:14 -0400 Received: from david.siemens.de ([192.35.17.14]:29926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKq3U-0002TK-Nm for qemu-devel@nongnu.org; Fri, 13 May 2011 06:57:13 -0400 Message-ID: <4DCD0E82.6000103@siemens.com> Date: Fri, 13 May 2011 12:57:06 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4DCB486F.70509@landley.net> <4DCC8523.2000501@landley.net> <4DCC8E21.3030405@landley.net> <4DCCD223.90504@web.de> <4DCD0878.2050408@landley.net> In-Reply-To: <4DCD0878.2050408@landley.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] -net interface association behavior change in current -git. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: blauwirbel@gmail.com, Vincent Palatin , qemu-devel@nongnu.org On 2011-05-13 12:31, Rob Landley wrote: > On 05/13/2011 01:39 AM, Jan Kiszka wrote: >>> Actually, reading qemu >>> --help it looks like I should be using hostfwd= but the documentation on >>> that is REALLY WEIRD: >>> >>> This option can not be given multiple times, but multiple rules may >>> be combined. >> >> Where did you find this? A quick grep did not reveal the location to me. >> qemu-options.hx states it clearly: > > I did a "man qemu" and searched for hostfwd, it was at the end of the > first paragraph: > > hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport > Redirect incoming TCP or UDP connections to the host port > hostport to the guest IP address guestaddr on guest port > guestport. If guestaddr is not specified, its value is x.x.x.15 > (default first address given by the built-in DHCP server). By > specifying hostaddr, the rule can be bound to a specific host > interface. If no connection type is set, TCP is used. This > option can not be given multiple times, but multiple rules may > be combined. > > Looks like it grabbed the xubuntu 10.04 (current LTS) man page, which is > wrong. The one in the qemu source is correct, but wasn't built by > "make" or installed by "make install". (It built when I explicitlly > said make qemu.1 though. Go figure.) > > *shrug* Never underestimate ubuntu's ability to subtly break qemu, this > is the... fourth different way I've noticed them doing that? (I dunno > why they keep fiddling with it. Thought installing qemu from source > also installed the man page, which would be in the search path before > the distro version. My bad...) Did they also "improve" the code accordingly? Indeed very strange. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux