Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2023-01-11 Thread John Snow
On Tue, Jan 10, 2023 at 12:45 PM John Snow wrote: > > On Tue, Jan 10, 2023 at 2:05 AM Marc-André Lureau > wrote: > > > > Hi John > > > > On Tue, Jan 10, 2023 at 1:06 AM John Snow wrote: > > > > > > On Mon, Jul 25, 2022 at 7:23 AM Marc-André Lureau > > > wrote: > > > > > > > > Hi > > > > > > > >

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2023-01-10 Thread John Snow
On Tue, Jan 10, 2023 at 2:05 AM Marc-André Lureau wrote: > > Hi John > > On Tue, Jan 10, 2023 at 1:06 AM John Snow wrote: > > > > On Mon, Jul 25, 2022 at 7:23 AM Marc-André Lureau > > wrote: > > > > > > Hi > > > > > > On Fri, Jul 1, 2022 at 2:51 AM John Snow wrote: > > >> > > >> On Thu, Jun 30,

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2023-01-09 Thread Marc-André Lureau
Hi John On Tue, Jan 10, 2023 at 1:06 AM John Snow wrote: > > On Mon, Jul 25, 2022 at 7:23 AM Marc-André Lureau > wrote: > > > > Hi > > > > On Fri, Jul 1, 2022 at 2:51 AM John Snow wrote: > >> > >> On Thu, Jun 30, 2022 at 8:34 AM wrote: > >> > > >> > From: Marc-André Lureau > >> > > >> > Hi, >

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2023-01-09 Thread John Snow
On Mon, Jul 25, 2022 at 7:23 AM Marc-André Lureau wrote: > > Hi > > On Fri, Jul 1, 2022 at 2:51 AM John Snow wrote: >> >> On Thu, Jun 30, 2022 at 8:34 AM wrote: >> > >> > From: Marc-André Lureau >> > >> > Hi, >> > >> > As reported earlier by Richard Henderson ("virgl avocado hang" thread), >>

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2022-07-25 Thread Daniel P . Berrangé
On Mon, Jul 25, 2022 at 03:23:26PM +0400, Marc-André Lureau wrote: > Hi > > On Fri, Jul 1, 2022 at 2:51 AM John Snow wrote: > > > On Thu, Jun 30, 2022 at 8:34 AM wrote: > > > > > > From: Marc-André Lureau > > > > > > Hi, > > > > > > As reported earlier by Richard Henderson ("virgl avocado hang

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2022-07-25 Thread Marc-André Lureau
Hi On Fri, Jul 1, 2022 at 2:51 AM John Snow wrote: > On Thu, Jun 30, 2022 at 8:34 AM wrote: > > > > From: Marc-André Lureau > > > > Hi, > > > > As reported earlier by Richard Henderson ("virgl avocado hang" thread), > avocado > > tests may hang when QEMU exits before the QMP connection is esta

Re: [PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2022-06-30 Thread John Snow
On Thu, Jun 30, 2022 at 8:34 AM wrote: > > From: Marc-André Lureau > > Hi, > > As reported earlier by Richard Henderson ("virgl avocado hang" thread), > avocado > tests may hang when QEMU exits before the QMP connection is established. > > v2: > - use a socketpair() for QMP (instead of async co

[PATCH v2 0/3] python/qemu/machine: fix potential hang in QMP accept

2022-06-30 Thread marcandre . lureau
From: Marc-André Lureau Hi, As reported earlier by Richard Henderson ("virgl avocado hang" thread), avocado tests may hang when QEMU exits before the QMP connection is established. v2: - use a socketpair() for QMP (instead of async concurrent code from v1) as suggested by Daniel Berrange.