migration: fix populate_vfio_info
authorSteve Sistare <steven.sistare@oracle.com>
Tue, 7 Feb 2023 18:47:03 +0000 (10:47 -0800)
committerJuan Quintela <quintela@redhat.com>
Thu, 16 Mar 2023 15:07:07 +0000 (16:07 +0100)
commitfa76c854ae837328187bef41d80af5d1ad36681f
tree8438b146f5412fe00c7d387793a2812275f708fb
parentff1585d1d8ae5b15d88327e59859d352829caebb
migration: fix populate_vfio_info

Include CONFIG_DEVICES so that populate_vfio_info is instantiated for
CONFIG_VFIO.  Without it, the 'info migrate' command never returns
info about vfio.

Fixes: 43bd0bf30f ("migration: Move populate_vfio_info() into a separate file")
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/target.c