diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-11-11 09:20:22 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-11-15 21:49:16 +0100 |
| commit | c3440eff4c0b6ec7adf391620393cb9755eab8d9 (patch) | |
| tree | 170ef0b4ad6e92d8ecee002d9dc955869b239fae /python/qemu/machine/machine.py | |
| parent | 2523a7956519cc13c92b9214d188cd2489d4df2e (diff) | |
| download | focaccia-qemu-c3440eff4c0b6ec7adf391620393cb9755eab8d9.tar.gz focaccia-qemu-c3440eff4c0b6ec7adf391620393cb9755eab8d9.zip | |
tests/unit/test-smp-parse: QOM'ify smp_machine_class_init()
smp_machine_class_init() is the actual TypeInfo::class_init(). Declare it as such in smp_machine_info, and avoid to call it manually in each test. Move smp_machine_info definition just before we register the type to avoid a forward declaration. Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Tested-by: Yanan Wang <wangyanan55@huawei.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211115145900.2531865-3-philmd@redhat.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions