Received: from eggs.gnu.org ([2001:4830:134:3::10]:37367)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1YwUX7-0004Sn-Cw
for qemu-devel@nongnu.org; Sun, 24 May 2015 07:57:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1YwUX3-0005tt-CH
for qemu-devel@nongnu.org; Sun, 24 May 2015 07:57:33 -0400
Received: from mailout3.w1.samsung.com ([210.118.77.13]:61232)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1YwUX3-0005tJ-6c
for qemu-devel@nongnu.org; Sun, 24 May 2015 07:57:29 -0400
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout3.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NOU00FENRVO6D80@mailout3.w1.samsung.com> for
qemu-devel@nongnu.org; Sun, 24 May 2015 12:57:24 +0100 (BST)
From: Pavel Fedin
Date: Sun, 24 May 2015 14:57:23 +0300
Message-id: <017b01d09618$cc0426b0$640c7410$@samsung.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Content-language: ru
Subject: Re: [Qemu-devel] [PING-2 PATCH v3 0/3] virtio-mmio: introduce
eventfd support
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: qemu-devel@nongnu.org, "'Michael S. Tsirkin'" , 'Cornelia Huck' , 'Peter Maydell'
Cc: 'Ying-Shiuan Pan'
Hello everybody! This is my second PING on this. I have seen no response to v3. Changes
since to v2 are:
1. Properly formatted (i really hope so...)
2. Added reset handling.
I decided to leave this as three patches because host and guest notifiers should be both
implemented in order to make use of them. So, enabling host notifiers does not make sense
without guest ones.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
> -----Original Message-----
> From: qemu-devel-bounces+p.fedin=samsung.com@nongnu.org [mailto:qemu-devel-
> bounces+p.fedin=samsung.com@nongnu.org] On Behalf Of Pavel Fedin
> Sent: Tuesday, May 12, 2015 11:11 AM
> To: qemu-devel@nongnu.org
> Cc: Pavel Fedin; Ying-Shiuan Pan
> Subject: [Qemu-devel] [PATCH v3 0/3] virtio-mmio: introduce eventfd support
>
> This patch set introduces eventfd support for virio-mmio. It was originally
> published by Ying-Shiuan Pan but never got it to upstream:
> https://lists.gnu.org/archive/html/qemu-devel/2014-02/msg00715.html
> I have updated and successfully tested it with vhost-net. I confirm that this
> solution significantly improves the network performance even without irqfd.
> I would like to upstream it, since virtio-mmio is still there. I know that
> some of you consider it deprecated, however i believe this is not entirely
> true. Because you can add it to machine models which are not supposed to
> have PCI (like vexpress).
> An old patch set relied on additional "eventfd" option in order to disable
> the support if not implemented in kernel. My version simply checks
> kvm_eventfds_enabled() for this purpose, so backwards compatibility is much
> better.
> I decided to leave this set in three parts because ioeventfd support should
> be enabled only when both host and guest notifiers are in place. I believe
> it will not work with partial implementation, at least because vhost-net
> requires both sets of eventfds. In this version i added correct reset handling.
>
>
>
> Ying-Shiuan Pan (3):
> virtio-mmio: introduce set_host_notifier()
> virtio-mmio: introduce set_guest_notifiers
> virtio-mmio: start ioeventfd when status gets DRIVER_OK
>
> hw/virtio/virtio-mmio.c | 181 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 181 insertions(+)
>
> --
> 1.9.5.msysgit.0