From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu6NK-0001Ah-H4 for qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:13:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu6NE-0005Jj-C4 for qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:13:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu6NE-0005J7-4f for qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:13:12 -0500 Date: Thu, 27 Nov 2014 23:13:04 +0200 From: "Michael S. Tsirkin" Message-ID: <20141127211304.GA26295@redhat.com> References: <1417105946-27374-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH RFC for-2.2] virtio-blk: force 1st s/g to match header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , peter.maydell@linaro.org, qemu-devel , Stefan Hajnoczi On Thu, Nov 27, 2014 at 07:21:35PM +0000, Stefan Hajnoczi wrote: > On Thu, Nov 27, 2014 at 4:33 PM, Michael S. Tsirkin wrote: > > We leak cpu mappings when 1st s/g is not exactly the > > header. As we don't set ANY_LAYOUT, we can at this point > > simply assert the correct length. > > > > This will have to be fixed once ANY_LAYOUT is set. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > > > Untested: posting for early feedback. > > Reviewed-by: Stefan Hajnoczi Stefan, you are going to merge this for 2.2? Peter, if Stefan is merging this one, we can take Jason's patch for -net and that should be enough for 2.2. -- MST