On 26/09/2016 12:16, Lin Ma wrote: > Print available object backend types and the relevant properties. > > V2->v3: > * make type user-creatable abstract. > * auto generate enum value strings during qemu configuration.(Borrowwed > Daniel's code) > * save the generated enum value strings into member description of > ObjectProperty.
Frankly, I don't think this is useful. At some point you need to look at some bigger manual than just the program help. However, emitting the description of the property is useful. Paolo > * drop the judgement logic of whether a property has an enumeration type > anymore, > output member description of ObjectProperty directly. > * at least, user_creatable_help_func should be put after > 'object_property_add_child(object_get_root(), > "machine",OBJECT(current_machine), ...)', > because host_memory_backend_init needs to access an instance of type > machine.