[PATCH v2 5/9] vfio/mdev: Consolidate all the device_api sysfs into the core code