]> git.proxmox.com Git - mirror_qemu.git/commit
spice: wire up monitor in QemuSpiceOps.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 19 Oct 2020 07:52:18 +0000 (09:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Oct 2020 13:46:14 +0000 (15:46 +0200)
commitdb5732c9cfcbf109ff97ee392c285a4675ffe398
treef37563572f830f925eb12429c8ee8315611bcce6
parent864a024c69da2bcf77ecfd0d8bd77f628ded5ba0
spice: wire up monitor in QemuSpiceOps.

Rename qmp_query_spice() to qmp_query_spice_real(), add to QemuSpiceOps.

Add new qmp_query_spice() function which calls the real function via
QemuSpiceOps if available, otherwise return SpiceInfo.enabled = false.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20201019075224.14803-9-kraxel@redhat.com
include/ui/qemu-spice-module.h
ui/spice-core.c
ui/spice-module.c