diff options
| author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2021-06-14 10:29:26 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2021-07-19 17:38:38 +0200 |
| commit | 69d0690c10083f21c7daaac544a44589a3ee34fc (patch) | |
| tree | a0bb8e40027d4ac76c28cb33d09cb4ef3485b7f2 /util/qemu-config.c | |
| parent | 7457b407edd6e8555e4b46488aab2f13959fccf8 (diff) | |
| download | focaccia-qemu-69d0690c10083f21c7daaac544a44589a3ee34fc.tar.gz focaccia-qemu-69d0690c10083f21c7daaac544a44589a3ee34fc.zip | |
blkdebug: refactor removal of a suspended request
Extract to a separate function. Do not rely on FOREACH_SAFE, which is only "safe" if the *current* node is removed---not if another node is removed. Instead, just walk the entire list from the beginning when asked to resume all suspended requests with a given tag. Co-developed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20210614082931.24925-2-eesposit@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'util/qemu-config.c')
0 files changed, 0 insertions, 0 deletions