diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-20 13:49:00 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:04:52 +0300 |
commit | 2a1369c91966450424910d51f39e4b57a7c8973f (patch) | |
tree | b49a1f83f86affaa92009a4ff643844f65ff7b6d /server/red_dispatcher.h | |
parent | c302e12c78acc24461e19691119557945e0c2dc8 (diff) | |
download | spice-2a1369c91966450424910d51f39e4b57a7c8973f.tar.gz spice-2a1369c91966450424910d51f39e4b57a7c8973f.tar.xz spice-2a1369c91966450424910d51f39e4b57a7c8973f.zip |
spice_server_vm_start/stop: notify red_dispatcher on vm start/stop
Till now, red_worker was notfied about vm status changes via QXLWorker->start/stop
(or spice_qxl_start/stop).
Newer qemu, that supports calling spice_server_vm_start/stop, will call only
these routines, and won't call QXLWorker->start/stop.
Diffstat (limited to 'server/red_dispatcher.h')
-rw-r--r-- | server/red_dispatcher.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_dispatcher.h b/server/red_dispatcher.h index 98f8ceaf..7e9ffe68 100644 --- a/server/red_dispatcher.h +++ b/server/red_dispatcher.h @@ -27,6 +27,8 @@ void red_dispatcher_set_mm_time(uint32_t); void red_dispatcher_on_ic_change(void); void red_dispatcher_on_sv_change(void); void red_dispatcher_set_mouse_mode(uint32_t mode); +void red_dispatcher_on_vm_stop(void); +void red_dispatcher_on_vm_start(void); int red_dispatcher_count(void); int red_dispatcher_add_renderer(const char *name); uint32_t red_dispatcher_qxl_ram_size(void); |