qemu-e2k/docs/devel
Avihai Horon 94f775e428 vfio/migration: Add P2P support for VFIO migration
VFIO migration uAPI defines an optional intermediate P2P quiescent
state. While in the P2P quiescent state, P2P DMA transactions cannot be
initiated by the device, but the device can respond to incoming ones.
Additionally, all outstanding P2P transactions are guaranteed to have
been completed by the time the device enters this state.

The purpose of this state is to support migration of multiple devices
that might do P2P transactions between themselves.

Add support for P2P migration by transitioning all the devices to the
P2P quiescent state before stopping or starting the devices. Use the new
VMChangeStateHandler prepare_cb to achieve that behavior.

This will allow migration of multiple VFIO devices if all of them
support P2P migration.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Tested-by: YangHang Liu <yanghliu@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-09-11 08:34:05 +02:00
..
acpi-bits.rst Revert "tests: Use separate virtual environment for avocado" 2023-08-28 09:55:48 +02:00
atomics.rst
bitops.rst
blkdebug.txt
blkverify.txt
block-coroutine-wrapper.rst
build-system.rst meson: list leftover CONFIG_* symbols 2023-09-07 13:32:37 +02:00
ci-definitions.rst.inc
ci-jobs.rst.inc gitlab: enable ccache for many build jobs 2023-08-30 14:57:33 +01:00
ci-runners.rst.inc
ci.rst
clocks.rst
code-of-conduct.rst
conflict-resolution.rst
control-flow-integrity.rst
decodetree.rst
ebpf_rss.rst
fuzzing.rst
index-api.rst docs/devel: split qom-api reference into new file 2023-07-03 12:52:22 +01:00
index-build.rst
index-internals.rst
index-process.rst docs/devel: add some front matter to the devel index 2023-07-03 12:52:08 +01:00
index-tcg.rst docs/devel: add some front matter to the devel index 2023-07-03 12:52:08 +01:00
index.rst docs/devel: add some front matter to the devel index 2023-07-03 12:52:08 +01:00
kconfig.rst configure, meson: remove target OS symbols from config-host.mak 2023-09-07 13:32:37 +02:00
loads-stores.rst
lockcnt.txt
maintainers.rst
memory.rst
migration.rst docs/migration: Update postcopy bits 2023-07-26 10:55:56 +02:00
modules.rst
multi-process.rst
multi-thread-tcg.rst
multiple-iothreads.txt
qapi-code-gen.rst
qdev-api.rst docs/devel: split qom-api reference into new file 2023-07-03 12:52:22 +01:00
qgraph.rst
qom-api.rst docs/devel: split qom-api reference into new file 2023-07-03 12:52:22 +01:00
qom.rst misc: Fix some typos in documentation and comments 2023-08-01 23:52:23 +02:00
qtest.rst
rcu.txt
replay.rst
reset.rst
s390-dasd-ipl.rst
secure-coding-practices.rst
stable-process.rst
style.rst docs/style: permit inline loop variables 2023-08-30 14:57:44 +01:00
submitting-a-patch.rst
submitting-a-pull-request.rst
tcg-icount.rst
tcg-ops.rst docs/devel/tcg-ops: fix missing newlines in "Host vector operations" 2023-08-24 11:22:42 -07:00
tcg-plugins.rst
tcg.rst docs/devel: add some front matter to the devel index 2023-07-03 12:52:08 +01:00
testing.rst Revert "tests: Use separate virtual environment for avocado" 2023-08-28 09:55:48 +02:00
tracing.rst
trivial-patches.rst
ui.rst
vfio-migration.rst vfio/migration: Add P2P support for VFIO migration 2023-09-11 08:34:05 +02:00
virtio-backends.rst
virtio-migration.txt
writing-monitor-commands.rst
zoned-storage.rst