qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Andrey Korolyov <andrey@xdel.ru>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] dataplane: latest rc with selected patches hangs very often
Date: Fri, 11 Jul 2014 22:45:28 +0200	[thread overview]
Message-ID: <53C04CE8.3050805@redhat.com> (raw)
In-Reply-To: <CABYiri9Y14ft-qydDCGz4+0Md0oJtReJDYRm2FUQV9ZGSNHmcQ@mail.gmail.com>

Il 11/07/2014 21:18, Andrey Korolyov ha scritto:
> On Fri, Jul 11, 2014 at 11:01 PM, Andrey Korolyov <andrey@xdel.ru> 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.
>

  reply	other threads:[~2014-07-11 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11 19:01 [Qemu-devel] dataplane: latest rc with selected patches hangs very often Andrey Korolyov
2014-07-11 19:18 ` Andrey Korolyov
2014-07-11 20:45   ` Paolo Bonzini [this message]
2014-07-11 22:48     ` Andrey Korolyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C04CE8.3050805@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=andrey@xdel.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).