qdev: Create qdev_get_device_class() function
Extract the DeviceClass lookup from qdev_device_add() to a separate function. Signed-off-by: NEduardo Habkost <ehabkost@redhat.com> Signed-off-by: NAndreas Färber <afaerber@suse.de>
Showing
想要评论请 注册 或 登录