commit | 1fff3c206f320104e929b22e6b9e82fc6e4c2ae6 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Nov 13 13:33:44 2019 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Dec 17 19:32:26 2019 +0100 |
tree | 9f335318a02337239dab92056c2b1f8b4a83e361 | |
parent | 8b90f1c5aca6cfabe97a567150560d06485182fa [diff] |
qom: introduce object_register_sugar_prop Similar to the existing "-rtc driftfix" option, we will convert some legacy "-machine" command line options to global properties on accelerators. Because accelerators are not devices, we cannot use qdev_prop_register_global. Instead, provide a slot in the generic object_compat_props arrays for command line syntactic sugar. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>