OSDN Git Service

qom: Allow clearing of a Link property
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 26 Sep 2014 05:19:19 +0000 (22:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Oct 2014 14:41:25 +0000 (16:41 +0200)
commitd3c4931647c16c2ffc09a2c7c80d71c73cd026c6
treeae88284c413fc4fe6b50cdec8a699214c28c068f
parent4adea8042f880dd9bd7cb5c191a781ec86fdc587
qom: Allow clearing of a Link property

By passing in "" to object_property_set_link.

The lead user of this is the QDEV GPIO framework which will implement
GPIO disconnects via an "unlink".  GPIO disconnection is used by
qtest's irq_intercept_out command.

Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom/object.c