On 14.05.2025 10:49, Zhao Liu wrote:
The QOM type of HvBalloon is declared by OBJECT_DECLARE_SIMPLE_TYPE, which means it doesn't need the class!Therefore, use OBJECT_DEFINE_SIMPLE_TYPE_WITH_INTERFACES to implement the type, then there's no need for class definition. Cc: "Maciej S. Szmigiero" <maciej.szmigi...@oracle.com> Signed-off-by: Zhao Liu <zhao1....@intel.com> ---
Acked-by: Maciej S. Szmigiero <maciej.szmigi...@oracle.com> Thanks, Maciej