[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 00/11] tests/unit: Fix test-smp-parse
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 00/11] tests/unit: Fix test-smp-parse |
Date: |
Mon, 15 Nov 2021 15:58:49 +0100 |
Missing review: patches #4 to #8 (new)
Yet another approach to fix test-smp-parse. v2 from Yanan Wang:
20211111024429.10568-1-wangyanan55@huawei.com/">https://lore.kernel.org/qemu-devel/20211111024429.10568-1-wangyanan55@huawei.com/
Here we use the QOM class_init() to avoid having to deal with
object_unref() and deinit().
Since v3:
- Restore 'dies_supported' field in test_with_dies (Yanan)
- Add R-b tags
- QOM-ify the TYPE_MACHINE classes
Philippe Mathieu-Daudé (11):
tests/unit/test-smp-parse: Restore MachineClass fields after modifying
tests/unit/test-smp-parse: QOM'ify smp_machine_class_init()
tests/unit/test-smp-parse: Explicit MachineClass name
tests/unit/test-smp-parse: Pass machine type as argument to tests
tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid
tests/unit/test-smp-parse: Add 'smp-with-dies' machine type
tests/unit/test-smp-parse: Add 'smp-without-dies-invalid' machine type
tests/unit/test-smp-parse: Add 'smp-without-dies-valid' machine type
tests/unit/test-smp-parse: Simplify pointer to compound literal use
tests/unit/test-smp-parse: Constify some pointer/struct
hw/core: Rename smp_parse() -> machine_parse_smp_config()
include/hw/boards.h | 3 +-
hw/core/machine-smp.c | 6 +-
hw/core/machine.c | 2 +-
tests/unit/test-smp-parse.c | 221 +++++++++++++++++++++++-------------
4 files changed, 148 insertions(+), 84 deletions(-)
--
2.31.1
- [PATCH v4 00/11] tests/unit: Fix test-smp-parse,
Philippe Mathieu-Daudé <=
- [PATCH-for-6.2 v4 01/11] tests/unit/test-smp-parse: Restore MachineClass fields after modifying, Philippe Mathieu-Daudé, 2021/11/15
- [PATCH-for-6.2 v4 02/11] tests/unit/test-smp-parse: QOM'ify smp_machine_class_init(), Philippe Mathieu-Daudé, 2021/11/15
- [PATCH-for-6.2 v4 03/11] tests/unit/test-smp-parse: Explicit MachineClass name, Philippe Mathieu-Daudé, 2021/11/15
- [PATCH-for-7.0 v4 06/11] tests/unit/test-smp-parse: Add 'smp-with-dies' machine type, Philippe Mathieu-Daudé, 2021/11/15
- [PATCH-for-7.0 v4 07/11] tests/unit/test-smp-parse: Add 'smp-without-dies-invalid' machine type, Philippe Mathieu-Daudé, 2021/11/15
- [PATCH-for-7.0 v4 05/11] tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid, Philippe Mathieu-Daudé, 2021/11/15