Stop a VM before destroying its backing zvols on delete
## Problem
Deleting a VM with `zvols=true` tore down the backing zvols before stopping the domain, so ZFS could be pulled out from under a live qemu process — risking in-flight corruption and leaving zvols that fail to destroy with EBUSY. The `force` option also didn't really gate deleting a running VM despite what its description implied.
## Solution
Reject deleting an active (running/suspended) VM unless `force` is set, and stop/undefine the domain before touching its zvols so the block devices are released first; the `force` field description now matches that behaviour. Picked up a few smaller VM-plugin tidy-ups along the way: clone rollback unwinds the snapshots/clones (and half-created VM record) it made if something fails partway, the disk-convert guard treats suspended VMs like running ones, and the convert path check looks at the real destination directory rather than its parent — with unit tests for the convert checks.
[CIR][AMDGPU] Add support for AMDGCN cos builtins (#197806)
Adds codegen for the following AMDGCN cos builtins:
- __builtin_amdgcn_cosf (float)
- __builtin_amdgcn_cosh (half)
- __builtin_amdgcn_cos_bf16 (bfloat16)
These are lowered to the corresponding `llvm.amdgcn.cos` intrinsic.
[AMDGPU] Update libc/runtime target to use amdgpu (#210032)
Update libc/runtime targets to use "amdgpu" instead of "amdgcn". This
change is necessary to do libc testing with a
check-libc-amdgpu-amd-amdhsa target. The previous
check-libc-amdgcn-amd-amdhsa target already stopped working after
https://github.com/llvm/llvm-project/pull/209247.
Signed-off-by: John Lu <John.Lu at amd.com>
amd64 efirt: register all runtime regions as fictitious
This is needed for VM_PHYS_TO_PAGE() to work, which is needed for
pmap_map_io_transient() to work, which is needed for uiomove_fromphys()
to work.
PR: 296348
Reported and tested by: Anton Saietskii <vsasjason at gmail.com>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58274
Try to add rc.d example to taskchampion-sync-server
Fwiw, I am now running this sync server and syncing both locally and
remotely to it. The local (to the server) taskwarrior is 3.3.0 and is
on NetBSD 10.1, but I am also syncing a macOS 26.5.2 taskwarriror 3.4.2
instance against it. Works a treat.
[LifetimeSafety] Add better lifetimebound fix-it spelling for C (#209967)
Use `__attribute__((lifetimebound))` as the default lifetimebound fix-it
spelling in pre-C23 C.
C++ and C23 continue to use `[[clang::lifetimebound]]` as the default
spelling.
When no explicit lifetimebound macro is configured, pre-C23 C only looks
for `__attribute__((lifetimebound))`, C++ and C23 keep looking for
`[[clang::lifetimebound]]` macros first, then
`__attribute__((lifetimebound))`.
Follow up of https://github.com/llvm/llvm-project/pull/204045
www/librewolf: update to 152.0.6-1
www/mozilla-firefox/files/policies.json has some changes that may
be relevant for LibreWolf but I don't have time to look at that.
Can be done later.
MAINTAINER indicated not working on this port for now
Identical diff from yaydn, thanks
OK landry@
[LLDB] Print stderr in HandleStop (#208875)
There are some testcases silently fail in stopping hook without
returning anything on FreeBSD. We dump the error from the handler to
make it easier to debug.
NAS-141806 / 26.0.0-RC.1 / remove duplicate code (by yocalebo) (#19341)
A bunch of duplicate code in pool_disk_operations.py just so we can
generate a comma separated string of disks that the action is being
taken against.
Original PR: https://github.com/truenas/middleware/pull/19339
Co-authored-by: caleb <yocalebo at gmail.com>
NAS-141806 / 27.0.0-BETA.1 / remove duplicate code (#19339)
A bunch of duplicate code in pool_disk_operations.py just so we can
generate a comma separated string of disks that the action is being
taken against.
[RISCV][P-ext] Replace lowerBuildVectorAsRV32PNarrowingShift with shuffle lowering. (#209088)
Add an implementation of isExtractSubvectorCheap for extracting
v2i16/v4i8 from a v4i16/v8i8 vector on RV32. This allows the
build_vector+extract_elt pattern to be turned into
shuffle_vector+extract_subvectors.
Assisted-by: Claude
chinese/opencc: Upgrade from 1.3.1 to 1.4.1.
Changes in this update:
- Enable the Jieba segmentation plugin via a new JIEBA option (default on).
- OpenCC now requires C++17: USES compiler:c++11-lib -> c++17-lang.
- Regenerate files/patch-CMakeLists.txt for the reorganized upstream tree.
- Add files/patch-cmake_GitVersion.cmake so the release tarball (which
ships without Git metadata) reports 1.4.1 instead of 1.4.0.
Obtained from upstream commit c23e743702f4.
PR: ports/296829
Approved by: maintainer
[PowerPC] Remove itinerary IIC_LdStDCBA (#207227)
The itinerary IIC_LdStDCBA is defined and used in scheduling models, but
no instruction is assigned to it. However, since the instruction is
basically retired (not part of the portable Power ISA), and all
scheduling models model it similar to IIC_LdStDCBF, the itinerary can be
removed.
[LoopIdiomRecognize] Enable clmul optimization for CRC loops (#203405)
The current `optimizeCRCLoop` function always optimizes CRC loops to use
a 256-entry Sarwate lookup table to process a byte at a time (except on
Hexagon and with optsize). However, some targets are able to process
larger chunks of CRC data with carry-less/polynomial multiplication
instructions. Implement this approach in IR for such targets using the
`llvm.clmul` intrinsic. (Only with optsize for the moment, though.)
Like the current CRC loop optimization, this does not apply to the
Hexagon target, despite it having a `pmpyw` instruction.
Assisted-by: Claude Opus 4.8
Make dtls1_do_write_ccs() self contained.
A ChangeCipherSpec message is always the same single byte. Make
dtls1_do_write_ccs() know how to send this message, which avoids the use of
buffers and needing to keep copies for retransmission.
ok kenjiro@ tb@