[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default |
Date: |
Thu, 11 Oct 2018 10:26:50 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Oct 10, 2018 at 08:17:41PM -0500, Eric Blake wrote:
> On 10/10/18 7:05 PM, Peter Xu wrote:
>
> > > other than the command line that is hanging:
> > >
> > > /home/eblake/qemu/x86_64-softmmu/qemu-system-x86_64 -S -no-user-config
> > > -nodefaults -nographic -machine none,accel=kvm:tcg -qmp
> > > unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
> > > -pidfile
> > > /var/lib/libvirt/qemu/capabilities.pidfile -daemonize
> > >
> > > And I suspect it is the -daemonize that is causing the hang I'm seeing
> > > when
> > > run by libvirt.
> > >
>
> >
> > It's very possible the daemonize thing, actually Wolfgang Bumiller has
> > posted patches to fix this up (it's not the problem of this series,
> > but it just exposed this to libvirt by the series since it only
> > happens when oob and daemonize are both enabled). The fixes are:
> >
> > [PATCH v2 0/2] delay monitor iothread creation
> >
> > Since it cannot be applied cleanly onto this series, I resolved the
> > conflicts and pushed a tree here in case you wanna try with these two
> > extra patches applied:
> >
> > https://github.com/xzpeter/qemu/tree/test-oob
>
> Technically, we should apply the patches in the opposite order (Wolfgang's
> first, then yours), so that bisection does not land on a known-bad hang
> situation.
Agreed, that patch actually fixes bug of current master (current
master could possibly hit the same issue when with x-oob=on and
-daemonize), so should be applied earlier when proper.
>
> >
> > Please feel free to test with libvirt again with that.
> >
> > Thanks for playing with the tree and further investigation! I will
> > also mention this in the next version of cover letter (if there is one).
>
> Confirmed that libvirt no longer hung with Wolfgang's patches added in.
Thanks!
--
Peter Xu
- Re: [Qemu-devel] [PATCH v9 2/6] monitor: resume the monitor earlier if needed, (continued)
- [Qemu-devel] [PATCH v9 3/6] monitor: remove "x-oob", turn oob on by default, Peter Xu, 2018/10/09
- [Qemu-devel] [PATCH v9 4/6] Revert "tests: Add parameter to qtest_init_without_qmp_handshake", Peter Xu, 2018/10/09
- [Qemu-devel] [PATCH v9 5/6] tests: add oob functional test for test-qmp-cmds, Peter Xu, 2018/10/09
- [Qemu-devel] [PATCH v9 6/6] tests: qmp-test: add queue full test, Peter Xu, 2018/10/09
- Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default, Eric Blake, 2018/10/10
Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default, Markus Armbruster, 2018/10/31