Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF7BDC88E50 for ; Fri, 11 Sep 2026 09:02:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x4x8e-0001cM-KD; Fri, 11 Sep 2026 05:01:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x4x8R-0001Wi-4U for qemu-devel@nongnu.org; Fri, 11 Sep 2026 05:01:27 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x4x8N-000809-O0 for qemu-devel@nongnu.org; Fri, 11 Sep 2026 05:01:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1789117283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qT9rlxTvkT/Rgo+MvvwWszb/gLXa5vLEAkSa6Dhtkao=; b=IpwsFSFtgRLmfs+xNT1SwiZjjsvmRmXTSB8xVVCBa6M9XnjWZHfak9muTqcvWrZBWSnljk R+I/VrOTqdNnoX3n3q8OLYPGyyboSkCGSmbTK2d1d4xuQCzRwqur0Y5BHdJyCIKkF5D+Qf hfSUsIKA0imFochyFPkg7+xOcBqYGbI= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-279-BW38dgSZPtimjWLBpEMvEg-1; Fri, 11 Sep 2026 05:01:21 -0400 X-MC-Unique: BW38dgSZPtimjWLBpEMvEg-1 X-Mimecast-MFC-AGG-ID: BW38dgSZPtimjWLBpEMvEg_1789117280 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-49564d4b849so2083615e9.3 for ; Fri, 11 Sep 2026 02:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1789117280; x=1789722080; darn=nongnu.org; h=content-transfer-encoding:content-disposition:content-type :mime-version:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=qT9rlxTvkT/Rgo+MvvwWszb/gLXa5vLEAkSa6Dhtkao=; b=jc+KAG7CVjIiI2HMBJB3YQLWCY863ubUqhRzGE0aLqQuOy4a4LIrfN9QCGh/cntEQp B57fV1gsDe3eJukpaRm2GQiyR77d7Wn41ts+FExLItEUcB6pGDo+qj1u36OlbPXjditg A+5Kl4wxIx1hdv7Qi52vzwxivnpfOcFs9VZoIs6sFbZhR0sj+/Q7xVN8sQpfbH/kTUF8 o2C2gUjtqqdcllGdUuBHcMFOOxSv0eCUSyjBAGRueVl5l95pxlaW7PdDgd9M0eT5AEFu ELLgaVZG+wLeSD3O0175aYtPYasWf5HyYbQpE+gX5CH3vKOTwADfcjEgxXzPe9K/GZHm qICA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789117280; x=1789722080; h=content-transfer-encoding:content-disposition:content-type :mime-version:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qT9rlxTvkT/Rgo+MvvwWszb/gLXa5vLEAkSa6Dhtkao=; b=EBzqkAuiDHZnEZ/JHyD+NMW6PbDECHeuYpV2j2nUoG0HqcrJv6SjP42fLtFmyLpl/A R4J8rnaU9xh09TL3UZTE7BCby+QXaR57G167ABB6W3jaHMd9z6KLebVzAxvC1/Il527r A4BWho8ZLL7VpmvxOn731Yko/tmv6uG+aXO9uOXwP5kqMixV581/9zU6N521ddBGoEmm KmrVw4GTHX0sPmFm1TkkVOjYXomQmDUfpwhOK0uhucW1ShVSPtMQ+AWUHPRDPHNxgm8Q 8rljDzrnAu0JncAs89e0L+HJqvftHWlH1Ct6rujEflw/DZr/qs1S16cgYy0zyztbrNM7 fY7w== X-Gm-Message-State: AFuF++m28i2Jupk+OaVzBxP8wW9KVh5VW1I34yKnoPlg7SbBZ8LCDhCf xrh0/cBr8XJmKlWAO+IbZkNCecO73/ZCU1fhxMoDJ+qLgNnDhVUe6DyfluvysUQ4s+gx2lDfATE PxugabNtS0s4dbMrIrHM89w/jstqx/0BafTp0Ul/OBdhnGaKP0LIPQfsrQWNmp6y/1X+twbp8wB zUZM/Za1fU6JIez0WoyW0pOSZmhBbZPkZP8g== X-Gm-Gg: AYBFou0wLQy1UGvdBnmUiQB5e9Qrlouzv0Nf/Q9ze2/aNw9koGf5bfsnZKpjl/CqQFn VJYn64Kxhpz4UuT2NR4pYwaRY7+qjM/zLPiBInTOixkKhm6Q0l3lMJe7JnOcx7fr5ZyuW2HvtGB aBOCJs8d7D7lLHP4eETmQTcDuxuy1rMI3WQsm7MXrL6QW1artXnZUVOSd2QA/tDMyjVMq4zmwN4 jyg0ihic4HNaUO0tsrygknfL6OkRliRPawa3lfoxegW0cdjP3+cjZ6sqi6fleqVLfYRe7zq+/cT hLSmNBWuCS6mbG+UfpYlwnsmVbX5bjqCw45kpwwSqoZDLV3AGLjLkz5Pmd2TawqMPJhRK+wQnJR /TLkGmzJF4nZ33z+gdIg5dx4= X-Received: by 2002:a05:600c:4293:b0:49d:e79:612f with SMTP id 5b1f17b1804b1-49e619cc5ebmr20740955e9.26.1789117278389; Fri, 11 Sep 2026 02:01:18 -0700 (PDT) X-Received: by 2002:a05:600c:4293:b0:49d:e79:612f with SMTP id 5b1f17b1804b1-49e619cc5ebmr20740265e9.26.1789117277467; Fri, 11 Sep 2026 02:01:17 -0700 (PDT) Received: from redhat.com (IGLD-80-230-79-236.inter.net.il. [80.230.79.236]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49d26c1bfb5sm148987295e9.5.2026.09.11.02.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 02:01:16 -0700 (PDT) Date: Fri, 11 Sep 2026 05:01:14 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v2 00/75] pci, vhost, virtio, iommu, apci: features, fixes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: git-send-email 2.51.2.2891.g4157995a80.dirty X-Mutt-Fcc: =sent Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org The following changes since commit 1df256f5968e9f7c3c4533a1383b071c044a36d6: Merge tag 'qom-qapi-pr-pr-v1' of https://gitlab.com/marcandre.lureau/qemu into staging (2026-09-08 18:35:31 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to 2f8991c0b9c400f55897849a538580039b61865a: MAINTAINERS: add Junjie Cao as CXL reviewer (2026-09-11 04:59:15 -0400) ---------------------------------------------------------------- pci, vhost, virtio, iommu, apci: features, fixes new vhost-user-media device virtio-net now supports live-TAP local migration cxl now supports CFMW restrictions and per-window options intel_iommu now supports concurrent page fault handling with PRI pci now batches memory transactions around mapping updates vhost-user-blk now allows toggling inflight-migration at runtime virtio-rtc now supports smeared UTC clock type intel_iommu now exposes SMPWC when SVM is enabled new reviewer for CXL patches Fixes, cleanups all over the place Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Albert Esteve (4): linux-headers: add VIRTIO_ID_MEDIA hw/display: add vhost-user-media device hw/display/vhost-user-media: add shared memory region BAR linux-headers: Update to Linux v7.3-rc1 Alexandr Moshkov (6): vhost-user: add skip_drain param to do_vhost_virtqueue_stop vhost-user: add GET_VRING_BASE_SKIP_DRAIN message vhost-user: use skip_drain with GET_VRING_BASE_SKIP_DRAIN message vhost-user-blk: make inflight-migration prop mutable on running vm vhost-user-blk: move inflight_needed higher vhost-user-blk: use GET_VRING_BASE_SKIP_DRAIN when inflight-migration is on Alyssa Ross (1): vhost-user.rst: fix typo Bin Guo (2): libvhost-user: accept the postcopy client base ack in vu_add_mem_reg() libvhost-user: return the backend mapping address for added regions Clément MATHIEU--DRIF (4): intel_iommu: Support concurrent page fault handling with PRI intel_iommu: Only set dirty bit when PTE exposes write permission intel_iommu: Always write all the flags passed to vtd_set_flag_in_pte intel_iommu: Expose SMPWC when SVM is enabled Davidlohr Bueso (5): tests/bios-tables-test: Exclude CEDT.cxl for the CFMW restriction change hw/cxl: Drop Back-Invalidate from default CFMW window restrictions tests/acpi/cxl: Update CEDT.cxl for the default CFMW restrictions hw/cxl: Add configurable CXL Fixed Memory Window restriction flags tests/qtest/cxl: Add CXL Fixed Memory Window restriction flag tests Denis V. Lunev (2): pci: batch BAR remapping into one memory transaction pci: load a device's config inside one memory transaction GuoHan Zhao (1): virtio-crypto: clean up every data queue Hanna Czenczek (6): hw/virtio-blk: Account discard operations hw/virtio-blk: Complete zone-append cookies hw/nvme: Fix block accounting in nvme_copy() hw/nvme: Fix block accounting for compare hw/ide: Have ide_dma_cb() complete accounting hw/scsi-disk: Fix accounting for IGNORE, ret > 0 Jia Jia (2): virtio: reduce code duplication for split ring hw/virtio: reject inverted virtio-iommu IOVA ranges Junjie Cao (3): hw/cxl: Fix guest-triggerable QEMU exit on reserved interleave ways hw/cxl: fix the CDAT DOE overlapping the Flex Bus DVSEC when sn= is set MAINTAINERS: add Junjie Cao as CXL reviewer Kuan-Wei Chiu (1): virtio-rtc: Report smeared UTC clock type Laurent Vivier (2): hw/net/virtio-net: check packet size before VLAN tag access in receive_filter() hw/net/virtio-net: strip trailing padding when caching RSC segment Michael S. Tsirkin (7): virtio: fix exit(1) on DMA mapping failure during migration restore virtio: fix config_len DoS in migration restore path virtio-pci: reject Q_ENABLE write on already-enabled queue meson: disable "maybe uninitilized" errors with -Og virtio-balloon: fix free-page BH teardown on unrealize net/tap-solaris: Fix resource leaks on error paths virtio-net: validate IHL in virtio_net_rsc_extract_unit4 before use Philippe Mathieu-Daudé (4): hw/acpi: Make AcpiGedState const in build_ged_aml() hw/hotplug: Mark various HotplugHandlerClass variables as const hw/hotplug: Reduce some HotplugHandler variables scope hw/hotplug: Constify HotplugHandler Sairaj Kodilkar (7): amd_iommu: Return empty efr for stub call tests/acpi: x86: Allow IVRS acpi table changes amd_iommu: acpi-build: update PA, GVA and VA size macros acpi_build: Use IOMMU pci device to build IOMMU DeviceID acpi_build: Build IVRS feature report using extended feature register amd_iommu: acpi-build: Remove unsupported PPR and HE feature tests/acpi: x86: update golden masters for IVRS Stefan Hajnoczi (1): virtio-scsi: set dataplane_started to false upon failure Vladimir Sementsov-Ogievskiy (16): net/tap: rework tap_parse_script net/tap: improve script/downscript options documentation net/tap: deprecate "no" as special value for script/downscript net/tap: move vhost-net open() calls to tap_parse_vhost_fds() net/tap: move vhost initialization to tap_setup_vhost() net/tap: use container_of instead of DO_UPCAST net/tap: QOMify tap backend net/tap: add TYPE_VMSTATE_IF interface qapi: add local migration parameter migration/fd: fix fd leak when fd is not valid for migration migration/fd: add errp parameter to migration_fd_valid() migration: check that transfer is UNIX socket when "local" set virtio-net: support local migration of backend net/tap: disable read polling for stopped VM net/tap: support local migration with virtio-net tests/functional: add test_tap_migration Xiong Weimin (1): hw/virtio: Propagate vhost_virtqueue_mask errors MAINTAINERS | 7 + docs/about/deprecated.rst | 18 + docs/interop/vhost-user.rst | 44 ++- docs/system/devices/cxl.rst | 25 +- docs/system/i386/microvm.rst | 4 +- docs/system/i386/xenpvh.rst | 2 +- docs/system/ppc/ppce500.rst | 4 +- docs/system/riscv/microchip-icicle-kit.rst | 2 +- docs/system/riscv/sifive_u.rst | 2 +- meson.build | 4 + qapi/machine.json | 28 ++ qapi/migration.json | 21 +- qapi/net.json | 45 ++- hw/i386/amd_iommu.h | 27 +- hw/i386/intel_iommu_internal.h | 1 + hw/s390x/ccw-device.h | 2 +- include/hw/acpi/cpu.h | 4 +- include/hw/acpi/cpu_hotplug.h | 2 +- include/hw/acpi/generic_event_device.h | 3 +- include/hw/acpi/ich9.h | 10 +- include/hw/acpi/memory_hotplug.h | 4 +- include/hw/acpi/pcihp.h | 8 +- include/hw/core/boards.h | 4 +- include/hw/core/hotplug.h | 13 +- include/hw/core/qdev.h | 14 +- include/hw/cxl/cxl.h | 12 + include/hw/i386/microvm.h | 4 +- include/hw/i386/x86.h | 10 +- include/hw/mem/nvdimm.h | 2 +- include/hw/pci/pci_bridge.h | 6 +- include/hw/pci/pcie.h | 8 +- include/hw/pci/shpc.h | 6 +- include/hw/ppc/spapr_nvdimm.h | 2 +- include/hw/virtio/vhost-backend.h | 1 + include/hw/virtio/vhost-user-media.h | 46 +++ include/hw/virtio/vhost-user.h | 2 +- include/hw/virtio/vhost.h | 16 +- include/hw/virtio/virtio-balloon.h | 1 + include/hw/virtio/virtio-net.h | 1 + include/hw/virtio/virtio.h | 2 +- include/migration/misc.h | 2 + include/migration/vmstate.h | 2 + include/net/net.h | 9 + include/net/tap.h | 2 + include/standard-headers/linux/ethtool.h | 6 + include/standard-headers/linux/virtio_ids.h | 1 + linux-headers/linux/iommufd.h | 45 ++- linux-headers/linux/userfaultfd.h | 54 ++- linux-headers/linux/vduse.h | 28 ++ linux-headers/linux/vfio.h | 21 ++ linux-headers/linux/vfio_zdev.h | 2 + backends/cryptodev-vhost.c | 2 +- backends/vhost-user.c | 2 +- hw/acpi/acpi-cpu-hotplug-stub.c | 4 +- hw/acpi/acpi-mem-hotplug-stub.c | 4 +- hw/acpi/acpi-nvdimm-stub.c | 2 +- hw/acpi/acpi-pci-hotplug-stub.c | 8 +- hw/acpi/cpu.c | 6 +- hw/acpi/cxl.c | 2 +- hw/acpi/generic_event_device.c | 13 +- hw/acpi/ich9.c | 10 +- hw/acpi/memory_hotplug.c | 7 +- hw/acpi/nvdimm.c | 2 +- hw/acpi/pcihp.c | 11 +- hw/acpi/piix4.c | 12 +- hw/arm/virt.c | 23 +- hw/block/vhost-user-blk.c | 60 +++- hw/block/virtio-blk.c | 38 ++- hw/char/virtio-serial-bus.c | 6 +- hw/core/hotplug.c | 16 +- hw/core/qdev-hotplug.c | 10 +- hw/core/qdev.c | 2 +- hw/cxl/cxl-host.c | 48 ++- hw/display/vhost-user-media-pci.c | 115 +++++++ hw/display/vhost-user-media.c | 388 ++++++++++++++++++++++ hw/i386/acpi-build.c | 65 ++-- hw/i386/amd_iommu-stub.c | 2 +- hw/i386/amd_iommu.c | 2 +- hw/i386/intel_iommu.c | 118 ++++--- hw/i386/intel_iommu_accel.c | 6 + hw/i386/microvm.c | 12 +- hw/i386/pc.c | 28 +- hw/i386/x86-common.c | 8 +- hw/ide/core.c | 3 +- hw/intc/loongarch_dintc.c | 8 +- hw/intc/loongarch_extioi_common.c | 4 +- hw/intc/loongarch_ipi.c | 4 +- hw/loongarch/virt.c | 44 +-- hw/mem/cxl_type3.c | 6 +- hw/net/vhost_net.c | 9 +- hw/net/virtio-net.c | 131 +++++++- hw/nvme/ctrl.c | 78 +++-- hw/pci-bridge/pci_bridge_dev.c | 6 +- hw/pci/pci.c | 8 + hw/pci/pcie.c | 10 +- hw/pci/pcie_port.c | 2 +- hw/pci/shpc.c | 11 +- hw/ppc/e500plat.c | 4 +- hw/ppc/spapr.c | 48 +-- hw/ppc/spapr_nvdimm.c | 2 +- hw/ppc/spapr_pci.c | 12 +- hw/remote/machine.c | 2 +- hw/riscv/virt.c | 6 +- hw/s390x/css-bridge.c | 2 +- hw/s390x/s390-pci-bus.c | 12 +- hw/s390x/s390-virtio-ccw.c | 16 +- hw/s390x/virtio-ccw-md.c | 10 +- hw/s390x/virtio-ccw.c | 2 +- hw/scsi/scsi-disk.c | 7 + hw/scsi/vhost-scsi-common.c | 2 +- hw/scsi/virtio-scsi-dataplane.c | 2 +- hw/scsi/virtio-scsi.c | 10 +- hw/scsi/vmw_pvscsi.c | 4 +- hw/virtio/vdpa-dev.c | 2 +- hw/virtio/vhost-user-base.c | 2 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-scmi.c | 2 +- hw/virtio/vhost-user.c | 47 ++- hw/virtio/vhost-vsock-common.c | 2 +- hw/virtio/vhost.c | 44 ++- hw/virtio/virtio-balloon.c | 19 +- hw/virtio/virtio-crypto.c | 5 +- hw/virtio/virtio-iommu.c | 17 +- hw/virtio/virtio-md-pci.c | 10 +- hw/virtio/virtio-pci.c | 7 + hw/virtio/virtio-rtc.c | 3 +- hw/virtio/virtio.c | 85 ++--- hw/xen/xen-bus.c | 2 +- migration/fd.c | 28 +- migration/migration.c | 13 + migration/options.c | 18 +- net/net.c | 14 +- net/tap-solaris.c | 69 ++-- net/tap.c | 448 ++++++++++++++++++++----- stubs/hotplug-stubs.c | 6 +- subprojects/libvhost-user/libvhost-user.c | 34 +- system/qdev-monitor.c | 4 +- tests/qtest/cxl-test.c | 95 ++++++ hw/display/Kconfig | 5 + hw/display/meson.build | 3 + qemu-options.hx | 13 +- tests/data/acpi/x86/q35/CEDT.cxl | Bin 184 -> 184 bytes tests/data/acpi/x86/q35/IVRS.ivrs | Bin 176 -> 176 bytes tests/functional/x86_64/meson.build | 1 + tests/functional/x86_64/test_tap_migration.py | 461 ++++++++++++++++++++++++++ 145 files changed, 2884 insertions(+), 663 deletions(-) create mode 100644 include/hw/virtio/vhost-user-media.h create mode 100644 hw/display/vhost-user-media-pci.c create mode 100644 hw/display/vhost-user-media.c create mode 100755 tests/functional/x86_64/test_tap_migration.py