diff options
| author | Markus Armbruster <armbru@redhat.com> | 2023-01-09 20:03:17 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2023-01-19 13:30:01 +0100 |
| commit | f916a1751e735d3202a2dfc051d324a206831b69 (patch) | |
| tree | 5ee453275013aebe078cc3eda7573c3acb5a2d75 /include/monitor/hmp.h | |
| parent | f8f2e9a859a1450756972266b0d6f4c081e6486c (diff) | |
| download | focaccia-qemu-f916a1751e735d3202a2dfc051d324a206831b69.tar.gz focaccia-qemu-f916a1751e735d3202a2dfc051d324a206831b69.zip | |
ui: Factor out hmp_change_vnc(), and move to ui/ui-hmp-cmds.c
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230109190321.1056914-14-armbru@redhat.com>
Diffstat (limited to 'include/monitor/hmp.h')
| -rw-r--r-- | include/monitor/hmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index b228a406f3..df89eac22a 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -73,6 +73,11 @@ void hmp_x_colo_lost_heartbeat(Monitor *mon, const QDict *qdict); void hmp_set_password(Monitor *mon, const QDict *qdict); void hmp_expire_password(Monitor *mon, const QDict *qdict); void hmp_change(Monitor *mon, const QDict *qdict); +#ifdef CONFIG_VNC +void hmp_change_vnc(Monitor *mon, const char *device, const char *target, + const char *arg, const char *read_only, bool force, + Error **errp); +#endif void hmp_migrate(Monitor *mon, const QDict *qdict); void hmp_device_add(Monitor *mon, const QDict *qdict); void hmp_device_del(Monitor *mon, const QDict *qdict); |