From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrPsg-0001Mv-65 for qemu-devel@nongnu.org; Wed, 28 Oct 2015 08:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrPsc-0006Eb-A9 for qemu-devel@nongnu.org; Wed, 28 Oct 2015 08:31:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrPsc-0006EW-56 for qemu-devel@nongnu.org; Wed, 28 Oct 2015 08:31:02 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id A608CC0B590E for ; Wed, 28 Oct 2015 12:31:01 +0000 (UTC) Date: Wed, 28 Oct 2015 13:30:59 +0100 From: Igor Mammedov Message-ID: <20151028133059.4188383f@nial.brq.redhat.com> In-Reply-To: <20151027134918-mutt-send-email-mst@redhat.com> References: <1445935663-31971-1-git-send-email-mst@redhat.com> <20151027134918-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/6] virtio: handle non contigious s/g entries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, stefanha@redhat.com On Tue, 27 Oct 2015 13:51:20 +0200 "Michael S. Tsirkin" wrote: > On Tue, Oct 27, 2015 at 10:47:54AM +0200, Michael S. Tsirkin wrote: > > TL;DR: > > This fixes virtio in a way transparent to guest. > > We should now be able to revert commits aa8580cd and df0acded19ec which worked > > around it in a way that's not transparent. > > I didn't check dataplane BTW. Igor? Stefan? verified that series fixes virtio-[blk|scsi|net], all of them hit at least one descriptor(indirect) that crosses DIMM boundary and QEMU survived it. However as Stefan has said virtio-blk with dataplane enabled hangs guest instead of QEMU crashing and QEMU prints following error: "Failed to map descriptor addr 0x1045eb000 len 106496" I've used following CLI: qemu-system-x86_64 -enable-kvm -enable-kvm -m 128M,slots=250,maxmem=32G -drive if=none,id=hd,file=rhel72.img,cache=none,aio=native,format=raw -device virtio-blk,drive=hd,scsi=off,config-wce=off,x-data-plane=on `for i in $(seq 0 15); do echo -n "-object memory-backend-ram,id=m$i,size=10M -device pc-dimm,id=dimm$i,memdev=m$i "; done` it hangs at boot time or on executing 'dd if=/dev/vda of=/dev/null bs 32M'