2
0

dbus-vmstate.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. =============
  2. D-Bus VMState
  3. =============
  4. The QEMU dbus-vmstate object's aim is to migrate helpers' data running
  5. on a QEMU D-Bus bus. (refer to the :doc:`dbus` document for
  6. some recommendations on D-Bus usage)
  7. Upon migration, QEMU will go through the queue of
  8. ``org.qemu.VMState1`` D-Bus name owners and query their ``Id``. It
  9. must be unique among the helpers.
  10. It will then save arbitrary data of each Id to be transferred in the
  11. migration stream and restored/loaded at the corresponding destination
  12. helper.
  13. For now, the data amount to be transferred is arbitrarily limited to
  14. 1Mb. The state must be saved quickly (a fraction of a second). (D-Bus
  15. imposes a time limit on reply anyway, and migration would fail if data
  16. isn't given quickly enough.)
  17. dbus-vmstate object can be configured with the expected list of
  18. helpers by setting its ``id-list`` property, with a comma-separated
  19. ``Id`` list.
  20. .. only:: sphinx4
  21. .. dbus-doc:: backends/dbus-vmstate1.xml
  22. .. only:: not sphinx4
  23. .. warning::
  24. Sphinx 4 is required to build D-Bus documentation.
  25. This is the content of ``backends/dbus-vmstate1.xml``:
  26. .. literalinclude:: ../../backends/dbus-vmstate1.xml
  27. :language: xml