commit | d822979bdf80c3ea9752615af15f231b4c4ce547 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 02 09:47:13 2012 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Feb 07 13:52:41 2012 +0100 |
tree | 108ee38d18a61cf3550d2f24a70de6b601fd897d | |
parent | 1d9c5a12cefcd914d99c32de9aac72966a4788ae [diff] |
qdev: remove direct calls to print/parse There's no need to call into ->parse and ->print manually. The QOM legacy properties do that for us. Furthermore, in some cases legacy and static properties have exactly the same behavior, and we could drop the legacy properties right away. Add an appropriate fallback to prepare for this. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>