]> www.infradead.org Git - qemu-nvme.git/commit
hw/vfio: fix iteration over global VFIODevice list
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 29 Dec 2023 20:38:54 +0000 (21:38 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 5 Jan 2024 20:25:20 +0000 (21:25 +0100)
commit9353b6da430f90e47f352dbf6dc31120c8914da6
tree8798109bc49f75328b1a915c06f9f90b148e637e
parent213ae3ffda463c0503e39e0cf827511b5298c314
hw/vfio: fix iteration over global VFIODevice list

Commit 3d779abafe ("vfio/common: Introduce a global VFIODevice list")
introduced a global VFIODevice list, but forgot to update the list
element field name when iterating over the new list. Change the code
to use the correct list element field.

Fixes: 3d779abafe ("vfio/common: Introduce a global VFIODevice list")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2061
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
hw/vfio/common.c