]> git.proxmox.com Git - mirror_qemu.git/commit - hw/qdev-addr.c
qdev: access properties via QOM
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Feb 2012 11:51:44 +0000 (12:51 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Feb 2012 12:52:42 +0000 (13:52 +0100)
commit9b170e60adc6dc01564128cf09f96ec923ed6526
tree45e9dd8f533a40be7006517f0f5e998f62292ff1
parent6350b0904615cc0531cc3059ea34db5c009c88aa
qdev: access properties via QOM

Do not poke anymore in the struct when accessing qdev properties.
Instead, ask the object to set the right value.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/qdev-addr.c
hw/qdev-properties.c
hw/qdev.h