mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qmp: constify qmp_is_oob()
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180829134043.31706-3-marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
6cd112e266
commit
2aa788f5cb
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ QDict *qmp_error_response(Error *err)
|
|||
/*
|
||||
* Does @qdict look like a command to be run out-of-band?
|
||||
*/
|
||||
bool qmp_is_oob(QDict *dict)
|
||||
bool qmp_is_oob(const QDict *dict)
|
||||
{
|
||||
return qdict_haskey(dict, "exec-oob")
|
||||
&& !qdict_haskey(dict, "execute");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue