diff options
author | Alon Levy <alevy@redhat.com> | 2012-03-29 23:23:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-05-03 10:45:04 +0200 |
commit | 4efee029cbd5dc3aaa422edc10447f3659df7754 (patch) | |
tree | 095e805e85a811d90038a3e0629d332dfe4ce68e /hmp.c | |
parent | 7e3efdac75caca0b283f8e76ad24c924b4718e7b (diff) | |
download | qemu-4efee029cbd5dc3aaa422edc10447f3659df7754.zip qemu-4efee029cbd5dc3aaa422edc10447f3659df7754.tar.gz qemu-4efee029cbd5dc3aaa422edc10447f3659df7754.tar.bz2 |
spice_info: add mouse_mode
Add mouse_mode, either server or mouse, to qmp and hmp commands, based
on spice_server_is_server_mouse added in spice-server 0.10.3.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -350,6 +350,8 @@ void hmp_info_spice(Monitor *mon) } monitor_printf(mon, " auth: %s\n", info->auth); monitor_printf(mon, " compiled: %s\n", info->compiled_version); + monitor_printf(mon, " mouse-mode: %s\n", + SpiceQueryMouseMode_lookup[info->mouse_mode]); if (!info->has_channels || info->channels == NULL) { monitor_printf(mon, "Channels: none\n"); |