diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-05 13:11:51 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-01 10:17:48 +0200 |
commit | 64607d088132abdb25bf30d93e97d0c8df7b364c (patch) | |
tree | ad3b8d616ee3b858d0e81ead81c2a9daefb85018 /qemu-options.hx | |
parent | ef7c7ff6d4ca1955278af1bc5025f47044183250 (diff) | |
download | qemu-64607d088132abdb25bf30d93e97d0c8df7b364c.tar.gz qemu-64607d088132abdb25bf30d93e97d0c8df7b364c.tar.bz2 qemu-64607d088132abdb25bf30d93e97d0c8df7b364c.zip |
qom: add a generic mechanism to resolve paths
It may be desirable to have custom link<> properties that do more
than just store an object. Even the addition of a "check"
function is not enough if setting the link has side effects
or if a non-standard reference counting is preferrable.
Avoid the assumption that the opaque field of a link<> is a
LinkProperty struct, by adding a generic "resolve" callback
to ObjectProperty. This fixes aliases of link properties.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions