diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-10-08 15:34:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-10-15 16:11:22 +0200 |
commit | 30648dd5d609d111e635112d7e6014ca63f7ba13 (patch) | |
tree | 7d75569fee18ec37740e93300649932e02a551a9 /softmmu/qdev-monitor.c | |
parent | 4a1d937796de0fecd8b22d7dbebf87f38e8282fd (diff) |
qemu-option: Allow deleting opts during qemu_opts_foreach()
Use QTAILQ_FOREACH_SAFE() so that the current QemuOpts can be deleted
while iterating through the whole list.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211008133442.141332-11-kwolf@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'softmmu/qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions