qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] net: fix queue's purge on VM stop


From: Thibaut Collet
Subject: Re: [Qemu-devel] [PATCH 1/1] net: fix queue's purge on VM stop
Date: Fri, 29 May 2015 16:28:48 +0200

Hi,

I agree that virtio-net NIC never enqueues packet to vhost-user but qemu_announce_self function (savevm.c file) can do it through the qemu_announce_self_iter / qemu_send_packet_raw sequence.

Regards

Thibaut.

On Fri, May 29, 2015 at 3:12 PM, Stefan Hajnoczi <address@hidden> wrote:
On Thu, May 28, 2015 at 10:03:14AM +0200, Thibaut Collet wrote:
> For netdev backend with no receive callback, packets must not be enqueued. When
> VM stops the enqueued packets are purged (see fixes ca77d85e1dbf). That causes a
> qemu segfault due to a call of a NULL pointer function.

virtio-net NIC <-> vhost-user should bypass the QEMU net subsystem since
rx/tx virtqueues are handled outside the QEMU process.  Who is enqueuing
packets on vhost-user's incoming_queue?


reply via email to

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