]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
qdev: make a separate helper function to apply compat properties
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 1 Dec 2018 21:23:27 +0000 (01:23 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (16:18 +0400)
commit1c3994f6d2afa1ced3058aa707d43e44ca96cfc8
tree706a7e957773eb16dcb460252b50acec28ab14a7
parenta310e653ce0e3effc9a27c3b10018d2d29bf566c
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>
hw/core/qdev.c
include/hw/qdev-core.h