vfio: Move vfio_device_list into device.c

'vfio_device_list' is VFIODevice related. Move its definitions into
"device.c".

Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-23-clg@redhat.com
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-24-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
Cédric Le Goater 2025-03-26 08:51:08 +01:00
parent c3fbdba15a
commit a997b506e7
2 changed files with 3 additions and 3 deletions

View file

@ -46,9 +46,6 @@
#include "vfio-migration-internal.h"
#include "vfio-helpers.h"
VFIODeviceList vfio_device_list =
QLIST_HEAD_INITIALIZER(vfio_device_list);
/*
* Device state interfaces
*/

View file

@ -31,6 +31,9 @@
#include "monitor/monitor.h"
#include "vfio-helpers.h"
VFIODeviceList vfio_device_list =
QLIST_HEAD_INITIALIZER(vfio_device_list);
/*
* Common VFIO interrupt disable
*/