Skip to content
Snippets Groups Projects
Commit 1fff3c20 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8b90f1c5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment