qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vfio/migration: Make VFIO migration non-experimental
@ 2023-06-28  7:31 Avihai Horon
  2023-06-28  7:31 ` [PATCH v2 1/2] vfio/migration: Reset bytes_transferred properly Avihai Horon
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Avihai Horon @ 2023-06-28  7:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alex Williamson, Cédric Le Goater, Juan Quintela, Peter Xu,
	Leonardo Bras, Zhenzhong Duan, Yishai Hadas, Jason Gunthorpe,
	Maor Gottlieb, Avihai Horon, Kirti Wankhede, Tarun Gupta,
	Joao Martins

Hello,

The major parts of VFIO migration are supported today in QEMU. This
includes basic VFIO migration, device dirty page tracking and precopy
support. Thus, at this point in time, it seems appropriate to make VFIO
migration non-experimental.

This short series (which is based on the precopy series [1]) does that
and also adds a few improvements:
- Patch #1 resets bytes_transferred counter properly.
- Patch #2 cleans up the VFIO migration realize flow and makes VFIO
  migration non-experimental.

Note that Zhenzhong's series [2] fixes additional bugs and further
cleans the VFIO migration realize flow.

Changes from v1 [3]:
* Dropped patch #1 as it's an optimization. (Cedric)
* Added Fixes tag to patch #2. (Cedric)
* Made VFIO device realization fail if migration is not supported and
  enable_migration is ON. (Cedric)
* Kept the error message of errno == ENOTTY case as it was in
  vfio_migration_query_flags(). (Cedric)
* Added a warn when enable_migration is ON and device dirty tracking is
  not supported. (Alex)
* Renamed trace_vfio_migration_probe() to
* trace_vfio_migration_realize().


Thanks.

[1]
https://lore.kernel.org/qemu-devel/20230621111201.29729-1-avihaih@nvidia.com/

[2]
https://lore.kernel.org/qemu-devel/20230621080204.420723-1-zhenzhong.duan@intel.com/

[3]
https://lore.kernel.org/qemu-devel/20230626082353.18535-1-avihaih@nvidia.com/

Avihai Horon (2):
  vfio/migration: Reset bytes_transferred properly
  vfio/migration: Make VFIO migration non-experimental

 include/hw/vfio/vfio-common.h |  7 +--
 migration/migration.h         |  1 +
 hw/vfio/common.c              | 16 ++++++-
 hw/vfio/migration.c           | 85 ++++++++++++++++++++++++-----------
 hw/vfio/pci.c                 |  4 +-
 migration/migration.c         |  1 +
 migration/savevm.c            |  1 +
 migration/target.c            | 17 ++++++-
 hw/vfio/trace-events          |  2 +-
 9 files changed, 97 insertions(+), 37 deletions(-)

-- 
2.26.3



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-29  1:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28  7:31 [PATCH v2 0/2] vfio/migration: Make VFIO migration non-experimental Avihai Horon
2023-06-28  7:31 ` [PATCH v2 1/2] vfio/migration: Reset bytes_transferred properly Avihai Horon
2023-06-28 12:50   ` Cédric Le Goater
2023-06-28  7:31 ` [PATCH v2 2/2] vfio/migration: Make VFIO migration non-experimental Avihai Horon
2023-06-28 12:54   ` Cédric Le Goater
2023-06-28 14:51     ` Joao Martins
2023-06-28 16:03       ` Cédric Le Goater
2023-06-29  1:57         ` Duan, Zhenzhong
2023-06-28 15:17   ` Joao Martins
2023-06-28 21:14 ` [PATCH v2 0/2] " Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).