vl: extract validation of -smp to machine.c
commit3df8c4f31a60101c61d7f49ce0a3635690bed579
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 10:49:31 +0000 (21 06:49 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:11 +0000 (10 12:15 -0500)
tree568bf40f3354244a5cac19b2202c2509a409fa08
parent991c180d740c04c2f8c08c8783ad868fc832589f
vl: extract validation of -smp to machine.c

Once smp_parse is done, the validation operates on the MachineState.
There is no reason for that code to be in vl.c.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h
softmmu/vl.c