mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
vfio: Add property documentation
Investigate the git history to uncover when and why the VFIO properties were introduced and update the models. This is mostly targeting vfio-pci device, since vfio-platform, vfio-ap and vfio-ccw devices are simpler. Sort the properties based on the QEMU version in which they were introduced. Cc: Tony Krowiak <akrowiak@linux.ibm.com> Cc: Eric Farman <farman@linux.ibm.com> Cc: Eric Auger <eric.auger@redhat.com> Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Anthony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> # vfio-ccw Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250217173455.449983-1-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
e8a0110293
commit
4526687bf1
4 changed files with 173 additions and 0 deletions
|
@ -257,6 +257,15 @@ static void vfio_ap_class_init(ObjectClass *klass, void *data)
|
|||
dc->hotpluggable = true;
|
||||
device_class_set_legacy_reset(dc, vfio_ap_reset);
|
||||
dc->bus_type = TYPE_AP_BUS;
|
||||
|
||||
object_class_property_set_description(klass, /* 3.1 */
|
||||
"sysfsdev",
|
||||
"Host sysfs path of assigned device");
|
||||
#ifdef CONFIG_IOMMUFD
|
||||
object_class_property_set_description(klass, /* 9.0 */
|
||||
"iommufd",
|
||||
"Set host IOMMUFD backend device");
|
||||
#endif
|
||||
}
|
||||
|
||||
static const TypeInfo vfio_ap_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue