[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4] net: add the support for -netdev socket, lis

From: Zhi Yong Wu
Subject: Re: [Qemu-devel] [PATCH v4] net: add the support for -netdev socket, listen
Date: Thu, 7 Jun 2012 22:50:12 +0800

On Thu, Jun 7, 2012 at 10:16 PM, Paolo Bonzini <address@hidden> wrote:
> Il 07/06/2012 14:49, Zhi Yong Wu ha scritto:
>>> > Instead, drop the NetSocketListenState struct and add a listen_fd field
>>> > to NetSocketState.  When a -netdev socket,listen= instance is created
>>> > there will be a NetSocketState with fd=-1 and a valid listen_fd.  The
>> Have you considered the case where there're mulitple -net
>> socket,listen= instance in one vlan?
> Why should that matter?  They will have different NetSocketState and
> different listen_fds.  Each socket will discard incoming packets until
> the other side connects.
You are correct, thanks, please see next version.
> Paolo


Zhi Yong Wu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]