Re: [PULL 00/27] vfio queue

2025-07-04 Thread Stefan Hajnoczi
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any 
user-visible changes.


signature.asc
Description: PGP signature


[PULL 00/27] vfio queue

2025-07-04 Thread 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




Re: [PULL 00/27] vfio queue

2025-06-11 Thread Stefan Hajnoczi
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any 
user-visible changes.


signature.asc
Description: PGP signature


[PULL 00/27] vfio queue

2025-06-11 Thread 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