summaryrefslogtreecommitdiffstats
path: root/server/char_device.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-03 00:22:29 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:02 +0300
commit99ea64ac5a5243e56acc5f1991780d675c98ccd7 (patch)
treecd80a84750bef1ad3c957327a7b5b2b2bb64216a /server/char_device.h
parentcb767a83fda2b93b47de284719353b3d073120be (diff)
downloadspice-99ea64ac5a5243e56acc5f1991780d675c98ccd7.tar.gz
spice-99ea64ac5a5243e56acc5f1991780d675c98ccd7.tar.xz
spice-99ea64ac5a5243e56acc5f1991780d675c98ccd7.zip
char device migration: restore state at destination from migration data
Diffstat (limited to 'server/char_device.h')
-rw-r--r--server/char_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/char_device.h b/server/char_device.h
index f3278e3d..6688e913 100644
--- a/server/char_device.h
+++ b/server/char_device.h
@@ -126,6 +126,9 @@ void spice_char_device_state_migrate_data_marshall(SpiceCharDeviceState *dev,
SpiceMarshaller *m);
void spice_char_device_state_migrate_data_marshall_empty(SpiceMarshaller *m);
+int spice_char_device_state_restore(SpiceCharDeviceState *dev,
+ SpiceMigrateDataCharDevice *mig_data);
+
/*
* Resets write/read queues, and moves that state to being stopped.
* This routine is a workaround for a bad tokens management in the vdagent