Received: from eggs.gnu.org ([140.186.70.92]:35226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp6gs-0005Ex-Qb for qemu-devel@nongnu.org; Thu, 04 Aug 2011 18:46:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qp6gr-0003Qg-N7 for qemu-devel@nongnu.org; Thu, 04 Aug 2011 18:46:58 -0400 Received: from speedy.comstyle.com ([206.51.28.2]:46441 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp6gr-0003QV-Jv for qemu-devel@nongnu.org; Thu, 04 Aug 2011 18:46:57 -0400 Received: from [192.168.0.101] (static-14-60.tr.cgocable.ca [24.122.14.60]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 6C8DB98479 for ; Thu, 4 Aug 2011 18:46:49 -0400 (EDT) From: Brad References: <20110729231511.GA24006@rox.home.comstyle.com> <20110730233444.GA15976@rox.home.comstyle.com> In-Reply-To: <20110730233444.GA15976@rox.home.comstyle.com> Content-Type: text/plain; charset=utf-8 Content-ID: <1312498083.4968.1.camel@Nokia-N900> Date: Thu, 04 Aug 2011 18:48:04 -0400 Message-Id: <1312498084.4968.2.camel@Nokia-N900> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Fix forcing multicast msgs to loopback on OpenBSD. Reply-To: Brad List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ----- Original message ----- > On Fri, Jul 29, 2011 at 07:15:11PM -0400, Brad wrote: > > Fix forcing multicast msgs to loopback on OpenBSD. > > > > e.g. > > $ sudo qemu -m 128 -no-fd-bootchk \ > > -hda virtual.img -boot n -nographic \ > > -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:34:03 \ > > -net user -tftp /usr/src/sys/arch/i386/compile/TEST -bootp pxeboot \ > > -net nic,vlan=1,model=rtl8139,macaddr=52:54:00:23:03:01 \ > > -net tap,vlan=1,script=no \ > > -net nic,vlan=3,model=rtl8139,macaddr=52:54:00:23:03:03 \ > > -net socket,vlan=3,mcast=230.0.0.1:10003 > > setsockopt(SOL_IP, IP_MULTICAST_LOOP): Invalid argument > > qemu: -net socket,vlan=3,mcast=230.0.0.1:10003: Device 'socket' could > > not be initialized > > > > > > Signed-off-by: Brad Smith > > An updated diff taking Blue Swirl's comment into consideration. ping. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.