]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/aqmp: add well-known QMP object models
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Sep 2021 16:29:42 +0000 (12:29 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commitad0729994136fb479674dccd3e74ec9c49de8a1c
treea60cf07ad70493cced4283f928284be2de51489c
parent08f98a22313f20a3851c9ae67dc0e8f2b931e3b3
python/aqmp: add well-known QMP object models

The QMP spec doesn't define very many objects that are iron-clad in
their format, but there are a few. This module makes it trivial to
validate them without relying on an external third-party library.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-15-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/models.py [new file with mode: 0644]