FreeNAS/freenas d29e68dsrc/middlewared/middlewared pylibvirt.py, src/middlewared/middlewared/pytest/unit test_gather_pylibvirt_domains_states.py

Skip individual domains that vanish while gathering libvirt state

## Problem
`gather_pylibvirt_domains_states` wraps its whole loop in one try/except. If a queried domain is destroyed between `list_domains()` and reading its state (a TOCTOU race), libvirt raises `VIR_ERR_NO_DOMAIN` and the exception unwinds the entire loop, so every still-running domain after it is dropped from the result and reported as STOPPED/`pid: null` until the next poll. It also logged a full WARNING traceback for what is a benign, self-correcting race, and masked genuine errors (e.g. a bug in the per-domain factory) behind that same generic warning.

## Solution
Moved the try/except inside the loop so a vanished domain is skipped individually while the rest of the batch is still reported correctly (a missing entry falls back to STOPPED via `get_pylibvirt_domain_state`). The failure is classified using the new `is_no_domain_error` helper from truenas_pylibvirt: the no-domain race is logged at DEBUG, anything else at ERROR with `exc_info` so genuine bugs stay visible and no longer poison sibling domains.
DeltaFile
+182-0src/middlewared/middlewared/pytest/unit/test_gather_pylibvirt_domains_states.py
+45-16src/middlewared/middlewared/pylibvirt.py
+227-162 files

FreeBSD/doc 5498939documentation/content/en/books/handbook/virtualization _index.adoc

handbook/virtualization: Fix copy&pasto in driver name

The VMSVGA driver is the one that targets VMware guests, not VBoxSVGA.
Before this fix, the sentence would contradict the one before it. I must
have copied the wrong driver name when I made the original change.

Noticed by:     Takashi Shimizu
DeltaFile
+1-1documentation/content/en/books/handbook/virtualization/_index.adoc
+1-11 files

FreeBSD/ports 7aeb499graphics/mesa-dri pkg-plist

graphics/mesa-dri: Fix plist when X11 is off

According to ${WRKSRC}/src/meson.build code the X11 platform is required for DRI.

PR:             296084
DeltaFile
+49-49graphics/mesa-dri/pkg-plist
+49-491 files

NetBSD/src ErbKwiLsys/dev/pci agpvar.h

   include pcivar.h so that includes can be sorted lexicographically in agp files.
VersionDeltaFile
1.23+3-1sys/dev/pci/agpvar.h
+3-11 files

NetBSD/src rmr7PjIsys/arch/alpha/alpha disksubr.c, sys/arch/arm/arm disksubr.c

   fix typos in comments, mainly s/archtypal/archetypal/.
VersionDeltaFile
1.43+3-3sys/arch/alpha/alpha/disksubr.c
1.27+3-3sys/arch/arm/arm/disksubr.c
1.22+3-3sys/arch/arm/broadcom/bcm2835_vcaudio.c
1.19+3-3sys/arch/evbmips/evbmips/disksubr.c
1.4+3-3sys/arch/evbmips/sbmips/disksubr.c
1.19+3-3sys/arch/evbppc/evbppc/disksubr.c
+18-189 files not shown
+43-4315 files

OpenBSD/ports x7H2h4ktextproc/qxlsx Makefile distinfo, textproc/qxlsx/patches patch-QXlsx_CMakeLists_txt

   Update to qt6-qxlsx-1.5.1.1.
VersionDeltaFile
1.9+22-20textproc/qxlsx/pkg/PLIST
1.11+16-12textproc/qxlsx/patches/patch-QXlsx_CMakeLists_txt
1.11+5-2textproc/qxlsx/Makefile
1.8+2-2textproc/qxlsx/distinfo
+45-364 files

OpenBSD/ports oqUmIbFmath/labplot Makefile

   Regen WANTLIB.
VersionDeltaFile
1.21+2-1math/labplot/Makefile
+2-11 files

FreeNAS/freenas 8f0c035src/middlewared/middlewared pylibvirt.py, src/middlewared/middlewared/pytest/unit test_gather_pylibvirt_domains_states.py

Skip individual domains that vanish while gathering libvirt state

## Problem
`gather_pylibvirt_domains_states` wraps its whole loop in one try/except. If a queried domain is destroyed between `list_domains()` and reading its state (a TOCTOU race), libvirt raises `VIR_ERR_NO_DOMAIN` and the exception unwinds the entire loop, so every still-running domain after it is dropped from the result and reported as STOPPED/`pid: null` until the next poll. It also logged a full WARNING traceback for what is a benign, self-correcting race, and masked genuine errors (e.g. a bug in the per-domain factory) behind that same generic warning.

## Solution
Moved the try/except inside the loop so a vanished domain is skipped individually while the rest of the batch is still reported correctly (a missing entry falls back to STOPPED via `get_pylibvirt_domain_state`). The failure is classified using the new `is_no_domain_error` helper from truenas_pylibvirt: the no-domain race is logged at DEBUG, anything else at ERROR with `exc_info` so genuine bugs stay visible and no longer poison sibling domains.
DeltaFile
+154-0src/middlewared/middlewared/pytest/unit/test_gather_pylibvirt_domains_states.py
+35-16src/middlewared/middlewared/pylibvirt.py
+189-162 files

LLVM/project e0cc08dclang/lib/AST/ByteCode InterpBuiltin.cpp, clang/lib/Headers avx512vnniintrin.h avx512vlvnniintrin.h

[clang][x86] Add constexpr support for VNNI intrinsics (#190549)

Fixes #161340.

It adds constexpr support for VNNI
intrinsics by modifying their header files, their TableGen definitions,
how they're interpreted in InterpBuiltin.cpp and ExprConstant.cpp, and
adds unit tests in the headers' corresponding unit test files.
DeltaFile
+190-1clang/test/CodeGen/X86/avx512vlvnni-builtins.c
+162-0clang/test/CodeGen/X86/avxvnni-builtins.c
+86-1clang/test/CodeGen/X86/avx512vnni-builtins.c
+74-1clang/lib/AST/ByteCode/InterpBuiltin.cpp
+32-35clang/lib/Headers/avx512vnniintrin.h
+29-34clang/lib/Headers/avx512vlvnniintrin.h
+573-723 files not shown
+659-1189 files

LLVM/project a12b7afllvm/lib/Target/X86 X86InstrMisc.td, llvm/test/CodeGen/X86 bmi.ll

[X86] Select BLSI for i8 operands (#202344) (#204746)

Adds a tablegen pattern to select BLSI 32 for `and (neg x), x` at i8.

Fixes #202344
DeltaFile
+94-0llvm/test/CodeGen/X86/bmi.ll
+12-1llvm/lib/Target/X86/X86InstrMisc.td
+106-12 files

FreeBSD/src 9d43654sys/sys vnode.h rangelock.h

struct vnode: assign v_rl.resv1 as v_type and v_rl.resv2 as v_state

(cherry picked from commit da6aa0648c0265d6f7bcba44a26f13ed0453dd7a)
DeltaFile
+8-2sys/sys/vnode.h
+4-0sys/sys/rangelock.h
+12-22 files

FreeBSD/src b8044a0sys/kern vfs_subr.c, sys/sys vnode.h mount.h

vnode: move VIRF_KNOTE to v_v2flag

(cherry picked from commit 64467d2ec3ede11430554fea68b317d27bf4b5c3)
DeltaFile
+4-3sys/sys/vnode.h
+2-3sys/kern/vfs_subr.c
+2-2sys/sys/mount.h
+8-83 files

FreeBSD/src ce6cc3bsys/sys mount.h

sys/mount.h: restore KNF_NOKQLOCK in VFS_KNOTE_{,UN}LOCKED() call to KNOTE()

(cherry picked from commit 43a8585cb2bb0e284df672174a57780e53107d27)
DeltaFile
+4-4sys/sys/mount.h
+4-41 files

FreeBSD/src eb810besys/sys rangelock.h

sys/rangelock.h: explicitly enumerate padding at the end of the structure

(cherry picked from commit 3d505310b1bb259c3e5f39d8c88a465cf1403934)
DeltaFile
+6-0sys/sys/rangelock.h
+6-01 files

FreeBSD/src d56df1fsys/sys vnode.h

sys/vnode.h: remove stale comment

(cherry picked from commit 5e4947f7e08a90ba50f9e8cea9ae5e128717cb5f)
DeltaFile
+0-1sys/sys/vnode.h
+0-11 files

FreeBSD/src c20d129sys/amd64/amd64 genassym.c, sys/i386/i386 genassym.c

x86: remove sys/mount.h from genassym.c

(cherry picked from commit 72ab129799a231e322b119de3f9c1263e76527b8)
DeltaFile
+0-3sys/amd64/amd64/genassym.c
+0-3sys/i386/i386/genassym.c
+0-62 files

FreeBSD/src 18c08fdsys/kern vfs_subr.c

vop_read_pgcache_post(): the vnode is unlocked

(cherry picked from commit 0c85df0065146516d5bacfc80d52d9ee6b33b96d)
DeltaFile
+1-1sys/kern/vfs_subr.c
+1-11 files

FreeBSD/src 5c4e88csys/sys mount.h

vfs: convert VFS_OPs from macros to static inlines

(cherry picked from commit a57420b214b04de3d066236b555925ffbcb93daa)
DeltaFile
+109-97sys/sys/mount.h
+109-971 files

FreeBSD/src e076ee2sys/kern vfs_subr.c

vop_read_pgcache_post(): report inotify IN_ACCESS same as for vop_read_post()

(cherry picked from commit e9a5eb0e5e44e79d0f8dc71274b0183926abd562)
DeltaFile
+4-2sys/kern/vfs_subr.c
+4-21 files

FreeBSD/src fb73898sys/kern vfs_subr.c, sys/sys vnode.h mount.h

vnode: add VIRF_KNOTE flag

(cherry picked from commit 1d5e4020e36e1cc9e906200c9c3c784ef43d977e)
DeltaFile
+12-17sys/sys/vnode.h
+10-4sys/kern/vfs_subr.c
+10-2sys/sys/mount.h
+32-233 files

FreeBSD/src ef9f11asys/kern vfs_subr.c

vfs: work around the race between vget() and vnlru

PR:     281749

(cherry picked from commit 36b155a2b3baa747c1968a9094df9fa7fb0d02b3)
DeltaFile
+6-1sys/kern/vfs_subr.c
+6-11 files

FreeBSD/src 049c784sys/kern vfs_mount.c vfs_subr.c, sys/sys mount.h

vfs: convert vfs_op_thread_* macros to static inlines

(cherry picked from commit 32cf4514cad66ff69ffc96ede20d8debc9b96790)
DeltaFile
+55-36sys/sys/mount.h
+3-3sys/kern/vfs_mount.c
+3-3sys/kern/vfs_subr.c
+2-2sys/kern/vfs_cache.c
+2-2sys/kern/vfs_vnops.c
+65-465 files

DragonFlyBSD/src b38721cusr.bin/uname uname.c uname.1

uname(1): Add '-b' flag to show the kernel's build-ID

The kernel's build-ID has been exposed via the "kern.build_id" sysctl
MIB.  Add a '-b' flag to uname(1) to report it.

Obtained-from: FreeBSD (https://reviews.freebsd.org/D20511)
DeltaFile
+14-2usr.bin/uname/uname.c
+4-3usr.bin/uname/uname.1
+18-52 files

DragonFlyBSD/src f188159sys/conf kern.pre.mk

kern.pre.mk: Introduce ${ELDFLAGS} to help customize linker flags

Similar to the case in kmod.mk, introduce the ${ELDFLAGS} variable to
collect the linker flags and makes it easier to customize them.

While there, clean up a bit.
DeltaFile
+14-18sys/conf/kern.pre.mk
+14-181 files

DragonFlyBSD/src 1c40f14sys/platform/pc64/conf ldscript.x86_64, sys/platform/vkernel64/conf ldscript.x86_64

platform: Remove obsolete '.exception_ranges' from linker scripts

As the comment says, it was generate by the Sun/Oracle C++ compiler,
so does not apply to us.  Just remove it as FreeBSD did.

See also: FreeBSD
DeltaFile
+1-6sys/platform/pc64/conf/ldscript.x86_64
+1-6sys/platform/vkernel64/conf/ldscript.x86_64
+2-122 files

DragonFlyBSD/src 30fd908stand/boot/common load_elf.c

stand: Fix compilation error with ELF_VERBOSE in load_elf.c
DeltaFile
+1-1stand/boot/common/load_elf.c
+1-11 files

DragonFlyBSD/src 5b50f07usr.bin/uname uname.c

uname(1): Improve sysctl()/sysctlbyname() error report

Report the sysctl MIB name/path when it fails.

Meanwhile, clean up the style a bit.
DeltaFile
+28-31usr.bin/uname/uname.c
+28-311 files

DragonFlyBSD/src 4e67623sys/kern kern_mib.c, sys/platform/pc64/conf ldscript.x86_64

kernel: Expose the build-ID via "kern.build_id" sysctl

Update the linker scripts to expose the start and end of the
linker-generated build-ID, and add the "kern.build_id" sysctl handler to
fetch the information.

A subsequent commit will update uname(1) to report it as well.

Obtained-from: FreeBSD (https://reviews.freebsd.org/D20326)
DeltaFile
+44-0sys/kern/kern_mib.c
+5-1sys/platform/pc64/conf/ldscript.x86_64
+5-1sys/platform/vkernel64/conf/ldscript.x86_64
+54-23 files

DragonFlyBSD/src 6597598stand/boot/common load_elf.c load_elf_obj.c

stand: Replace the cumbersome "x" __XSTRING() "y" with '__func__'
DeltaFile
+15-17stand/boot/common/load_elf.c
+9-17stand/boot/common/load_elf_obj.c
+24-342 files

DragonFlyBSD/src 8f67eb8sys/conf kmod.mk

kmod.mk: Style cleanups
DeltaFile
+21-23sys/conf/kmod.mk
+21-231 files