On 06.11.25 18:30, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy <[email protected]> writes:

We are going to implement backend-transfer feature: some devices
will be able to transfer their backend through migration stream
for local migration through UNIX domain socket. For example,
virtio-net will migrate its attached TAP netdev, with all its
connected file descriptors.

Let's add a command to list supporting devices (no one for now),
together with necessary infrastructure in qdev code.

Use case?

Will add:

With this command management tool can query such lists on source and
target, and get intersection of them, to now the set of devices, for
which we can enable backend-transfer for given source and target QEMUs.



Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
---
  include/hw/qdev-core.h |  7 +++++++
  qapi/qdev.json         | 26 +++++++++++++++++++++++++
  system/qdev-monitor.c  | 43 ++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 76 insertions(+)

diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h
index 2caa0cbd26..0551fbaa6c 100644




--
Best regards,
Vladimir

Reply via email to