qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 17/36] qdev: Separate generic and device-specific property re


From: Marc-André Lureau
Subject: Re: [PATCH 17/36] qdev: Separate generic and device-specific property registration
Date: Fri, 30 Oct 2020 13:56:59 +0400

Hi

On Fri, Oct 30, 2020 at 2:19 AM Eduardo Habkost <ehabkost@redhat.com> wrote:
qdev_class_add_property() and qdev_property_add_static() will
have code that's specific for device types.

object_class_property_add_static(),
object_class_add_static_props(), and object_property_add_static()
will be generic and part of the QOM static property API.

The declarations for the new functions are being added to
qdev-properties.h, but they will be moved to a QOM header later.


Might be worth to mention that you also changed *property_add_static() to return the ObjectProperty. Probably useful in a later patch.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

--
Marc-André Lureau

reply via email to

[Prev in Thread] Current Thread [Next in Thread]