On Tue, Jan 25, 2011 at 08:45:38AM +0900, Ryan McBride wrote:
> On Mon, Jan 24, 2011 at 05:03:23PM +0900, Ryan McBride wrote:
> > $ 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
> > 
> > Works fine if I comment out the last two lines.
> 
> setsockopt(SOL_IP, IP_MULTICAST_LOOP) takes a u_char, not int as in the
> 0.13.0 qemu code.
> 
> The patch to net/socket.c below fixes this, which lets me test the
> pthreads changes properly with my setup.

  erhm, I take you didn't see the diff i sent earlier today?
 
  f.-

Reply via email to