On Tue, Jun 12, 2012 at 2:05 AM,  <zwu.ker...@gmail.com> wrote:
> From: Zhi Yong Wu <wu...@linux.vnet.ibm.com>
>
> The -net socket,listen option does not work with the newer -netdev
> syntax:
>  http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html
>
> This patch makes it work now.
>
> For the case where one vlan has multiple listenning sockets,
> the patch will also provide the support.
>
> Supported syntax:
>  1.) -net socket,listen=127.0.0.1:1234,vlan=0
>  2.) -net socket,listen=127.0.0.1:1234,vlan=0 -net 
> socket,listen=127.0.0.1:1235,vlan=0
>  3.) -netdev socket,listen=127.0.0.1:1234,id=socket0
>
> Changelog from v5:
>  Adjust fd invalid value to -1 [stefan]

I just sent out a patch that can be applied on top of this series to
fix the last lifecycle issues.  Please see "[PATCH] net: complete
NetSocketState lifecycle handling" (your mail client might display it
as a reply to this email, too).

Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>

Reply via email to