diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-02 10:17:19 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-07 13:52:41 +0100 |
commit | 68ee356941801d0a17fdc43b11ac3e6b72fcd597 (patch) | |
tree | e5f1927b37010bcf2c4d03858771826aafe41f4a /arm.ld | |
parent | d822979bdf80c3ea9752615af15f231b4c4ce547 (diff) | |
download | qemu-68ee356941801d0a17fdc43b11ac3e6b72fcd597.zip qemu-68ee356941801d0a17fdc43b11ac3e6b72fcd597.tar.gz qemu-68ee356941801d0a17fdc43b11ac3e6b72fcd597.tar.bz2 |
qdev: allow reusing get/set for legacy property
In some cases, a legacy property does need a special print method
but not a special parse method. In this case, we can reuse the get/set
from the static (non-legacy) property.
If neither parse nor print is needed, though, do not register the
legacy property at all. The previous patch ensures that the right
fallback will be used.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arm.ld')
0 files changed, 0 insertions, 0 deletions