2021-10-06 00:35:29 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-27 11:39:08 +03:00
|
|
|
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
2021-10-06 00:35:29 +03:00
|
|
|
<!--
|
|
|
|
org.qemu.VMState1:
|
|
|
|
|
|
|
|
This interface must be implemented at the object path
|
|
|
|
``/org/qemu/VMState1`` to support helper migration.
|
|
|
|
-->
|
2019-09-27 11:39:08 +03:00
|
|
|
<interface name="org.qemu.VMState1">
|
2021-10-06 00:35:29 +03:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Id:
|
|
|
|
|
|
|
|
A string that identifies the helper uniquely. (maximum 256 bytes
|
|
|
|
including terminating NUL byte)
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
The VMState helper ID namespace is its own namespace. In particular,
|
|
|
|
it is not related to QEMU "id" used in -object/-device objects.
|
|
|
|
-->
|
2019-09-27 11:39:08 +03:00
|
|
|
<property name="Id" type="s" access="read"/>
|
2021-10-06 00:35:29 +03:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Load:
|
|
|
|
@data: data to restore the state.
|
|
|
|
|
|
|
|
The method called on destination with the state to restore.
|
|
|
|
|
|
|
|
The helper may be initially started in a waiting state (with an
|
|
|
|
``-incoming`` argument for example), and it may resume on success.
|
|
|
|
|
|
|
|
An error may be returned to the caller.
|
|
|
|
-->
|
2019-09-27 11:39:08 +03:00
|
|
|
<method name="Load">
|
|
|
|
<arg type="ay" name="data" direction="in"/>
|
|
|
|
</method>
|
2021-10-06 00:35:29 +03:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Save:
|
|
|
|
@data: state data to save for later resume.
|
|
|
|
|
|
|
|
The method called on the source to get the current state to be
|
|
|
|
migrated. The helper should continue to run normally.
|
|
|
|
|
|
|
|
An error may be returned to the caller.
|
|
|
|
-->
|
2019-09-27 11:39:08 +03:00
|
|
|
<method name="Save">
|
|
|
|
<arg type="ay" name="data" direction="out"/>
|
|
|
|
</method>
|
|
|
|
</interface>
|
|
|
|
</node>
|