vfio/migration: Query device dirty page tracking support
commit95b29658b60786a4b0631d82698e13483b2c2b94
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 7 Mar 2023 12:54:49 +0000 (7 12:54 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 7 Mar 2023 17:21:22 +0000 (7 10:21 -0700)
tree8f270691f34fe393440d48d6c6fc92949c4a6bba
parente46883204c384f992088f8c3ea713f7e1c2d5a6d
vfio/migration: Query device dirty page tracking support

Now that everything has been set up for device dirty page tracking,
query the device for device dirty page tracking support.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20230307125450.62409-15-joao.m.martins@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/migration.c