qom: Allow class type name to be specified in OBJECT_DECLARE*
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 31 Aug 2020 21:07:25 +0000 (17:07 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 8 Sep 2020 21:29:18 +0000 (17:29 -0400)
commit4a5f0545d2ccd8153a66086f17d0a70cd9c14014
treea0530d1e0a36b77e76bb2cd82d380998ad2530ad
parentf84203a8c229019d0c8d88aa87bb39f3444f5630
qom: Allow class type name to be specified in OBJECT_DECLARE*

Many QOM types don't follow the Type/TypeClass pattern
on the instance/struct names.  Let the class struct name
be specified in the OBJECT_DECLARE* macros.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200831210740.126168-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/qom/object.h