diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-11-30 11:02:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-09 14:23:24 +0100 |
commit | cb42a870c3f5b38911b1428cb785dd702bc47d0f (patch) | |
tree | 3a750ea2bf0233d076784c3ab7fcfc6baf67953b /ui/qemu-spice.h | |
parent | 6f8c63fbd7edc0b41c09f8f8e2d41a3a65464a43 (diff) |
spice: add qmp 'query-spice' and hmp 'info spice' commands.
The patch adds a 'query-spice' monitor command which returns
informations about the spice server configuration and also a list of
channel connections.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/qemu-spice.h')
-rw-r--r-- | ui/qemu-spice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qemu-spice.h b/ui/qemu-spice.h index 0e3ad9b8c0..8b23ac9d04 100644 --- a/ui/qemu-spice.h +++ b/ui/qemu-spice.h @@ -33,6 +33,9 @@ void qemu_spice_audio_init(void); void qemu_spice_display_init(DisplayState *ds); int qemu_spice_add_interface(SpiceBaseInstance *sin); +void do_info_spice_print(Monitor *mon, const QObject *data); +void do_info_spice(Monitor *mon, QObject **ret_data); + #else /* CONFIG_SPICE */ #define using_spice 0 |