Skip to content
  • Paolo Bonzini's avatar
    1fff3c20
    qom: introduce object_register_sugar_prop · 1fff3c20
    Paolo Bonzini authored
    
    
    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>
    1fff3c20
    qom: introduce object_register_sugar_prop
    Paolo Bonzini authored
    
    
    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>
Loading