diff options
author | Marc-Andre Lureau <marcandre.lureau@gmail.com> | 2013-11-18 11:28:33 +0100 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2016-02-12 19:05:19 +0100 |
commit | 9339284646b84a1b1e8229b38e8a991713030abc (patch) | |
tree | 42bfd82e5a5327ba56667de8efc6acf49628b77d /server/char-device.h | |
parent | f5f84d31af424df1579250365d91e8bdb1351c62 (diff) |
chardev: learn to keep running when vm is stoppedcdrom
All chardev channels are stopped when calling spice_server_vm_stop(),
which prevents them from doing any i/o.
However, the Spice block device channel needs to keep running even when
the VM is stopped. It is entirely drived by the server, so it is
entirely to the server to deal with the channel running state (finish
all outstanding operations or block io).
Diffstat (limited to 'server/char-device.h')
-rw-r--r-- | server/char-device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/char-device.h b/server/char-device.h index db72bfe6..172757d6 100644 --- a/server/char-device.h +++ b/server/char-device.h @@ -182,6 +182,7 @@ void spice_char_device_client_remove(SpiceCharDeviceState *dev, int spice_char_device_client_exists(SpiceCharDeviceState *dev, RedClient *client); +void spice_char_device_set_non_stop(SpiceCharDeviceState *dev, int non_stop); void spice_char_device_start(SpiceCharDeviceState *dev); void spice_char_device_stop(SpiceCharDeviceState *dev); SpiceServer* spice_char_device_get_server(SpiceCharDeviceState *dev); |