From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X363r-0004Ep-Mn for qemu-devel@nongnu.org; Fri, 04 Jul 2014 12:10:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X363l-0002uw-Jm for qemu-devel@nongnu.org; Fri, 04 Jul 2014 12:10:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X363l-0002ts-CI for qemu-devel@nongnu.org; Fri, 04 Jul 2014 12:10:01 -0400 Message-ID: <53B6D1D0.5030000@redhat.com> Date: Fri, 04 Jul 2014 18:09:52 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1404476854-23773-1-git-send-email-ming.lei@canonical.com> <1404476854-23773-3-git-send-email-ming.lei@canonical.com> <53B6A428.7030800@redhat.com> <53B6CCB7.2070009@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] virtio-blk: dataplane: notify guest as a batch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ming Lei Cc: Kevin Wolf , Peter Maydell , Fam Zheng , "Michael S. Tsirkin" , qemu-devel , Stefan Hajnoczi Il 04/07/2014 17:57, Ming Lei ha scritto: > But we have two cases to consider: > > - one submitted IO includes requests from multi vq(virtio-blk or > virtio-scsi maybe), > and each vq has to notify guest > > - one submitted IO includes requests from multi bs for scsi device > > The 2nd case should be easy to handle, but I am a bit headache for the 1st case. You can just have one bottom half per virtqueue. :) Paolo