mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
qdev: make a separate helper function to apply compat properties
This will allow to apply compat properties on other objects than QDev easily. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
a310e653ce
commit
1c3994f6d2
2 changed files with 7 additions and 1 deletions
|
@ -422,6 +422,8 @@ const char *qdev_fw_name(DeviceState *dev);
|
|||
|
||||
Object *qdev_get_machine(void);
|
||||
|
||||
void object_apply_compat_props(Object *obj);
|
||||
|
||||
/* FIXME: make this a link<> */
|
||||
void qdev_set_parent_bus(DeviceState *dev, BusState *bus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue