Currently when using KVM on Arm, the normal thing is to use either
the 'host' or 'max' CPU types, both of which give the guest the same
CPU as the host. We also for legacy reasons allow 'cortex-a53' and
'cortex-a57' CPU types, which will only work when the host CPU is
exactly that matching CPU. This is because the original idea of the
KVM ABI was that userspace would request a particular CPU type by
setting the target field in the KVM_ARM_VCPU_INIT ioctl to an
appropriate KVM_ARM_TARGET_* constant. However, it quickly became
clear that this was a bad idea, and now everything uses
KVM_ARM_TARGET_GENERIC_V8; the tiny number of existing CPU-specific
target values behave identically to GENERIC_V8 except that they will
only work if the host CPU matches them.
Future support for "show the KVM guest a CPU type that's not
identical to the host" is going to work by telling it different ID
register values. Real Cortex-A53 and A57 CPUs are now all over a
decade old and not in widespread use. Deprecate the ability to use
'-cpu cortex-a53' and '-cpu cortex-a57' with KVM, to get rid of this
odd legacy corner and open up the opportunity in future to support
named CPU types via ID register settings if we want that.
For any situation where the cortex-a53 and cortex-a57 CPU types
currently work with KVM, '-cpu host' or '-cpu max' will have
identical behaviour. (Though note that if you are using "KVM, but
fall back to TCG" then the fallback under TCG will be different.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Khushit Shah <khushit.shah@nutanix.com>
Message-id: 20261013105147.1070641-1-peter.maydell@linaro.org
NBD patches through 2026-10-08
Several fixes, including:
- Eric Blake: Update MAINTAINERS, support qemu-nbd -s -l
- Fiona Ebner: Report flush error on qemu-img convert
- Denis V. Lunev: Fix postcopy dirty bitmap migration
- Eric Farman: Several iotest improvements
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAmrSQYoACgkQp6FrSiUn
# Q2qilAf/eEx7WDxnMW9/xNQ0xwFCJFfcwF7alPfORNS/tTQk+a1CpvvXVXqWNGc1
# JIBQQtCbBteGh6QOlHE1uedZpeURgWluaOa3ZOmjWoB8xCo9iIz66lvMmV4+OaJM
# iTn1ExR/rFGFoNu73S5+Zbusc3znWrClZmYIw1XPfM3pgol8HIz68q284oqkkMQ+
# ddo1GnWbsZKd1e+90A0mZTFrqFEcUZiVaUbY+NCxo/OYFUwNGSxg/+QMIASJbv6H
# zDUrs1+oC1d0qiaM8Rg6/V4dgfSsgxd4t0k+h5r1mJIQT9spevz6/2R44bAinPso
# Mirbenl/KVOk30lvNAiQRRta8KsTVQ==
# =iDnD
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 16 Oct 2026 05:23:54 PM CEST
# gpg: using RSA key 71C2CC22B1C4602927D2F3AAA7A16B4A2527436A
# gpg: Good signature from "Eric Blake <eblake@redhat.com>" [unknown]
# gpg: aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>" [unknown]
# gpg: aka "[jpeg image of size 6874]" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2 F3AA A7A1 6B4A 2527 436A
* tag 'pull-nbd-2026-10-08-v4' of https://gitlab.com/ebblake/qemu:
iotests/iothreads-nbd-export: Skip on s390
iotests/fuse-truncate: skip if FUSE is not usable
iotests/nbd-tls-iothread: skip on non-x86 hardware
iotests/nbd-in-qcow2-chain: use default machine
iotests/migrate-bitmaps-postcopy-test: add a bitmap on a second node
migration/block-dirty-bitmap: fix postcopy abort with bitmaps on several nodes
migration: add QEMU_COUNTED_STRING_SIZE for counted string buffers
qemu-img: convert: flush target image after copying
block: report flush error during bdrv_close()
iotests.py: add filter_qemu()
iotests: add test cases for failing flush after qemu-img convert
qemu-nbd: Support -s and -l at the same time
maint: Update eblake's staging repo
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
qemu-nbd already has the ability to wrap a read-write layer on top of
the export of a read-only image (-s) and the ability to export an
internal snapshot rather than the main image in a qcow2 file (-l
SNAPID). But it gave a confusing error message when trying to mix the
two, because the snapshot overlay created first no longer has access
to the internal snapshots of the image being wrapped.
WIth a bit of finesse, this useful scenario is now supported.
https://gitlab.com/qemu-project/qemu/-/work_items/159
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20260408021636.794794-2-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[eblake: improve test with Vladimir's suggestions, add lock to satisfy TSAN]
Signed-off-by: Eric Blake <eblake@redhat.com>
Add documentation for the Milk-V Duo board. This includes a brief
overview of the hardware, a list of supported devices, and practical
instructions on how to boot the machine using OpenSBI and a Linux
kernel with an emulated SD card.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20260927201326.650943-8-visitorckw@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
vfio queue:
* Fix UBSAN shift error in MTRR mask computation on AMD EPYC with 52
physical address bits
* Add Fixes: tag validation to checkpatch
* Reject virtio-net failover during vfio-user init
* Sanitize DBUF_CTL POWER_STATE for iGPU passthrough, fixing display
corruption on first boot
* Thread vf-token through iommufd bind
* Make MTL/ARL guests fall back to BAR-based framebuffer access in
passthrough
* Update igd-assign.txt for Intel MTL and newer platforms
* Don't reset a VFIO device on a declined stop transition
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmrQxQgACgkQUaNDx8/7
# 7KGBoRAAkw8H1c8M96KCKdNlLVMqZ9BSD2l7TarXEHcJe0duRcmjmE6EnFUd7VS6
# vNETGOWU1UbHHoEBi76cxySMzAbiQqHlarqY5DdFkGhSKhlX9p76qmMJJ93+QeaI
# Qgq7vA6MmQmNY0JCg2u27aauh9Zp9Y0oPhjEPJOn3Uq5YNH/yrNkcAGjcLzyK2XW
# +YZ9rP9f4OvNAPaWXclf1W+nY/UrI/p3W9YjOP9eG3356kVAOFMps4jeqsDNN2Q2
# ie6LWrqtB2SX/QxBNU/I8stQ38nwz6XI6RmI6jDggGao3DqVDi5y6jSZpxufb+lQ
# RTDQiHCheVoM8haD7CLtpVMZ5Vsx6awvbsdzknIR+b+XYQcTdlVtHmQIuE5KJe40
# 1OfJaB3eL/Dxxe//LyEVoTIrrZFUN45uHlKSyUM5WeKWeoloHLVZyJ0VK5QNO50+
# u6OutN4oepG8s+Kt3G8wU+Rq8r0q6UpRVhDaEe0xbQkxekVE++9ZvF1syt+7qLys
# qpOC3jNGiBI1d9UhK193EKnLJ7UBO7iI13o/1UpbSe2o4bDWKIJ7dpLoQkmrqGYr
# FNf5r69H3s4xZfiSsYqU/xt3zKDt/jZm5aW1vsJxAtN18ZQq01+B6luzX51PzCYO
# gN884FnikvzTdBypywJYkvwqQMvJzvUiIpy1Qti6WckRBQ/sj78=
# =lQMR
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 15 Oct 2026 02:20:24 PM CEST
# gpg: using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <clg@redhat.com>" [full]
# gpg: aka "Cédric Le Goater <clg@kaod.org>" [full]
* tag 'pull-vfio-20261015' of https://github.com/legoater/qemu:
vfio/migration: Don't reset a device on a declined stop transition
vfio/igd: Update igd-assign.txt for Intel MTL and newer platforms
vfio/igd: Make MTL/ARL guests fall back to BAR-based framebuffer access
hw/vfio: thread vf-token through iommufd bind
vfio/igd: sanitize DBUF_CTL POWER_STATE for iGPU passthrough
vfio-user: reject failover during init
scripts/checkpatch: validate Fixes: tag format and commit ancestry
target/i386/kvm: Fix UBSAN shift error in MTRR mask computation
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Update the igd-assign.txt documentation to reflect the addition of
the 0006 patch in the ECI repository. This patch is required to
enable support for Meteor Lake (MTL) and subsequent Intel platforms.
Starting from MTL, the hardware-accessible BDSM (Base of Data Stolen
Memory) register in the PCI configuration space has been removed.
Instead, IGD devices now access stolen memory via MMIO BAR2 (LMEMBAR).
Consequently, guest firmware no longer needs to program the legacy
BDSM register.
Reviewed-by: Bosheng Xue <bosheng.xue@intel.com>
Signed-off-by: Yuan Wang <yuan1.wang@intel.com>
Link: https://lore.kernel.org/qemu-devel/20260928084226.3537126-1-yuan1.wang@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
* target/i386/tcg: zero FXSAVE FOP and reserved slot bytes
* target/i386: fix immediate stack adjustment for RET and RETF
* target/i386/tcg: remove unused operand types
* pr-manager-helper: fix sense buffer overflow
* scsi, pr-helper: clean up multipathd PR state after migration
# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmrQpX4UHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroMKHgf/cSvNqED1GVOMHMCnaERq1xwJ8Q7X
# fCvfUYylKiuy1UC/j4X3OX7QmzHQ9hNPLD/MI3t/0wK4VuwvZFjUK9RynEr8QvvY
# PHfRC0vwvz0RNZVQsz0Mun58QqFs8R1iIju5wyj92CdTcF0Bw+dopCBptDzxH3gR
# 2d9AdOlg5StxpFqtkyDNLCrmc7UiNq5sMCR40L2U5RalqoFfy2p2d1+qm+hUi7xa
# h3JnoCNxe92OvJ6RFECxlJAWkF/0fhkak2zmQ7puKzhLdcJmFEZsK+PGp8UgpcMO
# saAEELOfBY5WFBjug+3OMJEvnTcuA7Z06t7HH4GcfwTILIXa57RvsCpBJg==
# =BVJD
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 15 Oct 2026 12:05:50 PM CEST
# gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg: issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [unknown]
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83
* tag 'for-upstream' of https://gitlab.com/bonzini/qemu:
scsi: document PR_HELPER_CLEANUP command
scsi: use REGISTER AND IGNORE EXISTING KEY for robustness
scsi: clean up persistent reservation state after migration
file-posix: forward PR_HELPER_CLEANUP commands to pr-manager
pr-manager-helper: add PR_HELPER_CLEANUP command support
qemu-pr-helper: add PR_HELPER_CLEANUP for live migration
hw/scsi-disk: move MIG_EVENT_FAILED into a new function
scsi: increase sense buffer size in scsi_SG_IO()
pr-manager-helper: fix sense buffer overflow
target/i386/tcg: drop X86_TYPE_A
target/i386/tcg: remove unused X86_TYPE_L
target/i386: fix immediate stack adjustment for RET and RETF
target/i386/tcg: zero FXSAVE FOP and reserved slot bytes
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
The UFS host controller and logical unit devices have no user
documentation. Their properties and the way the two devices fit
together can only be found by reading hw/ufs/.
Add docs/system/devices/ufs.rst with an example command line, the
device properties, and current limitations, and list it under the UFS
entry in MAINTAINERS.
Signed-off-by: Stanley Jhu <stanleyjhu@google.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
New s390x features for 11.2
- enable boot via virtio-net-pci
- PCI and SCLP fixes
- hardening fixes throughout
- regenerate s390-ccw.img
# -----BEGIN PGP SIGNATURE-----
#
# iIsEABYKADMWIQQB3Dhbwk4ZE3uUN6KmTx4R4Fx3tAUCar0oEBUcZmFybWFuQGxp
# bnV4LmlibS5jb20ACgkQpk8eEeBcd7QO4gEA/LckW2Ay4OVtFtBbj6lOZjfCexJ8
# FVcvnE51+Ynt2mEBAI7iLfw/uJ9HtB7EzGLRapUbWLYLHaP5NIRiPlj0uaUO
# =oO3l
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 30 Sep 2026 04:17:36 PM BST
# gpg: using EDDSA key 01DC385BC24E19137B9437A2A64F1E11E05C77B4
# gpg: issuer "farman@linux.ibm.com"
# gpg: Good signature from "Eric Farman <farman@linux.ibm.com>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: D2C6 0504 C9E8 F568 CFE5 87B5 3827 B212 71BF 9562
# Subkey fingerprint: 01DC 385B C24E 1913 7B94 37A2 A64F 1E11 E05C 77B4
* tag 's390x-20260930' of https://gitlab.com/efarman/qemu: (23 commits)
pc-bios/s390-ccw.img: update s390x bios
s390x/pci: Reject apertures beyond IOAT capacity in translation mode
s390x/pci: Use qemu_log_mask() for guest-triggered errors in reg_ioat()
s390x/pci: Fix frame stepping in rpcit_service_call()
s390x/sclpconsole: fix indentation for console_reset
tests/functional/s390x: Add tests for virtio net PCI in test_pxelinux.py
tests/qtest: Add s390x virtio net PCI test to pxe-test.c
tests/qtest: Check s390x boot device support in pxe-test.c
hw/virtio: Add "loadparm" property to virtio net PCI devices booting on s390x
pc-bios/s390-ccw: Add support for virtio-net-pci IPL
pc-bios/s390-ccw: Introduce virtio_tswap helpers
pc-bios/s390-ccw: Add dynamic net header size handling
pc-bios/s390-ccw: Move CCW net setup to virtio-ccw
s390x: Expose pv attribute in QOM
s390x/sclp: Reject short headers in PV case
s390x/css: Use datastream pointer for checking no-data CCWs
hw/intc/s390x: Fix check after g_try_realloc
hw/intc/s390x: Fix payload to KVM_HAS_DEVICE_ATTR ioctl
vfio/ccw: Clear error object pointer after non-fatal errors
vfio/ap: Clear error object pointer after non-fatal errors
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Host backends supports guest-memfd now by detecting whether it's a
confidential VM. There's no way to choose it yet from the memory level to
use it fully shared. If we use guest-memfd, it so far always implies we
need two layers of memory backends, while the guest-memfd only provides the
private set of pages.
This patch introduces a way so that QEMU can consume guest memfd as the
only source of memory to back the object (aka, fully shared).
To use the fully shared guest-memfd, one can add a memfd object with:
-object memory-backend-memfd,x-guest-memfd=on,share=on
Note that share=on is required with fully shared guest_memfd.
Since guest-memfd is not yet a drop-in replacement for memfd (e.g. lack
of hugepage support), the option is tagged as experimental for now so
that it can be made available for early enablement/testing without
causing any surprises for other users.
PS: there's a trivial touch-up on fd<0 check, because the stub to create
guest-memfd may return negative but not -1.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: David Hildenbrand <david@kernel.org>
Co-developed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Link: https://lore.kernel.org/r/20260929235109.1398509-11-michael.roth@amd.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Since commit e274188612 ("migration: enable multifd and postcopy
together") in the 10.1 release, the multifd and postcopy-ram capabilities
are no longer mutually exclusive, but the postcopy documentation does not
mention multifd at all, leaving users unaware that the two features can be
combined.
Add a short section describing how they interact: multifd carries the
pages of the precopy phase, the channels are flushed and synced before the
switchover (because loading a page in a multifd receive thread is not
atomic with regard to a running vCPU), and the postcopy phase itself does
not use the multifd channels.
Signed-off-by: Bin Guo <guobin@linux.alibaba.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
The description of virtualization vs non-virtualization use
cases is a crude approximation of the security characteristics
of QEMU devices.
Document how QEMU can be probed to obtain information on the
security status of type classes, and how policies can be set
to inform or control their usage.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Touching dbus xml file wasn't enough to trigger a new build because
the file wasn't registered to the dependency system.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
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 <mst@redhat.com>
# -----BEGIN PGP SIGNATURE-----
#
# iQFDBAABCgAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmqkXRUPHG1zdEByZWRo
# YXQuY29tAAoJECgfDbjSjVRpoWsH/jeMRFjgYu5Es05ha87JW6NJW6j/Ggw3F8e5
# kup/SsoeqX+pK1VqXkKimWRf0iXsnweTqviVR88KMmMBP9UNdwgRBM7XflplYiOv
# UOsjZGZAKjOKnyjbQyNihYY4CfaJn2VYkxJBRxweS3/OEK4JV2wmFcWEjFuZEdJT
# SXpYXAPu0e8XTPVk/+bhi6kIYHhsuu1sWhcsoRDGdw5ZrGvwTwF8cS4SWaYHrWc1
# wjvC39P3Hg+Zvw6vDkPP2Amos2s6iheEgsPI0628YYvER+YV641YD48xEXqTG44e
# FGwCihJ97rYYGQEwL+1FL4ZLKcp7HwacqxkJYg+GHbKj1Iog9OQ=
# =9H6A
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 11 Sep 2026 09:57:09 AM HST
# gpg: using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
# gpg: issuer "mst@redhat.com"
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [unknown]
# gpg: aka "Michael S. Tsirkin <mst@redhat.com>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67
# Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469
* tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu: (74 commits)
MAINTAINERS: add Junjie Cao as CXL reviewer
vhost-user-blk: use GET_VRING_BASE_SKIP_DRAIN when inflight-migration is on
vhost-user-blk: move inflight_needed higher
vhost-user-blk: make inflight-migration prop mutable on running vm
vhost-user: use skip_drain with GET_VRING_BASE_SKIP_DRAIN message
vhost-user: add GET_VRING_BASE_SKIP_DRAIN message
vhost-user: add skip_drain param to do_vhost_virtqueue_stop
intel_iommu: Expose SMPWC when SVM is enabled
virtio-net: validate IHL in virtio_net_rsc_extract_unit4 before use
net/tap-solaris: Fix resource leaks on error paths
hw/hotplug: Constify HotplugHandler
hw/hotplug: Reduce some HotplugHandler variables scope
hw/hotplug: Mark various HotplugHandlerClass variables as const
hw/acpi: Make AcpiGedState const in build_ged_aml()
pci: load a device's config inside one memory transaction
pci: batch BAR remapping into one memory transaction
intel_iommu: Always write all the flags passed to vtd_set_flag_in_pte
intel_iommu: Only set dirty bit when PTE exposes write permission
intel_iommu: Support concurrent page fault handling with PRI
virtio-rtc: Report smeared UTC clock type
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
VHOST_USER_PROTOCOL_F_GET_VRING_BASE_INFLIGHT was introduced to allow
the back-end to suspend in-flight I/O during GET_VRING_BASE instead of
draining it, enabling live migration of in-flight requests. However,
this behaviour is tied to the protocol feature itself - once negotiated,
there is no way for the front-end to tell the back-end to fall back to
the normal drain behaviour on a per-stop basis.
Introduce a separate message VHOST_USER_GET_VRING_BASE_SKIP_DRAIN
(id=45) guarded by a new protocol feature
VHOST_USER_PROTOCOL_F_GET_VRING_BASE_SKIP_DRAIN. The message is
identical to GET_VRING_BASE except that the back-end must immediately suspend all
in-flight I/O and record it in the inflight region. This way the
front-end has explicit per-call control: send GET_VRING_BASE for normal drain,
send GET_VRING_BASE_SKIP_DRAIN when immediate suspend is needed.
The new feature requires both
VHOST_USER_PROTOCOL_F_GET_VRING_BASE_INFLIGHT
and VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD to be negotiated.
Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260803072853.2920007-3-dtalexundeer@yandex-team.ru>
Expose the CFMWS "Window Restrictions" (CXL r4.0 9.18.1.3) as named
per-window machine properties -- device-coherent, host-only, volatile,
persistent, fixed-config and back-invalidate -- so the advertised
restrictions can be configured per window rather than left at the
default.
No changes in default options. HDM-D and HDM-H are advertised by default;
disabling one (device-coherent=off or host-only=off) narrows the window to
the other. back-invalidate implies device-coherent (HDM-DB) and suppresses
the host-only default. host-only coherent combined with back-invalidate is
rejected as undefined behavior per the spec.
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260720233242.901544-5-dave@stgolabs.net>
The previous URL worked at the time of submission but it appears that it
was not a portable, durable reference.
This one should work better.
Reviewed-by: Marco Liebel <marco.liebel@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
The interface is ambiguous, as "no" is valid file name. So,
using "no" as a special value to disable script is deprecated.
Use an empty string ("script=" / "downscript=") instead.
In a future version, "no" will be treated as a plain file name, just
like any other non-empty value.
Document the deprecation in docs/about/deprecated.rst, qapi/net.json,
and qemu-options.hx. Update other docs to use empty string instead of
"no". Add a warning.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Ben Chaney <bchaney@akamai.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260819180201.1970193-4-vsementsov@yandex-team.ru>
- Fix minor issues in next-cube machine and mark it as deprecated
- Add a configure option to disable tests
- Remove stamp files when deleting assets from the functional cache
- Make sure that pyling version is not too old
- Keep USB autoscan enabled for bus+addr selector
# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmqilnUSHHRoLmh1dGhA
# cG9zdGVvLmV1AAoJEC7Z13T+cC21GtYP/2JRtwlyJdiyl5TVRtiWE38Ezu0pzXDi
# Snz+/KK3nIDIs6EJvg2rSHyfpE+0+iHT9brzAks4g/jEbsywOeTtn/HPP1PzCB58
# Sjy68IyVFh7TaEg9R5dEuHQYE1D4sJnQlCinMMMXWfxw/rArsdkMWxl1onwQKOOt
# Te1NsvCb16dC7ItT/VcpQB71TChIEYoJXHC/FZ2jhzDc+Th8l4rkWKAR1x8QljtR
# h8Z+7xuE00cRxTUALEnmxqP7oYk/2tE2ZOe/wSByvm2umBUR4/DQD6iKKmX4Qew+
# rHQbAaWBqVDK2L69f/1B9v43XPhRykZRe3E58LNfCvM39xG6VaRd1UHdg1X1IiiL
# aHV20Y27oaOVub3zPsiJKiOAghQsq6Dg3dgWQQRStJv5XZEyeMiFjjk+oOoQ3UBd
# +0pyzrOhobNQcYOvz6RJMehby/Oc8qzQinShrQnh6CjPtAObxx5Mq48PZicbAEGj
# xrgH4vSfchm4p7YhVJ1zj4aIEx4r23XChhhszzDnchjuWcl/1r7Khw0ZTlITupXL
# yj/v9sJKRghoG3Ie7WlYXocbdmOn8WE53Cb13XHwwFPryB6gMlG4IR5Jf5eMM8w4
# Tdp1hMw4WXLZ4AEE+XM44932lkrfgcssG0Odt5ECQjhlBWuSwe9mXIia5++X6H8w
# +b0Ed+6xrP8q
# =jcK+
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 10 Sep 2026 01:37:25 AM HST
# gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg: issuer "th.huth@posteo.eu"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [unknown]
# gpg: aka "Thomas Huth <thuth@redhat.com>" [unknown]
# gpg: aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# gpg: aka "Thomas Huth <huth@tuxfamily.org>" [unknown]
# gpg: aka "Thomas Huth <th.huth@posteo.eu>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5
* tag 'pull-request-2026-09-10' of https://gitlab.com/huth/qemu:
hw/usb/host-libusb: keep autoscan enabled for bus+addr selector
Add option to disable building tests
tests: install pylint for functional linters
scripts/clean_functional_cache: Remove also .stamp files
MAINTAINERS: Mark the next-cube machine as "Orphan"
docs/about: Deprecate the 'next-cube' m68k machine
hw/m68k/next-cube: Replace assert()s and abort()s with logging functions
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
The machine is incomplete since years and we never managed to fully boot
a kernel with it. So it's maybe best if we mark this machine as deprecated
and finally remove it again in case it gets into the way of a code
refactoring or other reasons.
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260828095241.118458-3-th.huth@posteo.eu>
Signed-off-by: Thomas Huth <th.huth@posteo.eu>
* AGENTS.md: basic bare minimal guide
* target/i386: TCG fixes
* scripts/checkpatch: warn on duplicate trailers, self-review, crediting AI
* docs: link to website for IRC and mailing list
* rust: qemu-macros: remove redundant clone()
* rust: qemu-macros: silence more warnings for bindgen crates
# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmqhgPcUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroMHGgf9HhS9YkSidGB00Xg843Duhms1GwCy
# hXP1G+wZisFk63ypd7k9ZSMh6jCJrHA+A4LoRiVP2W+mfWgWRMh1c3oUf9u7fjzO
# CsBV/JejM6GruSPjcCtFIBvKZbdZxlGoPWLpedvLDFQdoWZk2TLqIHFw+XJjK8uI
# ESYQuiWUqEaj+Vk0NerGL8nvMwOkYL8X7L89GJirXfZio2U+VmtSRrIhQ5W0SpK8
# jV7Oi5PJiKCm7gss4z0psaIXW/4ep6QGmWtx3lA6+uh1G2DCTkNoeo2JU10BQEZU
# fZsNy6B/mqG66jPwHHXziaC/omXf1XZ/p+0zER3m2VtWi7Zg4W0fDrQGVA==
# =04kq
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Sep 9 16:53:27 2026 BST
# gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg: issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83
* tag 'for-upstream' of https://gitlab.com/bonzini/qemu:
rust: bindings: disable more clippy warnings
rust: qemu-macros: remove redundant clone()
AGENTS.md: basic bare minimal guide
scripts/checkpatch: warn on duplicate trailers and self-review
checkpatch: reject trailers that credit an AI agent
docs: link to website for IRC and mailing list
target/i386: Mark MOVNTI as not valid with prefixes 0x66, 0xF2, 0xF3
target/i386: Update FPU tag word for FXCH
target/i386: Update FPU tag word for FSTP
target/i386: Update FPU tag word for FXTRACT's old ST(0)
target/i386: clear C1 for all x87 compare instructions
target/i386: Fix FXCH to unconditionally clear C1
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
pythondeps.toml and docs/requirements.txt pin sphinx==7.2.6 alongside
sphinx_rtd_theme==1.2.2, but 1.2.2 requires sphinx<7 on PyPI.
A fresh install of the docs group silently downgrades Sphinx to 6.2.1 to
satisfy that cap, which then fails Sphinx's own >=7.2.6 runtime check
in docs/meson.build.
sphinx_rtd_theme==2.0.0 is the first release that drops the sphinx<7 cap
and resolves cleanly against sphinx==7.2.6.
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20260906222926.3714852-1-brian.cain@oss.qualcomm.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Provide an easy and always up-to-date way to get more information on
how to contact maintainers and other developers.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
The -ftrivial-auto-var-init=zero usage guarantees implicit zero
initializers for all stack variables. Thus most bug reports relying
on undefined behaviour from lack of variable initialization will
not be security issues, or even bugs.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Drop the disgusting amount of hacks required to keep qapidoc working
on older Sphinx versions, enjoying the cutting edge technology of
2023.
This felt like an achievement to have written, and equally feels an
achievement to have deleted.
A note on the content_node parameter: Sphinx has been gradually
implementing typing support and renaming parameters to be
consistent. As a result of losing our intermediate compatibility shim,
mypy and pylint now check directly against the Sphinx version. So,
alongside removing compat gunk, we need to fix up some parameter
naming for the Sphinx upgrade, too.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20260825215851.1780608-17-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Make the extraordinary leap from Sphinx 3.4.3 to Sphinx
7.2.6. Simplifications and cleanup will follow in subsequent patches.
Note that CentOS Stream 9 only ships a version of Sphinx that runs on
Python 3.9, so regardless of the version of Sphinx we require, if we
require Python 3.10+, CentOS Stream 9 will be unable to build QEMU
documentation in an isolated offline build environment.
CentOS Stream 9 continues to be able to build documentation so long as
PyPI access is permitted during configure, or if the requisite PyPI
packages are installed prior to configure time.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20260825215851.1780608-15-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>