aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-06-05 13:11:51 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-01 10:17:48 +0200
commit64607d088132abdb25bf30d93e97d0c8df7b364c (patch)
treead3b8d616ee3b858d0e81ead81c2a9daefb85018 /os-posix.c
parentef7c7ff6d4ca1955278af1bc5025f47044183250 (diff)
downloadqemu-64607d088132abdb25bf30d93e97d0c8df7b364c.zip
qemu-64607d088132abdb25bf30d93e97d0c8df7b364c.tar.gz
qemu-64607d088132abdb25bf30d93e97d0c8df7b364c.tar.bz2
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 'os-posix.c')
0 files changed, 0 insertions, 0 deletions