OSDN Git Service

machine: Remove smp_parse callback from MachineClass
authorYanan Wang <wangyanan55@huawei.com>
Wed, 29 Sep 2021 02:58:13 +0000 (10:58 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 13:28:19 +0000 (15:28 +0200)
commit7687b2b3edc3f29ad58e8d6593d5c10dde406c34
treecdbb082ae39cfa372366a2ca430d9f9e686c3769
parente4a97a893bcd7511aba812969d1fa6fe42dc1931
machine: Remove smp_parse callback from MachineClass

Now we have a generic smp parser for all arches, and there will
not be any other arch specific ones, so let's remove the callback
from MachineClass and call the parser directly.

Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210929025816.21076-14-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h