machine: move SMP initialization from vl.c
commit8b0e484c8bf82e07bb0439bff04e248c63cdc86a
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 10:45:14 +0000 (21 06:45 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Oct 2020 11:08:40 +0000 (26 07:08 -0400)
tree9c2f2652df3cd40d181d890c950f1cfd0653963b
parent2c920e4577b29702c0c01b0d491903c159df894a
machine: move SMP initialization from vl.c

Initialize the object's values from the class when the object is
created, no need to have vl.c do it for us.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
softmmu/vl.c