From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5hhO-0000Lo-5S for qemu-devel@nongnu.org; Fri, 11 Jul 2014 16:45:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5hhJ-0004A2-2D for qemu-devel@nongnu.org; Fri, 11 Jul 2014 16:45:42 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:59789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5hhI-00049H-Fx for qemu-devel@nongnu.org; Fri, 11 Jul 2014 16:45:36 -0400 Received: by mail-qg0-f49.google.com with SMTP id 63so1434721qgz.36 for ; Fri, 11 Jul 2014 13:45:35 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53C04CE8.3050805@redhat.com> Date: Fri, 11 Jul 2014 22:45:28 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] dataplane: latest rc with selected patches hangs very often List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov , "qemu-devel@nongnu.org" Cc: Stefan Hajnoczi Il 11/07/2014 21:18, Andrey Korolyov ha scritto: > On Fri, Jul 11, 2014 at 11:01 PM, Andrey Korolyov wrote: >> Hello, >> >> is it worthy to re-test dp until next tag point? I am checking aio >> with -rc1 and following picked commits (sorry for patchwork >> references): >> >> stefanha: >> 368191 New [v3,1/4] virtio-blk: avoid dataplane >> VirtIOBlockReq early free >> 368787 New [v3,2/4] dataplane: do not free VirtQueueElement >> in vring_push() >> 368360 New [v3,3/4] virtio-blk: avoid g_slice_new0() for >> VirtIOBlockReq and VirtQueueElement >> 368863 New [v3,4/4] virtio-blk: embed VirtQueueElement in >> VirtIOBlockReq >> >> pbonzini: >> 367551 New [1/4] block: prefer aio_poll to qemu_aio_wait >> 367553 New [2/4] block: drop aio functions that operate on >> the main AioContext >> 367552 New [3/4] test-aio: fix GSource-based timer test >> 367554 New [4/4] AioContext: speed up aio_notify >> >> Emulator itself stop responding in approximately ninety percent of >> cases, e.g. it does not react to anything except SIGKILL. Windows VM >> is able to read some bits before lockup happens because it draws an >> initial logo. Please try this patch: http://article.gmane.org/gmane.comp.emulators.qemu/285674/raw Paolo >> hangs on vl.c: >> (gdb) list >> 2890 g_free(dummy); >> 2891 if (err) { >> 2892 qerror_report_err(err); >> 2893 return -1; >> 2894 } >> 2895 return 0; >> 2896 } >> 2897 >> 2898 int main(int argc, char **argv, char **envp) >> 2899 { >> (gdb) next >> Single stepping until exit from function __lll_lock_wait, >> which has no line number information. >> >> cmdline follows: >> if=none,id=drive-virtio-disk0,format=raw,cache=writeback,aio=native >> ... -object iothread,id=blk0 -set device.virtio-disk0.config-wce=off >> -set device.virtio-disk0.scsi=off -set >> device.virtio-disk0.iothread=blk0 > > Forgot to attach backtrace, though the issue and bt itself can be > easily reproduced. >