Re: [PATCH v2 15/17] python/aqmp: Create sync QMP wrapper for iotests

2021-10-06 Thread John Snow
On Wed, Oct 6, 2021 at 10:32 AM Paolo Bonzini wrote: > On 06/10/21 16:24, John Snow wrote: > > > > I had plans at one point to make a sync.py, but with an interface that > > matched async QMP itself more closely. I spent some time trying to > > research how to make a "magic" sync wrapper around a

Re: [PATCH v2 15/17] python/aqmp: Create sync QMP wrapper for iotests

2021-10-06 Thread Paolo Bonzini
On 06/10/21 16:24, John Snow wrote: I had plans at one point to make a sync.py, but with an interface that matched async QMP itself more closely. I spent some time trying to research how to make a "magic" sync wrapper around async QMP, and hit a few trouble spots. I've still got the patch, bu

Re: [PATCH v2 15/17] python/aqmp: Create sync QMP wrapper for iotests

2021-10-06 Thread John Snow
On Wed, Oct 6, 2021 at 6:13 AM Paolo Bonzini wrote: > On 23/09/21 02:49, John Snow wrote: > > This is a wrapper around the async QMPClient that mimics the old, > > synchronous QEMUMonitorProtocol class. It is designed to be > > interchangeable with the old implementation. > > > > It does not, how

Re: [PATCH v2 15/17] python/aqmp: Create sync QMP wrapper for iotests

2021-10-06 Thread Paolo Bonzini
On 23/09/21 02:49, John Snow wrote: This is a wrapper around the async QMPClient that mimics the old, synchronous QEMUMonitorProtocol class. It is designed to be interchangeable with the old implementation. It does not, however, attempt to mimic Exception compatibility. Signed-off-by: John Snow

[PATCH v2 15/17] python/aqmp: Create sync QMP wrapper for iotests

2021-09-22 Thread John Snow
This is a wrapper around the async QMPClient that mimics the old, synchronous QEMUMonitorProtocol class. It is designed to be interchangeable with the old implementation. It does not, however, attempt to mimic Exception compatibility. Signed-off-by: John Snow Acked-by: Hanna Reitz --- python/q