OSDN Git Service

python/aqmp: Add dict conversion method to Greeting object
authorJohn Snow <jsnow@redhat.com>
Thu, 23 Sep 2021 00:49:26 +0000 (20:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 12 Oct 2021 16:22:10 +0000 (12:22 -0400)
commit58026b11f36f9a19fd35fdfbfa50be7bd78e70a5
tree6601b284567ff23a427352880b806106cc71ead0
parent6e2f6ec5615f50c38e21542bb66bb690a289cbfc
python/aqmp: Add dict conversion method to Greeting object

The iotests interface expects to return the greeting as a dict; AQMP
offers it as a rich object.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210923004938.3999963-6-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/models.py