summary refs log tree commit diff stats
path: root/hw/misc/imx8mp_analog.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2025-04-23 15:28:20 +0800
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commit436114cc4390ff46535229e67e43056196a971c1 (patch)
tree2bd1730877111322ea1cceeec883a68a25ef64c3 /hw/misc/imx8mp_analog.c
parent85ae745edd2815c504a3198410a545e50f583e6a (diff)
downloadfocaccia-qemu-436114cc4390ff46535229e67e43056196a971c1.tar.gz
focaccia-qemu-436114cc4390ff46535229e67e43056196a971c1.zip
vfio/iommufd: Make a separate call to get IOMMU capabilities
Currently we depend on .realize() calling iommufd_backend_get_device_info()
to get IOMMU capabilities and check for dirty page tracking support.

By make a extra separate call, this dependency is removed. This happens
only during device attach, it's not a hot path.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250423072824.3647952-2-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/misc/imx8mp_analog.c')
0 files changed, 0 insertions, 0 deletions