diff options
author | Fam Zheng <famz@redhat.com> | 2017-07-14 10:15:00 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:43 +0200 |
commit | e9cb190ad4cea8e6fd24afb973c5007b9a439bc9 (patch) | |
tree | 3bd1702b3b433aec9af1e6018eeacc3cac6b085f /hw/misc/mips_cmgcr.c | |
parent | 2de7e26891db3d5b7f214fa485a5e946b17a57b9 (diff) |
ivshmem: Convert to DEFINE_PROP_LINK
Unlike the usual object_property_add_link() invocations in other
devices, ivshmem checks the "is mapped" state of the backend in addition
to qdev_prop_allow_set_link_before_realize. To convert it without
specializing DEFINE_PROP_LINK which always uses the qdev callback, move
the extra check to device realize time.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-12-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/mips_cmgcr.c')
0 files changed, 0 insertions, 0 deletions