]> Git Repo - qemu.git/commit - hmp.c
hmp: Use qapi_enum_parse() in hmp_migrate_set_capability()
authorMarc-André Lureau <[email protected]>
Thu, 24 Aug 2017 08:46:00 +0000 (10:46 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 4 Sep 2017 11:09:13 +0000 (13:09 +0200)
commit8e615e34f9f5dc0ee3a39a468ec96ea537c4afe9
treed6a660d2ee9dae8c04e5f9b6a7e75cfca9b0356c
parent00bbf50a50e6d6e1a4542db1c1205291395c4105
hmp: Use qapi_enum_parse() in hmp_migrate_set_capability()

The error message on invalid capability name changes from

    Invalid parameter "NAME"

to

    invalid parameter value: NAME

No worse than before.

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20170822132255[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
[Rebased, commit message rewritten]
Cc: "Dr. David Alan Gilbert" <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <1503564371[email protected]>
hmp.c
This page took 0.032964 seconds and 4 git commands to generate.