[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU hangs in main_loop_wait
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] QEMU hangs in main_loop_wait |
Date: |
Wed, 17 Oct 2018 19:03:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 17/10/2018 17:44, Frank Yang wrote:
>
> we are not seeing hangs in flatview_do_translate, but are still getting
> hangs in main-loop:
>
> qemu_mutex_unlock_iothread();
> replay_mutex_unlock();
>
> ret = qemu_poll_ns((GPollFD *)gpollfds->data, gpollfds->len,
> timeout); <-------------this seems to be the hanging part
>
> replay_mutex_lock();
> qemu_mutex_lock_iothread();
>
> Any idea how to diagnose the cause of taking too much time in g_poll in
> qemu_poll_ns?
Is there any event (timer or file descriptor) that you know should be
ready, but is not causing a wakeup?
Paolo