|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 00/18] qapi/qom: QAPIfy object-add |
Date: | Wed, 2 Dec 2020 13:30:18 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 02/12/20 11:38, Kevin Wolf wrote:
Am 02.12.2020 um 10:30 hat Paolo Bonzini geschrieben:On 01/12/20 23:08, Eduardo Habkost wrote:Properties are only a useful concept if they have a use. If -object/object_add/object-add can do the same job without properties, properties are not needed anymore.Do you mean "not needed for -object anymore"? Properties are still used by internal C code (esp. board code), -device/device_add, -machine, -cpu, and debugging commands (like "info qtree" and qom-list/qom-get/qom-set).Yes.Are internal uses mostly just right after object creation, or do we make a lot of use of them during runtime?
Not "a lot" but enough to be nasty. There are a couple uses of "well-known" QOM properties (e.g. to access the RTC time or the balloon stats), plus "info qtree".
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |