mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
qom: Move compat_props machinery from qdev to QOM
See the previous commit for rationale. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190308131445.17502-3-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1a3ec8c156
commit
617902af2c
4 changed files with 42 additions and 43 deletions
|
@ -677,6 +677,9 @@ Object *object_new_with_propv(const char *typename,
|
|||
|
||||
void object_apply_global_props(Object *obj, const GPtrArray *props,
|
||||
Error **errp);
|
||||
void object_set_machine_compat_props(GPtrArray *compat_props);
|
||||
void object_set_accelerator_compat_props(GPtrArray *compat_props);
|
||||
void object_apply_compat_props(Object *obj);
|
||||
|
||||
/**
|
||||
* object_set_props:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue