summary refs log tree commit diff stats
path: root/hw/net/cadence_gem.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-10-31 12:10:58 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-11-17 10:07:52 +0100
commiteeef44b3a583637265f602882a0d058a52e3a33b (patch)
tree72904901c46502ff8f67210160fd41efbcc25082 /hw/net/cadence_gem.c
parent0a4a1512e01228fc59b00d68e86f7099b6439773 (diff)
downloadfocaccia-qemu-eeef44b3a583637265f602882a0d058a52e3a33b.tar.gz
focaccia-qemu-eeef44b3a583637265f602882a0d058a52e3a33b.zip
balloon: Fix a misleading error message
The error message

    {"execute": "balloon", "arguments":{"value": -1}}
    {"error": {"class": "GenericError", "desc": "Parameter 'target' expects a size"}}

points to 'target' instead of 'value'.  Fix:

    {"error": {"class": "GenericError", "desc": "Parameter 'value' expects a size"}}

Root cause: qmp_balloon()'s parameter is named @target.  Rename it to
@value to match the QAPI schema.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20231031111059.3407803-7-armbru@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Mario Casquero <mcasquer@redhat.com>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions