diff options
| author | Fam Zheng | 2017-07-14 04:14:59 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-07-14 12:04:43 +0200 |
| commit | 2de7e26891db3d5b7f214fa485a5e946b17a57b9 (patch) | |
| tree | 7019d7d1718a5a3660a7c4fb4bd5d9ec72c7a8f6 /scripts/qapi-types.py | |
| parent | virtio-crypto: Convert to DEFINE_PROP_LINK (diff) | |
| download | qemu-2de7e26891db3d5b7f214fa485a5e946b17a57b9.tar.gz qemu-2de7e26891db3d5b7f214fa485a5e946b17a57b9.tar.xz 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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions
