machine: add error propagation to mc->smp_parse
commitabc2f51144242e819fd7af69d3e7c199cc9d7004
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 15:53:05 +0000 (17 17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jun 2021 14:13:50 +0000 (25 16:13 +0200)
tree25e547677cbc4c8e93dcbcc43d2bf729dfa91381
parent593d3c51481bc40433474bd2b922217e819f1f68
machine: add error propagation to mc->smp_parse

Clean up the smp_parse functions to use Error** instead of exiting.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-9-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
hw/i386/pc.c
include/hw/boards.h
include/hw/i386/pc.h