Re: [PATCH 16/36] qdev: Make qdev_class_add_property() more flexible

2020-10-30 Thread Marc-André Lureau
On Fri, Oct 30, 2020 at 2:13 AM Eduardo Habkost wrote: > Support Property.set_default and PropertyInfo.description even if > PropertyInfo.create is set. > > Signed-off-by: Eduardo Habkost > --- > Cc: Paolo Bonzini > Cc: "Daniel P. Berrangé" > Cc: Eduardo Habkost > Cc: qemu-devel@nongnu.org >

[PATCH 16/36] qdev: Make qdev_class_add_property() more flexible

2020-10-29 Thread Eduardo Habkost
Support Property.set_default and PropertyInfo.description even if PropertyInfo.create is set. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: "Daniel P. Berrangé" Cc: Eduardo Habkost Cc: qemu-devel@nongnu.org --- hw/core/qdev-properties.c | 17 + 1 file changed, 9 ins