You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/util
Stefan Hajnoczi b69801dd6b virtio,pc,pci: features, fixes, cleanups
Features:
 
 SR-IOV emulation for pci
 virtio-mem-pci support for s390
 interleave support for cxl
 big endian support for vdpa svq
 new QAPI events for vhost-user
 
 Also vIOMMU reset order fixups are in.
 Fixes, cleanups all over the place.
 
 Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAme4b8sPHG1zdEByZWRo
 YXQuY29tAAoJECgfDbjSjVRpHKcIAKPJsVqPdda2dJ7b7FdyRT0Q+uwezXqaGHd4
 7Lzih1wsxYNkwIAyPtEb76/21qiS7BluqlUCfCB66R9xWjP5/KfvAFj4/r4AEduE
 fxAgYzotNpv55zcRbcflMyvQ42WGiZZHC+o5Lp7vDXUP3pIyHrl0Ydh5WmcD+hwS
 BjXvda58TirQpPJ7rUL+sSfLih17zQkkDcfv5/AgorDy1wK09RBKwMx/gq7wG8yJ
 twy8eBY2CmfmFD7eTM+EKqBD2T0kwLEeLfS/F/tl5Fyg6lAiYgYtCbGLpAmWErsg
 XZvfZmwqL7CNzWexGvPFnnLyqwC33WUP0k0kT88Y5wh3/h98blw=
 =tej8
 -----END PGP SIGNATURE-----

Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging

virtio,pc,pci: features, fixes, cleanups

Features:

SR-IOV emulation for pci
virtio-mem-pci support for s390
interleave support for cxl
big endian support for vdpa svq
new QAPI events for vhost-user

Also vIOMMU reset order fixups are in.
Fixes, cleanups all over the place.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

 # -----BEGIN PGP SIGNATURE-----
 #
 # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAme4b8sPHG1zdEByZWRo
 # YXQuY29tAAoJECgfDbjSjVRpHKcIAKPJsVqPdda2dJ7b7FdyRT0Q+uwezXqaGHd4
 # 7Lzih1wsxYNkwIAyPtEb76/21qiS7BluqlUCfCB66R9xWjP5/KfvAFj4/r4AEduE
 # fxAgYzotNpv55zcRbcflMyvQ42WGiZZHC+o5Lp7vDXUP3pIyHrl0Ydh5WmcD+hwS
 # BjXvda58TirQpPJ7rUL+sSfLih17zQkkDcfv5/AgorDy1wK09RBKwMx/gq7wG8yJ
 # twy8eBY2CmfmFD7eTM+EKqBD2T0kwLEeLfS/F/tl5Fyg6lAiYgYtCbGLpAmWErsg
 # XZvfZmwqL7CNzWexGvPFnnLyqwC33WUP0k0kT88Y5wh3/h98blw=
 # =tej8
 # -----END PGP SIGNATURE-----
 # gpg: Signature made Fri 21 Feb 2025 20:21:31 HKT
 # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
 # gpg:                issuer "mst@redhat.com"
 # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
 # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
 # 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: (41 commits)
  docs/devel/reset: Document reset expectations for DMA and IOMMU
  hw/vfio/common: Add a trace point in vfio_reset_handler
  hw/arm/smmuv3: Move reset to exit phase
  hw/i386/intel-iommu: Migrate to 3-phase reset
  hw/virtio/virtio-iommu: Migrate to 3-phase reset
  vhost-user-snd: correct the calculation of config_size
  net: vhost-user: add QAPI events to report connection state
  hw/virtio/virtio-nsm: Respond with correct length
  vdpa: Fix endian bugs in shadow virtqueue
  MAINTAINERS: add more files to `vhost`
  cryptodev/vhost: allocate CryptoDevBackendVhost using g_mem0()
  vhost-iova-tree: Update documentation
  vhost-iova-tree, svq: Implement GPA->IOVA & partial IOVA->HVA trees
  vhost-iova-tree: Implement an IOVA-only tree
  amd_iommu: Use correct bitmask to set capability BAR
  amd_iommu: Use correct DTE field for interrupt passthrough
  hw/virtio: reset virtio balloon stats on machine reset
  mem/cxl_type3: support 3, 6, 12 and 16 interleave ways
  hw/mem/cxl_type3: Ensure errp is set on realization failure
  hw/mem/cxl_type3: Fix special_ops memory leak on msix_init_exclusive_bar() failure
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
12 hours ago
..
aio-posix.c include: Move QemuLockCnt APIs to their own header 4 months ago
aio-posix.h aio: remove aio_disable_external() API 2 years ago
aio-wait.c aio-wait: avoid AioContext lock in aio_wait_bh_oneshot() 2 years ago
aio-win32.c include: Move QemuLockCnt APIs to their own header 4 months ago
aiocb.c
async.c include: Rename sysemu/ -> system/ 2 months ago
atomic64.c osdep: Move memalign-related functions to their own header 3 years ago
base64.c
bitmap.c migration: Use non-atomic ops for clear log bitmap 2 years ago
bitops.c replace TABs with spaces 2 years ago
block-helpers.c block: Adjust check_block_size() signature 4 months ago
block-helpers.h block: Adjust check_block_size() signature 4 months ago
buffer.c
bufferiszero.c util/bufferiszero: Split out host include files 8 months ago
cacheflush.c util/cacheflush: Avoid possible redundant dcache flush on Darwin 2 years ago
chardev_open.c util/char_dev: Add open_cdev() 1 year ago
compatfd.c util: replace pipe()+cloexec with g_unix_open_pipe() 3 years ago
coroutine-sigaltstack.c osdep: set _FORTIFY_SOURCE=2 when optimization is enabled 1 year ago
coroutine-ucontext.c coroutine-ucontext: Save fake stack for pooled coroutine 1 year ago
coroutine-windows.c build: move coroutine backend selection to meson 2 years ago
cpuinfo-aarch64.c util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD 7 months ago
cpuinfo-i386.c target/i386/hvf: fix handling of XSAVE-related CPUID bits 4 months ago
cpuinfo-loongarch.c util/loongarch64: Detect LASX vector support 8 months ago
cpuinfo-ppc.c util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD 7 months ago
cpuinfo-riscv.c util/cpuinfo-riscv: Detect Zbs 1 month ago
crc-ccitt.c
crc32c.c igb: Implement Rx SCTP CSO 2 years ago
cutils.c util/cutils: Remove unused qemu_get_exec_dir 5 months ago
dbus.c
defer-call.c util/defer-call: move defer_call() to util/ 1 year ago
drm.c
envlist.c envlist: Remove unused envlist_parse 5 months ago
error-report.c Remove glib compatibility code that is not required anymore 9 months ago
error.c util/error: Introduce warn_report_err_once() 2 weeks ago
event_notifier-posix.c Replace qemu_pipe() with g_unix_open_pipe() 3 years ago
event_notifier-win32.c Remove qemu-common.h include from most units 3 years ago
fdmon-epoll.c include: Move QemuLockCnt APIs to their own header 4 months ago
fdmon-io_uring.c remove unnecessary casts from uintptr_t 1 year ago
fdmon-poll.c aio: remove aio_disable_external() API 2 years ago
fifo8.c fifo8: introduce fifo8_peek() function 5 months ago
filemonitor-inotify.c util/filemonitor-inotify.c: spelling fix: kenel 1 year ago
filemonitor-stub.c
getauxval.c util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD 7 months ago
guest-random.c util/guest-random: Clean up global variable shadowing 1 year ago
hbitmap.c qapi/crypto: Rename QCryptoHashAlgorithm to *Algo, and drop prefix 5 months ago
hexdump.c util/hexdump: Inline g_string_append_printf "%02x" 9 months ago
host-utils.c host-utils: Implemented signed 256-by-128 division 3 years ago
id.c
int128.c include/qemu/int128: Use Int128 structure for TCI 2 years ago
interval-tree.c util/interval-tree: Check root for null in interval_tree_iter_first 2 years ago
iov.c util/iov: Introduce iov_send_recv_with_flags() 4 months ago
iova-tree.c vhost-iova-tree, svq: Implement GPA->IOVA & partial IOVA->HVA trees 21 hours ago
keyval.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
lockcnt.c include: Move QemuLockCnt APIs to their own header 4 months ago
log.c log: Add separate debug option for logging invalid memory accesses 2 months ago
main-loop.c include: Rename sysemu/ -> system/ 2 months ago
memalign.c osdep: Move memalign-related functions to their own header 3 years ago
memfd.c physmem: fd-based shared memory 3 weeks ago
meson.build gdbstub: Try unlinking the unix socket before binding 2 weeks ago
mmap-alloc.c util/mmap-alloc: qemu_fd_getfs() 2 years ago
module.c overall: Remove unnecessary g_strdup_printf() calls 1 week ago
notify.c notify: pass error to notifier with return 1 year ago
nvdimm-utils.c
osdep.c migration: Add direct-io parameter 8 months ago
oslib-posix.c osdep: Introduce qemu_kill_thread() 2 weeks ago
oslib-win32.c backends/hostmem-shm: factor out allocation of "anonymous shared memory with an fd" 3 weeks ago
path.c
qdist.c util: spelling fixes 2 years ago
qemu-co-shared-resource.c util/co-shared-resource: Remove unused co_try_get_from_shres 5 months ago
qemu-co-timeout.c util: add qemu-co-timeout 3 years ago
qemu-config.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qemu-coroutine-io.c aio: remove aio_disable_external() API 2 years ago
qemu-coroutine-lock.c atomics: eliminate mb_read/mb_set 2 years ago
qemu-coroutine-sleep.c coroutine: Clean up superfluous inclusion of qemu/coroutine.h 2 years ago
qemu-coroutine.c util/coroutine: fix -Werror=maybe-uninitialized false-positive 5 months ago
qemu-option.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
qemu-print.c
qemu-progress.c include: move progress API to qemu-progress.h 3 years ago
qemu-sockets.c util: don't set SO_REUSEADDR on client sockets 4 months ago
qemu-thread-common.h
qemu-thread-posix.c include: Include missing 'qemu/clang-tsa.h' header 2 months ago
qemu-thread-win32.c qemu-thread-win32: cleanup, fix, document QemuEvent 2 years ago
qemu-timer-common.c
qemu-timer.c Revert "util/timer: avoid deadlock when shutting down" 2 weeks ago
qht.c util/qht: use striped locks under TSAN 2 years ago
qsp.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 1 year ago
qtree.c tcg: use QTree instead of GTree 2 years ago
range.c util/range.c: spelling fix: inbetween 1 year ago
rcu.c Replace "iothread lock" with "BQL" in comments 1 year ago
readline.c util/readline: Add C-u shortcut 8 months ago
reserved-region.c util/reserved-region: Add new ReservedRegion helpers 1 year ago
selfmap.c util/selfmap: Use dev_t and ino_t in MapInfo 1 year ago
stats64.c stat64: Add stat64_set() operation 2 years ago
sys_membarrier.c
systemd.c systemd: Also clear LISTEN_FDNAMES during systemd socket activation 2 years ago
thread-context.c qapi: Use returned bool to check for failure (again) 2 years ago
thread-pool.c virtio: use defer_call() in virtio_irqfd_notify() 1 year ago
throttle.c throttle: use THROTTLE_MAX/ARRAY_SIZE for hard code 2 years ago
timed-average.c license: Simplify GPL-2.0-or-later license descriptions 5 months ago
trace-events console/win32: allocate shareable display surface 2 years ago
trace.h
transactions.c transactions: Invoke clean() after everything else 3 years ago
unicode.c
userfaultfd.c util/userfaultfd: Remove unused uffd_poll_events 5 months ago
uuid.c util/uuid: Add UUID_STR_LEN definition 1 year ago
vfio-helpers.c util/vfio-helpers: Use g_file_read_link() 2 years ago
vhost-user-server.c vhost-user-server: do not set memory fd non-blocking 8 months ago
yank.c qapi: Fix dangling references to docs/devel/qapi-code-gen.txt 1 year ago