]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: Wrap getters and setters in separate helpers
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2020 22:05:19 +0000 (17:05 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Dec 2020 20:20:17 +0000 (15:20 -0500)
commit7ed854af1401d62be9b232d4b67d8a75418e96b2
tree98215fce10e709eb6158090e91eea1244b7c2535
parentc80fab0b61ee7d801caa4d04c3d014e76cd836c8
qdev: Wrap getters and setters in separate helpers

We'll add extra code to the qdev property getters and setters, so
add wrapper functions where additional actions can be performed.

The new functions have a "field_prop_" prefix instead of "qdev_"
because the code will eventually be moved outside
qdev-properties.c, to common QOM code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-23-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/qdev-properties.c