Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3dc9951906af4d47dddd56afd4c27ac8b3ed3c24
      
https://github.com/qemu/qemu/commit/3dc9951906af4d47dddd56afd4c27ac8b3ed3c24
  Author: Thomas Huth <th...@redhat.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M tests/functional/test_pc_cpu_hotplug_props.py

  Log Message:
  -----------
  tests/functional/test_pc_cpu_hotplug_props: Set 'pc' machine type explicitly

In case the default machine has not been compiled into the QEMU
binary, the cpu_hotplug_props test is currently failing. Add a
set_machine('pc') here to make sure that the tests are correctly
skipped in case the machine is not available.

Signed-off-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250606092033.506736-1-th...@redhat.com>


  Commit: 920f067347782e4737d0e4a89692b669b888fe0a
      
https://github.com/qemu/qemu/commit/920f067347782e4737d0e4a89692b669b888fe0a
  Author: Yoshinori Sato <yoshinori.s...@nifty.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Yoshinori Sato email address has been updated

The email address <ys...@users.sourceforge.jp> has been suspended.
I have prepared a new email address.

Signed-off-by: Yoshinori Sato <yoshinori.s...@nifty.com>
Message-ID: <20250612131632.137155-1-yoshinori.s...@nifty.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 435c758da161448447dc47e678a97b8df434d94c
      
https://github.com/qemu/qemu/commit/435c758da161448447dc47e678a97b8df434d94c
  Author: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M hw/s390x/event-facility.c
    M hw/s390x/meson.build
    M hw/s390x/s390-virtio-ccw.c
    A hw/s390x/sclpcpi.c
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/s390-virtio-ccw.h

  Log Message:
  -----------
  hw/s390x: add SCLP event type CPI

Implement the Service-Call Logical Processor (SCLP) event
type Control-Program Identification (CPI) in QEMU. This
event is used to send CPI identifiers from the guest to the
host. The CPI identifiers are: system type, system name,
system level and sysplex name.

System type: operating system of the guest (e.g. "LINUX   ").
System name: user configurable name of the guest (e.g. "TESTVM  ").
System level: distribution and kernel version, if the system type is Linux
(e.g. 74872343805430528).
Sysplex name: name of the cluster which the guest belongs to (if any)
(e.g. "PLEX").

The SCLP event CPI is supported only from "s390-ccw-virtio-10.1" machine
and higher.

Signed-off-by: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <n...@linux.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250616140107.990538-2-shal...@linux.ibm.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: f345978f24becfab4445fbf1ed2519ee9101d1dd
      
https://github.com/qemu/qemu/commit/f345978f24becfab4445fbf1ed2519ee9101d1dd
  Author: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M hw/s390x/sclpcpi.c
    M include/hw/s390x/event-facility.h

  Log Message:
  -----------
  hw/s390x: add Control-Program Identification to QOM

Add Control-Program Identification (CPI) data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received
as shown below.

virsh # qemu-monitor-command vm --pretty '{"execute":"qom-list",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi"}}'
{
  "return": [
    [...]
    {
      "name": "system_level",
      "type": "uint64"
    },
    {
      "name": "system_name",
      "type": "string"
    },
    {
      "name": "system_type",
      "type": "string"
    },
    {
      "name": "timestamp",
      "type": "uint64"
    },
    {
      "name": "sysplex_name",
      "type": "string"
    }
  ],
  "id": "libvirt-14"
}

Example CPI data:
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi",
"property":"system_type"}}'
{
  "return": "LINUX   ",
  "id": "libvirt-18"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi",
"property":"system_name"}}'
{
  "return": "TESTVM  ",
  "id": "libvirt-19"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi",
"property":"sysplex_name"}}'
{
  "return": "PLEX    ",
  "id": "libvirt-20"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi",
"property":"system_level"}}'
{
  "return": 74872343805430528,
  "id": "libvirt-21"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi",
"property":"timestamp"}}'
{
  "return": 1748866753433923000,
  "id": "libvirt-22"
}

Signed-off-by: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <n...@linux.ibm.com>
Message-ID: <20250616140107.990538-3-shal...@linux.ibm.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: c61927ba8e4375fcb80aef9d9bc9e32b8130af01
      
https://github.com/qemu/qemu/commit/c61927ba8e4375fcb80aef9d9bc9e32b8130af01
  Author: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M hw/s390x/sclpcpi.c

  Log Message:
  -----------
  hw/s390x: support migration of CPI data

Register Control-Program Identification data with the live
migration infrastructure.

Signed-off-by: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <n...@linux.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250616140107.990538-4-shal...@linux.ibm.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: a96011fefc2d9073569d51f481b656b65f552df7
      
https://github.com/qemu/qemu/commit/a96011fefc2d9073569d51f481b656b65f552df7
  Author: Matthew Rosato <mjros...@linux.ibm.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add reviewers for some s390 areas

To improve review coverage, assign additional people as reviewers for
multiple s390 sections.

Signed-off-by: Matthew Rosato <mjros...@linux.ibm.com>
Acked-by: Jason J. Herne <jjhe...@linux.ibm.com>
Acked-by: Collin Walling <wall...@linux.ibm.com>
Acked-by: Jared Rossi <jro...@linux.ibm.com>
Acked-by: Halil Pasic <pa...@linux.ibm.com>
Acked-by: Farhan Ali <al...@linux.ibm.com>
Acked-by: Zhuoying Cai <zy...@linux.ibm.com>
Acked-by: Eric Farman <far...@linux.ibm.com>
Message-ID: <20250623160030.98281-1-mjros...@linux.ibm.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 78e3781541209b3dcd6f4bb66adf3a3e504b88a4
      
https://github.com/qemu/qemu/commit/78e3781541209b3dcd6f4bb66adf3a3e504b88a4
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/s390x/ccw-device.c

  Log Message:
  -----------
  hw/s390x/ccw-device: Fix memory leak in loadparm setter

Commit bdf12f2a fixed the setter for the "loadparm" machine property,
which gets a string from a visitor, passes it to s390_ipl_fmt_loadparm()
and then forgot to free it. It left another instance of the same problem
unfixed in the "loadparm" device property. Fix it.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20250625082751.24896-1-kw...@redhat.com>
Reviewed-by: Eric Farman <far...@linux.ibm.com>
Reviewed-by: Halil Pasic <pa...@linux.ibm.com>
Tested-by: Thomas Huth <th...@redhat.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 6e7cb5ff2071827ffac118bb3370b81397fe08d8
      
https://github.com/qemu/qemu/commit/6e7cb5ff2071827ffac118bb3370b81397fe08d8
  Author: Haseung Bong <hasu...@gmail.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M tests/vm/openbsd

  Log Message:
  -----------
  tests/vm: update openbsd image to 7.7

Update tests/vm/openbsd to release 7.7

Signed-off-by: Haseung Bong <hasu...@gmail.com>
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
Message-ID: <20250615003249.310160-1-hasu...@gmail.com>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 4db50be038a839d8332790db4d2d63ac247efad3
      
https://github.com/qemu/qemu/commit/4db50be038a839d8332790db4d2d63ac247efad3
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M COPYING
    M COPYING.LIB

  Log Message:
  -----------
  COPYING: replace FSF postal address with licenses URL

The license text in COPYING (GPLv2), COPYING.LIB (LGPLv2.1),
and the linux-headers/LICENSES/preferred/GPL-2.0 file are
referenced to the obsolete FSF postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Message-ID: <20250613.qemu.patch.01@sean.taipei>
[thuth: dropped the changes to the linux-headers folder]
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: cf81c1c6b9761d319b37939b8608c2b7dc75ce13
      
https://github.com/qemu/qemu/commit/cf81c1c6b9761d319b37939b8608c2b7dc75ce13
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M libdecnumber/decContext.c
    M libdecnumber/decNumber.c
    M libdecnumber/dpd/decimal128.c
    M libdecnumber/dpd/decimal32.c
    M libdecnumber/dpd/decimal64.c

  Log Message:
  -----------
  libdecnumber: replace FSF postal address with licenses URL

Some of the GPLv2 boiler-plate still contained the
obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.03@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 36d7484b0cbd6a6c9e6945d90e4298bec0ff661b
      
https://github.com/qemu/qemu/commit/36d7484b0cbd6a6c9e6945d90e4298bec0ff661b
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M include/libdecnumber/dconfig.h
    M include/libdecnumber/decContext.h
    M include/libdecnumber/decDPD.h
    M include/libdecnumber/decNumber.h
    M include/libdecnumber/decNumberLocal.h
    M include/libdecnumber/dpd/decimal128.h
    M include/libdecnumber/dpd/decimal128Local.h
    M include/libdecnumber/dpd/decimal32.h
    M include/libdecnumber/dpd/decimal64.h

  Log Message:
  -----------
  include/libdecnumber: replace FSF postal address with licenses URL

Some of the GPLv2 boiler-plate still contained the
obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.04@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: e5308bc52d25da207fbb1cd7b557201b6612fd61
      
https://github.com/qemu/qemu/commit/e5308bc52d25da207fbb1cd7b557201b6612fd61
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M include/hw/i2c/aspeed_i2c.h
    M include/hw/pci/pci_bridge.h
    M include/hw/timer/aspeed_timer.h

  Log Message:
  -----------
  include/hw: replace FSF postal address with licenses URL

Some of the GPLv2 boiler-plate still contained the
obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Message-ID: <20250613.qemu.patch.05@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: c61b807e625846871e3d142a9f101d58f7ee2522
      
https://github.com/qemu/qemu/commit/c61b807e625846871e3d142a9f101d58f7ee2522
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M include/qemu/rcu.h
    M include/qemu/rcu_queue.h

  Log Message:
  -----------
  include/qemu: replace FSF postal address with licenses URL

The LGPLv2.1 boiler-plate in rcu.h and rcu_queue.h still
contained the obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.06@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 145c3e54be7fa5e4f0a2ac527db28e27940dab91
      
https://github.com/qemu/qemu/commit/145c3e54be7fa5e4f0a2ac527db28e27940dab91
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M util/rcu.c

  Log Message:
  -----------
  util/rcu.c: replace FSF postal address with licenses URL

The LGPLv2.1 boiler-plate in util/rcu.c still contained
the obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.07@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 49b91833cc671c30fd2a074a92c50c858d6ec055
      
https://github.com/qemu/qemu/commit/49b91833cc671c30fd2a074a92c50c858d6ec055
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/net/vmxnet3.h
    M hw/scsi/vmw_pvscsi.h

  Log Message:
  -----------
  hw: replace FSF postal address with licenses URL

The GPLv2 boiler-plate in vmxnet3.h and vmw_pvscsi.h still
contained the obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.08@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 19f5891f2ee6bdebc4c522ea5744f4d4ea7365f1
      
https://github.com/qemu/qemu/commit/19f5891f2ee6bdebc4c522ea5744f4d4ea7365f1
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M scripts/device-crash-test

  Log Message:
  -----------
  scripts: replace FSF postal address with licenses URL

The GPLv2 boiler-plate in scripts/device-crash-test still
contained the obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Thomas Huth <th...@redhat.com>
Message-ID: <20250613.qemu.patch.09@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: e656492766ce947cf0699e0e3d602a2587ac38d3
      
https://github.com/qemu/qemu/commit/e656492766ce947cf0699e0e3d602a2587ac38d3
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M contrib/elf2dmp/pdb.c

  Log Message:
  -----------
  contrib: replace FSF postal address with licenses URL

The LGPLv2.1 boiler-plate in pdb.c file still contained
the obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Akihiko Odaki <od...@rsg.ci.i.u-tokyo.ac.jp>
Message-ID: <20250613.qemu.patch.10@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: e38bdca0cab79a652ad4d619044857a2fe2a447b
      
https://github.com/qemu/qemu/commit/e38bdca0cab79a652ad4d619044857a2fe2a447b
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M target/xtensa/core-dc232b/gdb-config.c.inc
    M target/xtensa/core-dc232b/xtensa-modules.c.inc
    M target/xtensa/core-fsf/xtensa-modules.c.inc

  Log Message:
  -----------
  target/xtensa: replace FSF postal address with licenses URL

Some of the GPLv2 boiler-plate still contained the
obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Acked-by: Max Filippov <jcmvb...@gmail.com>
Message-ID: <20250613.qemu.patch.11@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: fd68168e0af14546117705176ace84d2c6c52416
      
https://github.com/qemu/qemu/commit/fd68168e0af14546117705176ace84d2c6c52416
  Author: Sean Wei <me@sean.taipei>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M target/i386/emulate/x86_emu.c
    M target/i386/emulate/x86_flags.c
    M target/i386/emulate/x86_flags.h

  Log Message:
  -----------
  target/i386/emulate: replace FSF postal address with licenses URL

Some of the LGPLv2.1 boiler-plate still contained the
obsolete "51 Franklin Street" postal address.

Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Wei Liu <wei....@kernel.org>
Message-ID: <20250613.qemu.patch.12@sean.taipei>
Signed-off-by: Thomas Huth <th...@redhat.com>


  Commit: 639ff87a1a823715f16edec34caacd8ef824fcfd
      
https://github.com/qemu/qemu/commit/639ff87a1a823715f16edec34caacd8ef824fcfd
  Author: Rorie Reyes <rre...@linux.ibm.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio/ap.c

  Log Message:
  -----------
  hw/vfio/ap: attribute constructor for cfg_chg_events_lock

Created an attribute constructor for cfg_chg_events_lock for locking
mechanism when storing event information for an AP configuration change
event

Fixes: fd03360215 ("Storing event information for an AP configuration change 
event")
Signed-off-by: Rorie Reyes <rre...@linux.ibm.com>
Reviewed-by: Thomas Huth <th...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250611211252.82107-1-rre...@linux.ibm.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: b1f521de8b2f356f4ae7683c51aa8c3ba6c7931e
      
https://github.com/qemu/qemu/commit/b1f521de8b2f356f4ae7683c51aa8c3ba6c7931e
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio/device.c
    M hw/vfio/region.c
    M include/hw/vfio/vfio-device.h

  Log Message:
  -----------
  vfio: add vfio_device_get_region_fd()

This keeps the existence of ->region_fds private to hw/vfio/device.c.

Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Link: 
https://lore.kernel.org/qemu-devel/20250616101337.3190027-1-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 8d60d069d7027bc3121763d73b0c973a1e3f19f3
      
https://github.com/qemu/qemu/commit/8d60d069d7027bc3121763d73b0c973a1e3f19f3
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M include/hw/vfio/vfio-device.h

  Log Message:
  -----------
  vfio: add documentation for posted write argument

Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250616101314.3189793-1-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: eafb408629d980dac7db24abe5b8fab2c7a67525
      
https://github.com/qemu/qemu/commit/eafb408629d980dac7db24abe5b8fab2c7a67525
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio/Kconfig
    M hw/vfio/meson.build
    M hw/vfio/trace-events
    M hw/vfio/trace.h

  Log Message:
  -----------
  vfio: add license tag to some files

Add SPDX-License-Identifier to some files missing it in hw/vfio/.

Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250623093053.1495509-1-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: abc6249d42f9681d5b659716434ef374c6e0edef
      
https://github.com/qemu/qemu/commit/abc6249d42f9681d5b659716434ef374c6e0edef
  Author: Zhenzhong Duan <zhenzhong.d...@intel.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio/container.c

  Log Message:
  -----------
  vfio/container: Fix SIGSEGV when open container file fails

When open /dev/vfio/vfio fails, SIGSEGV triggers because
vfio_listener_unregister() doesn't support a NULL bcontainer
pointer.

Fixes: a1f267a7d4d9 ("vfio/container: reform vfio_container_connect cleanup")
Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250623102235.94877-2-zhenzhong.d...@intel.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: c72d6ebaadcaec1daa995d47716348e150757a51
      
https://github.com/qemu/qemu/commit/c72d6ebaadcaec1daa995d47716348e150757a51
  Author: Zhenzhong Duan <zhenzhong.d...@intel.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio/container.c

  Log Message:
  -----------
  vfio/container: fails mdev hotplug if add migration blocker failed

It's aggressive to abort a running QEMU process when hotplug a mdev
and it fails migration blocker adding.

Fix by just failing mdev hotplug itself.

Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250623102235.94877-3-zhenzhong.d...@intel.com
[ clg: Changed test on value returned by migrate_add_blocker_modes() ]
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 9fca2b7d702f7ba216c571504922b2f8994537cc
      
https://github.com/qemu/qemu/commit/9fca2b7d702f7ba216c571504922b2f8994537cc
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M MAINTAINERS
    M hw/Kconfig
    M hw/meson.build
    A hw/vfio-user/Kconfig
    A hw/vfio-user/container.c
    A hw/vfio-user/container.h
    A hw/vfio-user/meson.build
    A hw/vfio-user/pci.c
    M include/hw/vfio/vfio-container-base.h

  Log Message:
  -----------
  vfio-user: add vfio-user class and container

Introduce basic plumbing for vfio-user with CONFIG_VFIO_USER.

We introduce VFIOUserContainer in hw/vfio-user/container.c, which is a
container type for the "IOMMU" type "vfio-iommu-user", and share some
common container code from hw/vfio/container.c.

Add hw/vfio-user/pci.c for instantiating VFIOUserPCIDevice objects,
sharing some common code from hw/vfio/pci.c.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-2-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 438d863f1f40fbc2b57bf94cc6c998a6445c0932
      
https://github.com/qemu/qemu/commit/438d863f1f40fbc2b57bf94cc6c998a6445c0932
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/meson.build
    M hw/vfio-user/pci.c
    A hw/vfio-user/proxy.c
    A hw/vfio-user/proxy.h
    M include/hw/vfio/vfio-device.h

  Log Message:
  -----------
  vfio-user: connect vfio proxy to remote server

Introduce the vfio-user "proxy": this is the client code responsible for
sending and receiving vfio-user messages across the control socket.

The new files hw/vfio-user/proxy.[ch] contain some basic plumbing for
managing the proxy; initialize the proxy during realization of the
VFIOUserPCIDevice instance.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-3-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 0b3d881a061b284a3db00d7fe9d33581fb424287
      
https://github.com/qemu/qemu/commit/0b3d881a061b284a3db00d7fe9d33581fb424287
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c
    A hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h
    A hw/vfio-user/trace-events
    A hw/vfio-user/trace.h
    M meson.build

  Log Message:
  -----------
  vfio-user: implement message receive infrastructure

Add the basic implementation for receiving vfio-user messages from the
control socket.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-4-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 36227628d824f563fda95f9344176ca7263c7eaf
      
https://github.com/qemu/qemu/commit/36227628d824f563fda95f9344176ca7263c7eaf
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement message send infrastructure

Add plumbing for sending vfio-user messages on the control socket.
Add initial version negotation on connection.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-5-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 3bdb738b734c77f93f93f8119c8f6ba8a9c5947c
      
https://github.com/qemu/qemu/commit/3bdb738b734c77f93f93f8119c8f6ba8a9c5947c
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/container.c
    A hw/vfio-user/device.c
    A hw/vfio-user/device.h
    M hw/vfio-user/meson.build
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DEVICE_GET_INFO

Add support for getting basic device information.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-6-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 667866d66620e9f545eb3bd4f065d9ab81bda727
      
https://github.com/qemu/qemu/commit/667866d66620e9f545eb3bd4f065d9ab81bda727
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/device.h
    M hw/vfio-user/pci.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO

Add support for getting region info for vfio-user. As vfio-user has one
fd per region, enable ->use_region_fds.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-7-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 1ed50fcb6a8b99312458b9653de2d1d5acfd7506
      
https://github.com/qemu/qemu/commit/1ed50fcb6a8b99312458b9653de2d1d5acfd7506
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_REGION_READ/WRITE

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-8-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 692e0ec50c2f38a7952f7e7c4c375c77b141f6b2
      
https://github.com/qemu/qemu/commit/692e0ec50c2f38a7952f7e7c4c375c77b141f6b2
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c

  Log Message:
  -----------
  vfio-user: set up PCI in vfio_user_pci_realize()

Re-use PCI setup functions from hw/vfio/pci.c to realize the vfio-user
PCI device.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-9-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: ca1add1696dd53f905c2a17f36159d54e9b6f527
      
https://github.com/qemu/qemu/commit/ca1add1696dd53f905c2a17f36159d54e9b6f527
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DEVICE_GET/SET_IRQ*

IRQ setup uses the same semantics as the traditional vfio path, but we
need to share the corresponding file descriptors with the server as
necessary.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-10-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 777e45c7b914583ca83ace7601d9cf90ddf1f3fd
      
https://github.com/qemu/qemu/commit/777e45c7b914583ca83ace7601d9cf90ddf1f3fd
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c
    M hw/vfio/pci.h

  Log Message:
  -----------
  vfio-user: forward MSI-X PBA BAR accesses to server

For vfio-user, the server holds the pending IRQ state; set up an I/O
region for the MSI-X PBA so we can ask the server for this state on a
PBA read.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-11-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 52ce9c35f8e364e5823fc13f23929eb597bb69ac
      
https://github.com/qemu/qemu/commit/52ce9c35f8e364e5823fc13f23929eb597bb69ac
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/container.c
    M hw/vfio-user/container.h

  Log Message:
  -----------
  vfio-user: set up container access to the proxy

The user container will shortly need access to the underlying vfio-user
proxy; set this up.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-12-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 019232358124e4f4b929e40fa23253de60eec73e
      
https://github.com/qemu/qemu/commit/019232358124e4f4b929e40fa23253de60eec73e
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/device.h
    M hw/vfio-user/pci.c

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DEVICE_RESET

Hook this call up to the legacy reset handler for vfio-user-pci.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-13-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 18e899e63dd9d05e567c081023ad7fc5b2c5dc9a
      
https://github.com/qemu/qemu/commit/18e899e63dd9d05e567c081023ad7fc5b2c5dc9a
  Author: John Levon <le...@movementarian.org>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/container.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DMA_MAP/UNMAP

When the vfio-user container gets mapping updates, share them with the
vfio-user by sending a message; this can include the region fd, allowing
the server to directly mmap() the region as needed.

For performance, we only wait for the message responses when we're doing
with a series of updates via the listener_commit() callback.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-14-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: c6ac52a4d8f7a7c03452454d36b60ac309f0b9ce
      
https://github.com/qemu/qemu/commit/c6ac52a4d8f7a7c03452454d36b60ac309f0b9ce
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h

  Log Message:
  -----------
  vfio-user: implement VFIO_USER_DMA_READ/WRITE

Unlike most other messages, this is a server->client message, for when a
server wants to do "DMA"; this is slow, so normally the server has
memory directly mapped instead.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-15-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 3358d926addda99e9f29f57b40d6fd22d2c29472
      
https://github.com/qemu/qemu/commit/3358d926addda99e9f29f57b40d6fd22d2c29472
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/pci.c
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h

  Log Message:
  -----------
  vfio-user: add 'x-msg-timeout' option

By default, the vfio-user subsystem will wait 5 seconds for a message
reply from the server. Add an option to allow this to be configurable.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-16-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 98a906d9e5827b18c51d7d7485be2f21f8900cc7
      
https://github.com/qemu/qemu/commit/98a906d9e5827b18c51d7d7485be2f21f8900cc7
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/pci.c
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h

  Log Message:
  -----------
  vfio-user: support posted writes

Support an asynchronous send of a vfio-user socket message (no wait for
a reply) when the write is posted. This is only safe when no regions are
mappable by the VM. Add an option to explicitly disable this as well.

Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-17-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 1a0c32a9daa39738fffc7de086845b2e54ae7034
      
https://github.com/qemu/qemu/commit/1a0c32a9daa39738fffc7de086845b2e54ae7034
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M hw/vfio-user/device.c
    M hw/vfio-user/protocol.h
    M hw/vfio-user/proxy.c
    M hw/vfio-user/proxy.h
    M hw/vfio-user/trace-events

  Log Message:
  -----------
  vfio-user: add coalesced posted writes

Add new message to send multiple writes to server in a single message.
Prevents the outgoing queue from overflowing when a long latency
operation is followed by a series of posted writes.

Originally-by: John Johnson <john.g.john...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-18-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: c688cc165b32c924a01a69d90ac9aac6fac8c64c
      
https://github.com/qemu/qemu/commit/c688cc165b32c924a01a69d90ac9aac6fac8c64c
  Author: John Levon <john.le...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M docs/system/device-emulation.rst
    A docs/system/devices/vfio-user.rst

  Log Message:
  -----------
  docs: add vfio-user documentation

Add some basic documentation on vfio-user usage.

Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-19-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: da198e8f0f99cd8539f3072ad2071f9dc01680d6
      
https://github.com/qemu/qemu/commit/da198e8f0f99cd8539f3072ad2071f9dc01680d6
  Author: Thanos Makatos <thanos.maka...@nutanix.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M MAINTAINERS
    M docs/interop/index.rst
    A docs/interop/vfio-user.rst

  Log Message:
  -----------
  vfio-user: introduce vfio-user protocol specification

This patch introduces the vfio-user protocol specification (formerly
known as VFIO-over-socket), which is designed to allow devices to be
emulated outside QEMU, in a separate process. vfio-user reuses the
existing VFIO defines, structs and concepts.

It has been earlier discussed as an RFC in:
"RFC: use VFIO over a UNIX domain socket to implement device offloading"

Signed-off-by: Thanos Makatos <thanos.maka...@nutanix.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250625193012.2316242-20-john.le...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>


  Commit: 1721fe75df1cbabf2665a2b76a6e7b5bc0fc036b
      
https://github.com/qemu/qemu/commit/1721fe75df1cbabf2665a2b76a6e7b5bc0fc036b
  Author: Stefan Hajnoczi <stefa...@redhat.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M COPYING
    M COPYING.LIB
    M MAINTAINERS
    M contrib/elf2dmp/pdb.c
    M hw/net/vmxnet3.h
    M hw/s390x/ccw-device.c
    M hw/s390x/event-facility.c
    M hw/s390x/meson.build
    M hw/s390x/s390-virtio-ccw.c
    A hw/s390x/sclpcpi.c
    M hw/scsi/vmw_pvscsi.h
    M include/hw/i2c/aspeed_i2c.h
    M include/hw/pci/pci_bridge.h
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/s390-virtio-ccw.h
    M include/hw/timer/aspeed_timer.h
    M include/libdecnumber/dconfig.h
    M include/libdecnumber/decContext.h
    M include/libdecnumber/decDPD.h
    M include/libdecnumber/decNumber.h
    M include/libdecnumber/decNumberLocal.h
    M include/libdecnumber/dpd/decimal128.h
    M include/libdecnumber/dpd/decimal128Local.h
    M include/libdecnumber/dpd/decimal32.h
    M include/libdecnumber/dpd/decimal64.h
    M include/qemu/rcu.h
    M include/qemu/rcu_queue.h
    M libdecnumber/decContext.c
    M libdecnumber/decNumber.c
    M libdecnumber/dpd/decimal128.c
    M libdecnumber/dpd/decimal32.c
    M libdecnumber/dpd/decimal64.c
    M scripts/device-crash-test
    M target/i386/emulate/x86_emu.c
    M target/i386/emulate/x86_flags.c
    M target/i386/emulate/x86_flags.h
    M target/xtensa/core-dc232b/gdb-config.c.inc
    M target/xtensa/core-dc232b/xtensa-modules.c.inc
    M target/xtensa/core-fsf/xtensa-modules.c.inc
    M tests/functional/test_pc_cpu_hotplug_props.py
    M tests/vm/openbsd
    M util/rcu.c

  Log Message:
  -----------
  Merge tag 'pull-request-2025-06-26' of https://gitlab.com/thuth/qemu into 
staging

* Implement the "Control Program Identification" feature on s390x
* Fix memory leak in loadparm setter on s390x
* Update OpenBSD image to 7.7
* Replace the invalid address of the Free Software Foundation
* Some updates to the MAINTAINERS file

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmhc3vURHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbWqfg/+KKMEWjE0PLwVNnHRsoQhtbaJNIfHvejo
# pchQLCIhMsakBUX/00xFNnKfxIMOMY06tMvRkg6/lYjEFs1JWSxZZF1DhElgYNDJ
# hOCYV94bW2Xd/xe3QXfJAlf1f2lvAocBe8F1fh7N6mTD0YExXlusvm5ROfEUChlO
# Qt+CkYlKwy2ag8j1tXdfEy9I8Hs71I3DYFUFKLf8Dq7mbsygST2nn40fNAWT8i/H
# u7K7Fna3ybtsz9tkb8HpkGYraIxU7TI9NE+5hd9U5sniduvTNt+9573V29lOOe3o
# ym164pzsVuks2m2jDRdWmBXjk5/aheU7SUTGJgY9uRapBBulDK+bJb02dRfrMNB7
# mYt/bbXkidLQ5e/N4K8xqHjS6rx4cm5T2porf8HzMmPbLzo6TsXWWdGip2qBWd78
# XIXdXeu7AZzKDfbeL58RCuiMJzQOlPquN7OgFERZ3DSvd+gLoRoSrowH7YHdjJl3
# N9ymL7QUgsqfWySwv/0gtbwXsjjev0z7XyJIjG80o1CQhV25hoo78mKm2Q1pBz+k
# aoWKkAlzrLPyjCezA6sWUNxh7DJ9UtN30z4B51sr95PxcLYjJAqOe0ZD+4FZySgH
# 0g0rLs7uZ1hw/LTr/sAQZUfniEiTf8MDXcNNUKd+oeYHAHXat25jWKXu+NObs6rn
# vow7/0ZzV6I=
# =nm/1
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 26 Jun 2025 01:47:33 EDT
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "th...@redhat.com"
# gpg: Good signature from "Thomas Huth <th.h...@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <th...@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <h...@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.h...@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* tag 'pull-request-2025-06-26' of https://gitlab.com/thuth/qemu:
  target/i386/emulate: replace FSF postal address with licenses URL
  target/xtensa: replace FSF postal address with licenses URL
  contrib: replace FSF postal address with licenses URL
  scripts: replace FSF postal address with licenses URL
  hw: replace FSF postal address with licenses URL
  util/rcu.c: replace FSF postal address with licenses URL
  include/qemu: replace FSF postal address with licenses URL
  include/hw: replace FSF postal address with licenses URL
  include/libdecnumber: replace FSF postal address with licenses URL
  libdecnumber: replace FSF postal address with licenses URL
  COPYING: replace FSF postal address with licenses URL
  tests/vm: update openbsd image to 7.7
  hw/s390x/ccw-device: Fix memory leak in loadparm setter
  MAINTAINERS: add reviewers for some s390 areas
  hw/s390x: support migration of CPI data
  hw/s390x: add Control-Program Identification to QOM
  hw/s390x: add SCLP event type CPI
  MAINTAINERS: Yoshinori Sato email address has been updated
  tests/functional/test_pc_cpu_hotplug_props: Set 'pc' machine type explicitly

Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>


  Commit: aec6836c73403cffa56b9a4c5556451ee16071fe
      
https://github.com/qemu/qemu/commit/aec6836c73403cffa56b9a4c5556451ee16071fe
  Author: Stefan Hajnoczi <stefa...@redhat.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M MAINTAINERS
    M docs/interop/index.rst
    A docs/interop/vfio-user.rst
    M docs/system/device-emulation.rst
    A docs/system/devices/vfio-user.rst
    M hw/Kconfig
    M hw/meson.build
    A hw/vfio-user/Kconfig
    A hw/vfio-user/container.c
    A hw/vfio-user/container.h
    A hw/vfio-user/device.c
    A hw/vfio-user/device.h
    A hw/vfio-user/meson.build
    A hw/vfio-user/pci.c
    A hw/vfio-user/protocol.h
    A hw/vfio-user/proxy.c
    A hw/vfio-user/proxy.h
    A hw/vfio-user/trace-events
    A hw/vfio-user/trace.h
    M hw/vfio/Kconfig
    M hw/vfio/ap.c
    M hw/vfio/container.c
    M hw/vfio/device.c
    M hw/vfio/meson.build
    M hw/vfio/pci.h
    M hw/vfio/region.c
    M hw/vfio/trace-events
    M hw/vfio/trace.h
    M include/hw/vfio/vfio-container-base.h
    M include/hw/vfio/vfio-device.h
    M meson.build

  Log Message:
  -----------
  Merge tag 'pull-vfio-20250626' of https://github.com/legoater/qemu into 
staging

vfio queue:

* Added several small fixes and cleanups
* Added support for vfio-user client device

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmhc+mwACgkQUaNDx8/7
# 7KHQShAAwGTjc6yzBaFr9DTKaL6Vszwby5tYdV3vWTsnFj2zBks+5BswohxbnYdk
# Smy5E/F+yCiHI6X4ohI4FRjJgBJplDxZ6bbEgTwZa6ADs7xWAwFWv349KQY9uLpJ
# XV/ACot2b6FZUskv3w1SxQrpzho4ICm3DuLOdAFAvBPRtxyC2aQMLsXTlT+7+5cC
# X8zJB/9mtjWIomYWKRXnYUP/uM1g7QLtyU7d01szvqCfSVUilVlg6Ys7RxnqLG0k
# A1/kxYOrEPHHxMO+YwFuapIfE8Gqihes2K1GfM871JaBT14dMIAZkajmVasbKD16
# Iljz89nEV3UehDP9HADhx3QuXO7fhJ3cxcHvTH0xhUeoks3EgTlUq0VNRRYzu6rQ
# 3P1E3cVaPTmwfoSrhecNIFcln4v/bENdwzYcjh96r9fcFwE+ro4oUTGNKCPYv2t0
# yOoc6PqgiZN7DM89/N2hcesgOun7oOVpMnKhiqHjVe53HoM8bfLojWECKNq9Cz1u
# m0YEHn2gEuEB5l03IguRnAywZq76Jivd6WFmAeXGrHRZ9sfxQCwvImbqMa7QxYpI
# rt+j7RAyP57WVoBPoW8hlaIQmLuIvIgdWwWkwQd2BTIprLpdHJd4SWkL6eqGozpE
# rsaHw+WQZqFoddrl7EUSVY/Z2CfIRr1g/Zo5z4RU9YLtxVxjSPw=
# =sX2P
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 26 Jun 2025 03:44:44 EDT
# gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <c...@redhat.com>" [full]
# gpg:                 aka "Cédric Le Goater <c...@kaod.org>" [full]
# Primary key fingerprint: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1

* tag 'pull-vfio-20250626' of https://github.com/legoater/qemu: (25 commits)
  vfio-user: introduce vfio-user protocol specification
  docs: add vfio-user documentation
  vfio-user: add coalesced posted writes
  vfio-user: support posted writes
  vfio-user: add 'x-msg-timeout' option
  vfio-user: implement VFIO_USER_DMA_READ/WRITE
  vfio-user: implement VFIO_USER_DMA_MAP/UNMAP
  vfio-user: implement VFIO_USER_DEVICE_RESET
  vfio-user: set up container access to the proxy
  vfio-user: forward MSI-X PBA BAR accesses to server
  vfio-user: implement VFIO_USER_DEVICE_GET/SET_IRQ*
  vfio-user: set up PCI in vfio_user_pci_realize()
  vfio-user: implement VFIO_USER_REGION_READ/WRITE
  vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO
  vfio-user: implement VFIO_USER_DEVICE_GET_INFO
  vfio-user: implement message send infrastructure
  vfio-user: implement message receive infrastructure
  vfio-user: connect vfio proxy to remote server
  vfio-user: add vfio-user class and container
  vfio/container: fails mdev hotplug if add migration blocker failed
  ...

Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>


Compare: https://github.com/qemu/qemu/compare/f9a3def17b2a...aec6836c7340

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to