OSDN Git Service

tests/unit/test-smp-parse: Add 'smp-generic-valid' machine type
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Nov 2021 14:49:59 +0000 (15:49 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 12:31:13 +0000 (13:31 +0100)
commit2dc426c468833619afc1221666e0e6246b8f21d7
treee43eb4dc6dca29a44de06504a9f117c59e8a5351
parent7ca0705eba00c0d38f7b37670ee6cff9b607bb74
tests/unit/test-smp-parse: Add 'smp-generic-valid' machine type

Keep the common TYPE_MACHINE class initialization in
machine_base_class_init(), make it abstract, and move
the non-common code to a new class: "smp-generic-valid".

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Message-Id: <20211216132015.815493-6-philmd@redhat.com>
tests/unit/test-smp-parse.c