Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros | Eduardo Habkost | 2020-12-18 | 1 | -13/+6 |
| | | | | | | | | | | | Instead of duplicating the code that sets name, info, offset, and does type checking, make DEFINE_PROP accept a variable number of arguments and reuse it in all DEFINE_PROP_* macros. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201211220529.2290218-17-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> | ||||
* | qdev: Move softmmu properties to qdev-properties-system.h | Eduardo Habkost | 2020-12-18 | 1 | -0/+84 |
Move the property types and property macros implemented in qdev-properties-system.c to a new qdev-properties-system.h header. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201211220529.2290218-16-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |