aboutsummaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-07-14 10:14:58 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-14 12:04:43 +0200
commitaa8f057e74ae08014736a690ff41f76c756f75f1 (patch)
tree4e1b9b0b0cdbafe3fdb6324ff3dbb1da955f2d8c /fpu
parentd1fd7f775ea975f7c710c380a1967e1576dec48f (diff)
downloadqemu-aa8f057e74ae08014736a690ff41f76c756f75f1.zip
qemu-aa8f057e74ae08014736a690ff41f76c756f75f1.tar.gz
qemu-aa8f057e74ae08014736a690ff41f76c756f75f1.tar.bz2
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>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions