diff options
| author | Fam Zheng <famz@redhat.com> | 2017-07-14 10:14:59 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:43 +0200 |
| commit | 2de7e26891db3d5b7f214fa485a5e946b17a57b9 (patch) | |
| tree | 7019d7d1718a5a3660a7c4fb4bd5d9ec72c7a8f6 /hw/misc/mips_cmgcr.c | |
| parent | aa8f057e74ae08014736a690ff41f76c756f75f1 (diff) | |
| download | focaccia-qemu-2de7e26891db3d5b7f214fa485a5e946b17a57b9.tar.gz focaccia-qemu-2de7e26891db3d5b7f214fa485a5e946b17a57b9.zip | |
dimm: Convert to DEFINE_PROP_LINK
Unlike the usual object_property_add_link() invocations in other devices, dimm 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 general check callback, move the extra check to device realize time. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170714021509.23681-11-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