diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-06-28 14:22:43 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:04:51 +0300 |
commit | c302e12c78acc24461e19691119557945e0c2dc8 (patch) | |
tree | e3007648e80587f801a6ec52ee4392d99fd619ff /server/spice.h | |
parent | 11033ca5dcb031fea37b44dbcd07ebabc22288b8 (diff) | |
download | spice-c302e12c78acc24461e19691119557945e0c2dc8.tar.gz spice-c302e12c78acc24461e19691119557945e0c2dc8.tar.xz spice-c302e12c78acc24461e19691119557945e0c2dc8.zip |
spice.h: add entries for tracking vm state
When vm state changes (started/stopped), we notify all the
attached SpiceCharDeviceStates about the change. This is mainly required
for avoiding writing/reading to/from the device during the non-live
stage of migration.
spice version will be bumped in one of the following patches.
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h index 3d70ec75..5f82ed5a 100644 --- a/server/spice.h +++ b/server/spice.h @@ -528,4 +528,7 @@ int spice_server_migrate_end(SpiceServer *s, int completed); void spice_server_set_name(SpiceServer *s, const char *name); void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]); +void spice_server_vm_start(SpiceServer *s); +void spice_server_vm_stop(SpiceServer *s); + #endif |