diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-08-24 10:46:01 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-09-04 13:09:13 +0200 |
commit | 262517b7e062bde92beb9304fb813cac1e95643a (patch) | |
tree | b485266725c16666b0ab11d29ad4c81e765aae9a /block/blkdebug.c | |
parent | 8e615e34f9f5dc0ee3a39a468ec96ea537c4afe9 (diff) | |
download | qemu-262517b7e062bde92beb9304fb813cac1e95643a.zip qemu-262517b7e062bde92beb9304fb813cac1e95643a.tar.gz qemu-262517b7e062bde92beb9304fb813cac1e95643a.tar.bz2 |
hmp: Use qapi_enum_parse() in hmp_migrate_set_parameter()
The error message on invalid parameter name changes from
Invalid parameter "NAME"
to
invalid parameter value: NAME
Slight degratation, perhaps.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170822132255.23945-10-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Rebased, assertion added, commit message rewritten]
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503564371-26090-7-git-send-email-armbru@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions