From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 1/4] kvm tools: Support VIRTIO_RING_F_EVENT_IDX Date: Thu, 17 Nov 2011 15:36:17 +0200 Message-ID: <1321536977.4221.11.camel@lappy> References: <1321535080-4840-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Pekka Enberg Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:62682 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754339Ab1KQNiU (ORCPT ); Thu, 17 Nov 2011 08:38:20 -0500 Received: by wyh11 with SMTP id 11so1966617wyh.19 for ; Thu, 17 Nov 2011 05:38:19 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-11-17 at 15:24 +0200, Pekka Enberg wrote: > On Thu, Nov 17, 2011 at 3:04 PM, Sasha Levin wrote: > > Support the event index feature in the virtio spec. > > > > The results are less notifications between the guest and host, and in > > result faster operation of the virt queues. > > > > Signed-off-by: Sasha Levin > > What's this patch doing? There's no mention of VIRTIO_RING_F_EVENT_IDX > in the diff... It allows enabling the VIRTIO_RING_F_EVENT_IDX feature in various virtio-* devices by updating the avail event idx and providing a function to allow the devices to query the vq and decide if they need to signal the VQ or not. -- Sasha.