[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 2/2] net: add the support for -netdev socket,
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v6 2/2] net: add the support for -netdev socket, listen |
Date: |
Tue, 12 Jun 2012 15:08:58 +0100 |
On Tue, Jun 12, 2012 at 2:05 AM, <address@hidden> wrote:
> From: Zhi Yong Wu <address@hidden>
>
> 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 <address@hidden>