commit | 206addd58f251666f5b64d43957ddcba465c0ef1 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Tue Jan 13 15:46:39 2015 +0100 |
committer | Markus Armbruster <armbru@redhat.com> | Thu Jan 29 10:01:45 2015 +0100 |
tree | 2d051d2b6644616499d277e63751868959301436 | |
parent | cfa9bb236911eaa30ac58072105881a65cbbb612 [diff] |
hmp: Compile hmp_info_spice() only with CONFIG_SPICE It's dead code when CONFIG_SPICE is off. If it wasn't, it would crash dereferencing the null pointer returned by the qmp_query_spice() dummy in qmp.c. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>