From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] qemu:virtio: Allow guest to defer VIRTIO_F_NOTIFY_ON_EMPTY Date: Fri, 20 Mar 2009 12:31:29 -0500 Message-ID: <49C3D2F1.2050305@us.ibm.com> References: <20090319162118.24068.98794.stgit@kvm.aw> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Alex Williamson Return-path: Received: from e34.co.us.ibm.com ([32.97.110.152]:36376 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052AbZCTRbu (ORCPT ); Fri, 20 Mar 2009 13:31:50 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n2KHThDe011512 for ; Fri, 20 Mar 2009 11:29:43 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2KHVWew106660 for ; Fri, 20 Mar 2009 11:31:33 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2KHVV0B023682 for ; Fri, 20 Mar 2009 11:31:31 -0600 In-Reply-To: <20090319162118.24068.98794.stgit@kvm.aw> Sender: kvm-owner@vger.kernel.org List-ID: Alex Williamson wrote: > There may be cases where the guest does not want the avail queue > interrupt, even when it's empty. For the virtio-net case, the > guest may use a different buffering scheme or decide polling for > used buffers is more efficient. This can be accomplished by simply > checking for whether the guest has acknowledged the existing notify > on empty flag. > > Signed-off-by: Alex Williamson > Applied to trunk and stable. Thanks. Regards, Anthony Liguori > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkiZZ-0006sp-1w for qemu-devel@nongnu.org; Fri, 20 Mar 2009 13:31:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkiZT-0006q8-89 for qemu-devel@nongnu.org; Fri, 20 Mar 2009 13:31:55 -0400 Received: from [199.232.76.173] (port=52900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkiZT-0006q0-1H for qemu-devel@nongnu.org; Fri, 20 Mar 2009 13:31:51 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:48613) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkiZS-0004um-Mu for qemu-devel@nongnu.org; Fri, 20 Mar 2009 13:31:50 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n2KHStP8031574 for ; Fri, 20 Mar 2009 11:28:55 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2KHVVPI227150 for ; Fri, 20 Mar 2009 11:31:33 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2KHVV09023682 for ; Fri, 20 Mar 2009 11:31:31 -0600 Message-ID: <49C3D2F1.2050305@us.ibm.com> Date: Fri, 20 Mar 2009 12:31:29 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20090319162118.24068.98794.stgit@kvm.aw> In-Reply-To: <20090319162118.24068.98794.stgit@kvm.aw> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] qemu:virtio: Allow guest to defer VIRTIO_F_NOTIFY_ON_EMPTY Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org Alex Williamson wrote: > There may be cases where the guest does not want the avail queue > interrupt, even when it's empty. For the virtio-net case, the > guest may use a different buffering scheme or decide polling for > used buffers is more efficient. This can be accomplished by simply > checking for whether the guest has acknowledged the existing notify > on empty flag. > > Signed-off-by: Alex Williamson > Applied to trunk and stable. Thanks. Regards, Anthony Liguori >