[PATCH v3 06/10] vfio/mdev: Consolidate all the device_api sysfs into the core code