From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKsUC-0003hj-92 for qemu-devel@nongnu.org; Wed, 27 Mar 2013 11:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKsU6-0005cC-Ta for qemu-devel@nongnu.org; Wed, 27 Mar 2013 11:42:00 -0400 Received: from mail-bk0-x22f.google.com ([2a00:1450:4008:c01::22f]:44357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKsU6-0005c2-MS for qemu-devel@nongnu.org; Wed, 27 Mar 2013 11:41:54 -0400 Received: by mail-bk0-f47.google.com with SMTP id ik5so1624657bkc.20 for ; Wed, 27 Mar 2013 08:41:53 -0700 (PDT) Date: Wed, 27 Mar 2013 16:41:49 +0100 From: Stefan Hajnoczi Message-ID: <20130327154149.GA3769@stefanha-thinkpad.muc.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] dataplane bug: fail to start Windows VM with dataplane enable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?5byg56OK5by6?= Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Tue, Mar 26, 2013 at 11:10:35PM +0800, 张磊强 wrote: > Hi, Paolo && Stefan: > > When I test the dataplane feature with qemu master, I find that > Windows (Windows 7 and Windows 2003) VM will hang if dataplane is > enabled. But if I try to start a Fedora VM, it can start normally. > > The command I boot QEMU is: > x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -drive > file=win7.img,if=none,id=drive-virtio-disk,format=raw,cache=none,aio=native > -device virtio-blk-pci,config-wce=off,scsi=off,x-data-plane=on,drive=drive-virtio-disk,id=virtio-disk > > I found the similar bug has reported some days ago: > http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02200.html > . And a patch for this bug has already committed by Paolo at Mar 13: > http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02200.html > . > > But it cannot work under my environment. Could you give me some advise > to debug this problem ? I can provide more information if need. I sent a fix and CCed you on the patch. Please test it if you have time. Stefan