Fam Zheng aa8f057e74 virtio-crypto: Convert to DEFINE_PROP_LINK
Unlike other object_property_add_link() occurrences in virtio devices,
virtio-crypto checks the "in use" state of the linked backend object in
addition to qdev_prop_allow_set_link_before_realize. To convert it
without needing to specialize DEFINE_PROP_LINK which always uses the
qdev callback, move the "in use" check to device realize time.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-10-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-14 12:04:43 +02:00
..
2016-10-04 13:28:07 +01:00
2017-07-14 11:04:33 +02:00
2017-06-02 11:33:53 +04:00
2017-06-02 14:07:53 +01:00
2016-05-18 15:04:27 +03:00
2017-01-27 18:07:59 +01:00
2016-01-29 15:07:25 +00:00
2017-06-05 10:09:14 +01:00
2017-06-04 18:42:55 +03:00
2017-06-27 15:09:15 +02:00
2016-10-28 18:17:24 +03:00
2017-07-14 11:04:33 +02:00