All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 00/27] vfio queue
@ 2026-07-07  6:28 Cédric Le Goater
  2026-07-07  6:28 ` [PULL 01/27] vfio/pci: Initialize rom_read_failed in vfio_pci_load_rom() Cédric Le Goater
                   ` (27 more replies)
  0 siblings, 28 replies; 33+ messages in thread
From: Cédric Le Goater @ 2026-07-07  6:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Cédric Le Goater

The following changes since commit 94826ec1370328375c3b6d1e80fdc94c8f46c348:

  Merge tag 'accel-20260706' of https://github.com/philmd/qemu into staging (2026-07-06 18:38:14 +0200)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-vfio-20260707

for you to fetch changes up to 9daa7347ff2551038e0de055d309b420324b5a25:

  vfio/pci: Reject invalid MSI-X Table and PBA BIR values (2026-07-07 07:12:46 +0200)

----------------------------------------------------------------
vfio queue:

* Fixes ROM read issues in vfio/pci: information leak, error
  propagation, and uninitialized state
* Validates VERSION replies in vfio-user and updates the spec
  for DMA access mode bits
* Merges .dma_map_file() into .dma_map() in the iommufd backend
* Reworks switchover-ack to be re-usable and implements the
  VFIO_PRECOPY_INFO_REINIT feature for additional pre-copy
  iterations before switchover
* Adds ATS support for passthrough devices via iommufd
* Fixes translated_addr for non-identity-mapped RAM sections in
  the VFIO listener
* Reject invalid MSI-X Table and PBA BIR values

----------------------------------------------------------------
Avihai Horon (16):
      migration: Propagate errors in migration_completion_precopy()
      migration/ram: Use migration_bitmap_sync_precopy() for postcopy discard
      migration: Run final save_query_pending at switchover
      migration: Log the approver in qemu_loadvm_approve_switchover()
      migration: Replace switchover_ack_needed SaveVMHandler
      migration: Rename switchover-ack code to legacy
      migration: Make switchover-ack re-usable
      migration: Fail migration if switchover-ack is requested after switchover decision
      vfio/migration: Extract VFIO_MIG_FLAG_DEV_INIT_DATA_SENT sending to helper
      vfio/migration: Add Error ** parameter to vfio_migration_init()
      vfio/migration: Add new switchover-ack mechanism
      vfio/migration: Implement VFIO_PRECOPY_INFO_REINIT feature
      vfio/migration: Check VFIO_PRECOPY_INFO_REINIT during switchover
      migration: Enable new switchover-ack
      migration: Refactor migration_completion_precopy() to return bool
      migration: Fix "switchover" used as a verb in comments and docs

Cédric Le Goater (4):
      vfio/pci: Fix information leak in vfio_rom_read()
      vfio/iommufd: Merge .dma_map_file() into .dma_map()
      vfio/listener: Fix translated_addr for non-identity-mapped RAM sections
      vfio/pci: Reject invalid MSI-X Table and PBA BIR values

GuoHan Zhao (1):
      vfio-user: validate VERSION replies

Mario Casquero (2):
      vfio/pci: Initialize rom_read_failed in vfio_pci_load_rom()
      vfio/pci: Propagate errors in vfio_pci_load_rom() using Error API

Mattias Nissler (1):
      docs: Update vfio-user spec to describe DMA access mode bits

Nathan Chen (2):
      iommufd: Introduce handler for device ATS support
      vfio/pci: Add ats property

Shameer Kolothum (1):
      backends/iommufd: Fix dev_id and type order in viommu trace

 docs/devel/migration/vfio.rst      |  17 +++-
 docs/interop/vfio-user.rst         |  82 +++++++++------
 qapi/migration.json                |  16 ++-
 hw/vfio/pci.h                      |   1 +
 hw/vfio/vfio-migration-internal.h  |   2 +
 include/hw/vfio/vfio-container.h   |  15 ---
 include/migration/client-options.h |   1 +
 include/migration/misc.h           |   2 +
 include/migration/register.h       |  56 +++++-----
 include/system/host_iommu_device.h |   9 ++
 migration/migration.h              |  34 ++++++-
 migration/savevm.h                 |  11 +-
 backends/iommufd.c                 |   8 ++
 hw/core/machine.c                  |   1 +
 hw/s390x/s390-stattrib.c           |   2 +-
 hw/vfio-user/proxy.c               |  21 ++--
 hw/vfio/container.c                |  38 -------
 hw/vfio/iommufd.c                  |  50 ++++++---
 hw/vfio/listener.c                 |   5 +-
 hw/vfio/migration.c                | 204 +++++++++++++++++++++++++++++--------
 hw/vfio/pci.c                      | 137 +++++++++++++++++++++----
 migration/block-dirty-bitmap.c     |  11 +-
 migration/colo.c                   |  14 +++
 migration/migration.c              |  98 ++++++++++++------
 migration/options.c                |   9 ++
 migration/ram.c                    |  40 ++++----
 migration/savevm.c                 | 195 ++++++++++++++++++++++-------------
 backends/trace-events              |   2 +-
 hw/vfio/trace-events               |   7 +-
 migration/trace-events             |   9 +-
 30 files changed, 753 insertions(+), 344 deletions(-)



^ permalink raw reply	[flat|nested] 33+ messages in thread
* [PULL 00/27] vfio queue
@ 2025-07-04  8:45 Cédric Le Goater
  2025-07-04 17:49 ` Stefan Hajnoczi
  0 siblings, 1 reply; 33+ messages in thread
From: Cédric Le Goater @ 2025-07-04  8:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Williamson, Cédric Le Goater

The following changes since commit c77283dd5d79149f4e7e9edd00f65416c648ee59:

  Merge tag 'pull-request-2025-07-02' of https://gitlab.com/thuth/qemu into staging (2025-07-03 06:01:41 -0400)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-vfio-20250704

for you to fetch changes up to 7437caad2052d920452ff7b9b7bc84f5e8e55c90:

  vfio: doc changes for cpr (2025-07-03 13:42:28 +0200)

----------------------------------------------------------------
vfio queue:

* Added small cleanups for b4 and scope
* Restricted TDX build to 64-bit target
* Fixed issues introduced in first part of VFIO live update support
* Added full VFIO live update support

----------------------------------------------------------------
Cédric Le Goater (2):
      b4: Drop linktrailermask
      Makefile: prune quilt source files for cscope

Mark Cave-Ayland (1):
      vfio-user: do not register vfio-user container with cpr

Steve Sistare (21):
      vfio-pci: preserve MSI
      vfio-pci: preserve INTx
      migration: close kvm after cpr
      migration: cpr_get_fd_param helper
      backends/iommufd: iommufd_backend_map_file_dma
      backends/iommufd: change process ioctl
      physmem: qemu_ram_get_fd_offset
      vfio/iommufd: use IOMMU_IOAS_MAP_FILE
      vfio/iommufd: invariant device name
      vfio/iommufd: add vfio_device_free_name
      vfio/iommufd: device name blocker
      vfio/iommufd: register container for cpr
      migration: vfio cpr state hook
      vfio/iommufd: cpr state
      vfio/iommufd: preserve descriptors
      vfio/iommufd: reconstruct device
      vfio/iommufd: reconstruct hwpt
      vfio/iommufd: change process
      iommufd: preserve DMA mappings
      vfio/container: delete old cpr register
      vfio: doc changes for cpr

Xiaoyao Li (1):
      i386/tdx: Build TDX only for 64-bit target

Zhenzhong Duan (2):
      vfio/container: Fix potential SIGSEGV when recover from unmap-all-vaddr failure
      vfio/container: Fix vfio_container_post_load()

 docs/devel/migration/CPR.rst          |   5 +-
 Makefile                              |   1 +
 qapi/migration.json                   |   6 +-
 hw/vfio/pci.h                         |   2 +
 include/exec/cpu-common.h             |   1 +
 include/hw/vfio/vfio-container-base.h |  15 +++
 include/hw/vfio/vfio-cpr.h            |  36 +++++-
 include/hw/vfio/vfio-device.h         |   3 +
 include/migration/cpr.h               |  14 +++
 include/system/iommufd.h              |   7 ++
 include/system/kvm.h                  |   1 +
 accel/kvm/kvm-all.c                   |  32 +++++
 backends/iommufd.c                    | 107 +++++++++++++++-
 hw/vfio-user/container.c              |  11 +-
 hw/vfio/ap.c                          |   4 +-
 hw/vfio/ccw.c                         |   4 +-
 hw/vfio/container-base.c              |   9 ++
 hw/vfio/cpr-iommufd.c                 | 225 ++++++++++++++++++++++++++++++++++
 hw/vfio/cpr-legacy.c                  |  25 ++--
 hw/vfio/cpr.c                         | 144 ++++++++++++++++++++--
 hw/vfio/device.c                      |  40 ++++--
 hw/vfio/helpers.c                     |  11 ++
 hw/vfio/iommufd-stubs.c               |  18 +++
 hw/vfio/iommufd.c                     |  81 ++++++++++--
 hw/vfio/pci.c                         | 109 +++++++++++++++-
 hw/vfio/platform.c                    |   2 +-
 migration/cpr.c                       |  52 ++++++--
 system/physmem.c                      |   5 +
 .b4-config                            |   1 -
 backends/trace-events                 |   2 +
 hw/i386/Kconfig                       |   2 +-
 hw/vfio/meson.build                   |   2 +
 hw/vfio/trace-events                  |   3 +
 33 files changed, 888 insertions(+), 92 deletions(-)
 create mode 100644 hw/vfio/cpr-iommufd.c
 create mode 100644 hw/vfio/iommufd-stubs.c



^ permalink raw reply	[flat|nested] 33+ messages in thread
* [PULL 00/27] vfio queue
@ 2025-06-11 15:05 Cédric Le Goater
  2025-06-11 18:22 ` Stefan Hajnoczi
  0 siblings, 1 reply; 33+ messages in thread
From: Cédric Le Goater @ 2025-06-11 15:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Williamson, Cédric Le Goater

The following changes since commit bc98ffdc7577e55ab8373c579c28fe24d600c40f:

  Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-vfio-20250611

for you to fetch changes up to 079e7216debd767e78a77aefc88e2e7335f49b26:

  vfio: improve VFIODeviceIOOps docs (2025-06-11 14:01:58 +0200)

----------------------------------------------------------------
vfio queue:

* Fixed newly added potential issues in vfio-pci
* Added support to report vfio-ap configuration changes
* Added prerequisite support for vfio-user
* Added first part for VFIO live update support

----------------------------------------------------------------
John Levon (4):
      vfio: export PCI helpers needed for vfio-user
      vfio: add per-region fd support
      vfio: mark posted writes in region write callbacks
      vfio: improve VFIODeviceIOOps docs

Rorie Reyes (4):
      hw/vfio/ap: notification handler for AP config changed event
      hw/vfio/ap: store object indicating AP config changed in a queue
      hw/vfio/ap: Storing event information for an AP configuration change event
      s390: implementing CHSC SEI for AP config change

Steve Sistare (17):
      migration: cpr helpers
      migration: lower handler priority
      vfio/container: register container for cpr
      vfio/container: preserve descriptors
      vfio/container: discard old DMA vaddr
      vfio/container: restore DMA vaddr
      vfio/container: mdev cpr blocker
      vfio/container: recover from unmap-all-vaddr failure
      pci: export msix_is_pending
      pci: skip reset during cpr
      vfio-pci: skip reset during cpr
      vfio/pci: vfio_pci_vector_init
      vfio/pci: vfio_notifier_init
      vfio/pci: pass vector to virq functions
      vfio/pci: vfio_notifier_init cpr parameters
      vfio/pci: vfio_notifier_cleanup
      vfio/pci: export MSI functions

Zhenzhong Duan (2):
      vfio/container: Fix vfio_listener_commit()
      vfio/pci: Fix instance_size of VFIO_PCI_BASE

 MAINTAINERS                           |   1 +
 hw/vfio/pci.h                         |  19 +++
 include/hw/pci/msix.h                 |   1 +
 include/hw/pci/pci.h                  |   2 +
 include/hw/s390x/ap-bridge.h          |  39 +++++
 include/hw/vfio/vfio-container-base.h |   3 +
 include/hw/vfio/vfio-container.h      |   2 +
 include/hw/vfio/vfio-cpr.h            |  39 +++++
 include/hw/vfio/vfio-device.h         |  59 +++++--
 include/hw/vfio/vfio-region.h         |   1 +
 include/migration/cpr.h               |   5 +
 include/migration/vmstate.h           |   6 +-
 hw/pci/msix.c                         |   2 +-
 hw/pci/pci.c                          |   5 +
 hw/s390x/ap-stub.c                    |  21 +++
 hw/vfio/ap.c                          |  88 +++++++++++
 hw/vfio/container.c                   |  97 +++++++++---
 hw/vfio/cpr-legacy.c                  | 287 ++++++++++++++++++++++++++++++++++
 hw/vfio/cpr.c                         |  36 ++++-
 hw/vfio/device.c                      |  32 +++-
 hw/vfio/listener.c                    |  21 ++-
 hw/vfio/pci.c                         | 205 +++++++++++++++---------
 hw/vfio/region.c                      |  12 +-
 migration/cpr.c                       |  36 +++++
 migration/savevm.c                    |   4 +-
 target/s390x/ioinst.c                 |  11 +-
 hw/s390x/meson.build                  |   1 +
 hw/vfio/meson.build                   |   1 +
 hw/vfio/trace-events                  |   6 +-
 29 files changed, 914 insertions(+), 128 deletions(-)
 create mode 100644 hw/s390x/ap-stub.c
 create mode 100644 hw/vfio/cpr-legacy.c



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

end of thread, other threads:[~2026-07-08  8:15 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07  6:28 [PULL 00/27] vfio queue Cédric Le Goater
2026-07-07  6:28 ` [PULL 01/27] vfio/pci: Initialize rom_read_failed in vfio_pci_load_rom() Cédric Le Goater
2026-07-07  6:28 ` [PULL 02/27] vfio/pci: Fix information leak in vfio_rom_read() Cédric Le Goater
2026-07-07  6:28 ` [PULL 03/27] docs: Update vfio-user spec to describe DMA access mode bits Cédric Le Goater
2026-07-07  6:28 ` [PULL 04/27] vfio-user: validate VERSION replies Cédric Le Goater
2026-07-07  6:28 ` [PULL 05/27] vfio/iommufd: Merge .dma_map_file() into .dma_map() Cédric Le Goater
2026-07-07  6:28 ` [PULL 06/27] migration: Propagate errors in migration_completion_precopy() Cédric Le Goater
2026-07-07  6:29 ` [PULL 07/27] migration/ram: Use migration_bitmap_sync_precopy() for postcopy discard Cédric Le Goater
2026-07-07  6:29 ` [PULL 08/27] migration: Run final save_query_pending at switchover Cédric Le Goater
2026-07-07  6:29 ` [PULL 09/27] migration: Log the approver in qemu_loadvm_approve_switchover() Cédric Le Goater
2026-07-07  6:29 ` [PULL 10/27] migration: Replace switchover_ack_needed SaveVMHandler Cédric Le Goater
2026-07-07  6:29 ` [PULL 11/27] migration: Rename switchover-ack code to legacy Cédric Le Goater
2026-07-07  6:29 ` [PULL 12/27] migration: Make switchover-ack re-usable Cédric Le Goater
2026-07-07  6:29 ` [PULL 13/27] migration: Fail migration if switchover-ack is requested after switchover decision Cédric Le Goater
2026-07-07  6:29 ` [PULL 14/27] vfio/migration: Extract VFIO_MIG_FLAG_DEV_INIT_DATA_SENT sending to helper Cédric Le Goater
2026-07-07  6:29 ` [PULL 15/27] vfio/migration: Add Error ** parameter to vfio_migration_init() Cédric Le Goater
2026-07-07  6:29 ` [PULL 16/27] vfio/migration: Add new switchover-ack mechanism Cédric Le Goater
2026-07-07  6:29 ` [PULL 17/27] vfio/migration: Implement VFIO_PRECOPY_INFO_REINIT feature Cédric Le Goater
2026-07-07  6:29 ` [PULL 18/27] vfio/migration: Check VFIO_PRECOPY_INFO_REINIT during switchover Cédric Le Goater
2026-07-07  6:29 ` [PULL 19/27] migration: Enable new switchover-ack Cédric Le Goater
2026-07-07  6:29 ` [PULL 20/27] migration: Refactor migration_completion_precopy() to return bool Cédric Le Goater
2026-07-07  6:29 ` [PULL 21/27] migration: Fix "switchover" used as a verb in comments and docs Cédric Le Goater
2026-07-07  6:29 ` [PULL 22/27] iommufd: Introduce handler for device ATS support Cédric Le Goater
2026-07-07  6:29 ` [PULL 23/27] vfio/pci: Add ats property Cédric Le Goater
2026-07-07  6:29 ` [PULL 24/27] vfio/pci: Propagate errors in vfio_pci_load_rom() using Error API Cédric Le Goater
2026-07-07  6:29 ` [PULL 25/27] vfio/listener: Fix translated_addr for non-identity-mapped RAM sections Cédric Le Goater
2026-07-07  6:29 ` [PULL 26/27] backends/iommufd: Fix dev_id and type order in viommu trace Cédric Le Goater
2026-07-07  6:29 ` [PULL 27/27] vfio/pci: Reject invalid MSI-X Table and PBA BIR values Cédric Le Goater
2026-07-08  5:53 ` [PULL 00/27] vfio queue Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2025-07-04  8:45 Cédric Le Goater
2025-07-04 17:49 ` Stefan Hajnoczi
2025-06-11 15:05 Cédric Le Goater
2025-06-11 18:22 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.