]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: add qdev_alias_all_properties()
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 18 Jun 2014 09:58:32 +0000 (17:58 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Jul 2014 07:15:02 +0000 (09:15 +0200)
commit67cc7e0aaca835ed68cf3bd34f4d51a21232792f
tree1db022a67f3f1899a5dd5ee1c90412dfb836772c
parentee512c6f21b2f76ae923e3a4cabbd58899ff7ae1
qdev: add qdev_alias_all_properties()

The qdev_alias_all_properties() function creates QOM alias properties
for each qdev property on a DeviceState.  This is useful for parent
objects that wish to forward property accesses to their children.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
hw/core/qdev.c
include/hw/qdev-properties.h