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/spice.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/spice.h')
-rw-r--r-- | server/spice.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/spice.h b/server/spice.h index 5f82ed5a..fb51a471 100644 --- a/server/spice.h +++ b/server/spice.h @@ -134,8 +134,10 @@ struct QXLWorker { void spice_qxl_wakeup(QXLInstance *instance); void spice_qxl_oom(QXLInstance *instance); -void spice_qxl_start(QXLInstance *instance); -void spice_qxl_stop(QXLInstance *instance); +void spice_qxl_start(QXLInstance *instance); /* deprecated since 0.11.2 + spice_server_vm_start replaces it */ +void spice_qxl_stop(QXLInstance *instance); /* deprecated since 0.11.2 + spice_server_vm_stop replaces it */ void spice_qxl_update_area(QXLInstance *instance, uint32_t surface_id, struct QXLRect *area, struct QXLRect *dirty_rects, uint32_t num_dirty_rects, uint32_t clear_dirty_region); |