RFC hw/ppc/e500: Pass array of CPUs as array of canonical QOM paths
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qdev: Add qdev_prop_set_array()hw/ include/ | +24 | 0 replies | |
| 2/5 | hw/ppc/e500: Declare CPU QOM types using DEFINE_TYPES() macrohw/ | +9 | 2 replies | |
| 3/5 | hw/ppc/e500: QOM-attach CPUs to the machine containerhw/ | +1 | 4 replies | |
| 4/5 | hw/ppc/e500: Inline sysbus_create_simple(E500_SPIN)hw/ | +3 | 1 reply | |
| 5/5 | hw/ppc/e500: Pass array of CPUs as array of canonical QOM pathshw/ hw/ | +47 | 3 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Peter Maydell | Markus Armbruster | Philippe Mathieu-Daudé | Daniel Henrique Barboza |
|---|---|---|---|---|
| 1/5 | R-b | R-b T-b | ||
| 2/5 | R-b | |||
| 3/5 | R-b | |||
| 4/5 | R-b | |||
| 5/5 | Inspired-by | Inspired-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [RFC PATCH 0/5] hw/ppc/e500: Pass array of CPUs as array of canonical QOM paths
Following the discussion with Peter on my "cpus: Step toward removing global 'first_cpu'" series [*], we now pass the array of CPUs via property. Since we can not pass array of "link" properties, we pass the QOM path of each CPU as a QList(String).
Tagged as RFC to discuss the idea of using qdev_prop_set_array with qlist_append_str(object_get_canonical_path). Personally I find it super simple.
Regards,
Phil.
Kevin Wolf (1):
qdev: Add qdev_prop_set_array()
Philippe Mathieu-Daudé (4):
hw/ppc/e500: Declare CPU QOM types using DEFINE_TYPES() macro hw/ppc/e500: QOM-attach CPUs to the machine container hw/ppc/e500: Inline sysbus_create_simple(E500_SPIN) hw/ppc/e500: Pass array of CPUs as array of canonical QOM paths
include/hw/qdev-properties.h | 3 ++ hw/core/qdev-properties.c | 21 +++++++++++ hw/ppc/e500.c | 11 +++++- hw/ppc/ppce500_spin.c | 69 ++++++++++++++++++++++++++---------- 4 files changed, 84 insertions(+), 20 deletions(-)
Signature · 1 line
2.41.0