qom: accept any compatible type when setting a link property
commitfe40e627c51e38922b64b02b6163aea4b6aad896
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 23 Dec 2011 14:35:43 +0000 (23 08:35 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Feb 2012 16:41:08 +0000 (3 10:41 -0600)
treeb79dfdbfcbfdb11857b97db2bd11662324315b2f
parent57c9fafe0f759c9f1efa5451662b3627f9bb95e0
qom: accept any compatible type when setting a link property

Links had limited utility before as they only allowed a concrete type to be
specified.  Now we can support abstract types and interfaces which means it's
now possible to have a link<PCIDevice>.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom/object.c