OSDN Git Service

docs/devel: introduce some key concepts for QOM development
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 30 Jun 2023 18:04:12 +0000 (19:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Jul 2023 11:52:26 +0000 (12:52 +0100)
commit43398409ce1a7fa83856f6141204aa103f0fe72c
treeaacf0e0cc295d9694f1a8a6ae15ccf81acadf761
parentda966a8a7ccb3811546bf141e17e928ea291256e
docs/devel: introduce some key concepts for QOM development

Using QOM correctly is increasingly important to maintaining a modern
code base. However the current documentation skips some important
concepts before launching into a simple example. Lets:

  - at least mention properties
  - mention TYPE_OBJECT and TYPE_DEVICE
  - talk about why we have realize/unrealize
  - mention the QOM tree
  - lightly re-arrange the order we mention things

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-28-alex.bennee@linaro.org>
docs/devel/qom.rst