summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson2021-12-06 20:18:06 +0100
committerRichard Henderson2021-12-06 20:18:06 +0100
commit7635eff97104242d618400e4b6746d0a5c97af82 (patch)
tree12a84effddbe3cba58dd66462ea8306f3046ac7e
parentMerge tag 'mips-20211206' of https://github.com/philmd/qemu into staging (diff)
parentvirtio-blk: Fix clean up of host notifiers for single MR transaction. (diff)
downloadqemu-7635eff97104242d618400e4b6746d0a5c97af82.tar.gz
qemu-7635eff97104242d618400e4b6746d0a5c97af82.tar.xz
qemu-7635eff97104242d618400e4b6746d0a5c97af82.zip
Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging
Pull request # gpg: Signature made Mon 06 Dec 2021 07:27:19 AM PST # gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full] # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full] * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu: virtio-blk: Fix clean up of host notifiers for single MR transaction. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--hw/block/dataplane/virtio-blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c
index 252c3a7a23..ee5a5352dc 100644
--- a/hw/block/dataplane/virtio-blk.c
+++ b/hw/block/dataplane/virtio-blk.c
@@ -222,7 +222,7 @@ int virtio_blk_data_plane_start(VirtIODevice *vdev)
memory_region_transaction_commit();
while (j--) {
- virtio_bus_cleanup_host_notifier(VIRTIO_BUS(qbus), i);
+ virtio_bus_cleanup_host_notifier(VIRTIO_BUS(qbus), j);
}
goto fail_host_notifiers;
}