CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/11/09 13:34:04
Modified files:
usr.sbin/vmd : vioblk.c
Log message:
vmd(8): Actually check alignment
The alignment check tested offset and xfer_sz with &&, so it only
rejected a request when both were misaligned. offset is now always a
multiple of VIRTIO_BLK_SECTOR_SIZE, so that half is dead code; check
xfer_sz alone and fail when it is not a multiple of the sector size.
Also report the correct direction in the warning.
ok dv@
