qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 05/16] tap: Drop tap_can_send


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PULL 05/16] tap: Drop tap_can_send
Date: Fri, 10 Jul 2015 00:42:57 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On 2015-06-12 13:57, Stefan Hajnoczi wrote:
> From: Fam Zheng <address@hidden>
> 
> This callback is called by main loop before polling s->fd, if it returns
> false, the fd will not be polled in this iteration.
> 
> This is redundant with checks inside read callback. After this patch,
> the data will be sent to peer when it arrives. If the device can't
> receive, it will be queued to incoming_queue, and when the device status
> changes, this queue will be flushed.
> 
> Signed-off-by: Fam Zheng <address@hidden>
> Message-id: address@hidden
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  net/tap.c | 13 ++-----------
>  1 file changed, 2 insertions(+), 11 deletions(-)

I just gave a try to QEMU 2.4.0-rc0 with an s390x target, and it seems
this patch breaks virtio-net with a tap device (it works well with the
user mode network stack). The guest correctly sends out packets, but it
seems to not get incoming packets.

This is with TCG, I don't know if KVM is also affected.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
address@hidden                 http://www.aurel32.net



reply via email to

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