On 11/07/2022 22.30, John Snow wrote:
On Mon, Jul 11, 2022 at 5:57 AM Thomas Huth <[email protected]> wrote:'returns-whitelist' has been renamed to 'command-returns-exceptions' in commit b86df3747848 ("qapi: Rename pragma *-whitelist to *-exceptions"). Signed-off-by: Thomas Huth <[email protected]> --- python/qemu/qmp/legacy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/qemu/qmp/legacy.py b/python/qemu/qmp/legacy.py index 03b5574618..1951754455 100644 --- a/python/qemu/qmp/legacy.py +++ b/python/qemu/qmp/legacy.py @@ -50,7 +50,7 @@ # QMPMessage can be outgoing commands or incoming events/returns. # QMPReturnValue is usually a dict/json object, but due to QAPI's -# 'returns-whitelist', it can actually be anything. +# 'command-returns-exceptions', it can actually be anything. # # {'return': {}} is a QMPMessage, # {} is the QMPReturnValue. -- 2.31.1May I cajole you to send a MR to https://gitlab.com/qemu-project/python-qemu-qmp ?
Sure, done now: https://gitlab.com/qemu-project/python-qemu-qmp/-/merge_requests/9 Thomas
