On Fri, Jul 24, 2026 at 05:23:09PM +0200, Hanna Czenczek wrote: > Hi, > > There are some places where block accounting should be happening, but is > not; either because the whole operation is not accounted (like discard > operations in virtio-blk) or because certain code paths forget to > finalize existing cookies. > > > Hanna Czenczek (6): > hw/virtio-blk: Account discard operations > hw/virtio-blk: Complete zone-append cookies > hw/nvme: Fix block accounting in nvme_copy() > hw/nvme: Fix block accounting for compare > hw/ide: Have ide_dma_cb() complete accounting > hw/scsi-disk: Fix accounting for IGNORE, ret > 0 > > hw/block/virtio-blk.c | 34 +++++++++++---------- > hw/ide/core.c | 3 +- > hw/nvme/ctrl.c | 70 +++++++++++++++++++++++++++---------------- > hw/scsi/scsi-disk.c | 7 +++++ > 4 files changed, 72 insertions(+), 42 deletions(-) > > -- > 2.55.0 >
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
