CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/07/11 12:24:02
Modified files:
usr.sbin/vmd : vioqcow2.c
Log message:
vmd(8): fix qcow2 refcounts on lazy allocated refcnt blocks.
Lazy-allocated refcount blocks, such as those created when growing the
disk past 2 GiB, should have refcount initialized to 1. While the disk
is functional, operations on the metadata (such as resizing) fail as
the reference counting is corrupt.
>From Chris Cunningham.
"looks right to me" from @ori (original author of vioqcow2.c)