qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 12/25] python/aqmp: add AsyncProtocol._readline() method


From: Eric Blake
Subject: Re: [PATCH v3 12/25] python/aqmp: add AsyncProtocol._readline() method
Date: Tue, 17 Aug 2021 14:36:10 -0500
User-agent: NeoMutt/20210205-719-68949a

On Tue, Aug 03, 2021 at 02:29:28PM -0400, John Snow wrote:
> This is added as a courtesy: many protocols are line-based, including
> QMP. Putting it in AsyncProtocol lets us keep the QMP class
> implementation just a pinch more abstract.
> 
> (And, if we decide to add a QTEST implementation later, it will need
> this, too. (Yes, I have a QTEST implementation.))
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  python/qemu/aqmp/protocol.py | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]