Am 27.05.2015 um 17:07 schrieb Daniel P. Berrange: > Now that properties can be explicitly registered as an enum > type, there is no need to pass the string table to the > object_get_enum method. The object property registration > already has a pointer to the string table. > > In changing this method signature, the hostmem backend object > has to be converted to use the new enum property registration > code, which simplifies it somewhat. > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > backends/hostmem.c | 22 ++++++++-------------- > include/qom/object.h | 4 ++-- > numa.c | 2 +- > qom/object.c | 19 +++++++++++++++++-- > tests/check-qom-proplist.c | 43 +++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 71 insertions(+), 19 deletions(-)
There's been no protest after it appeared in v4, so I'm applying it for my v3 pull. If anyone has objections, please speak up now. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)