]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/core: Add missing return on error
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 13 Aug 2021 11:26:06 +0000 (13:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 12:43:35 +0000 (14:43 +0200)
commit0b46318170bf2782564e1c444e01a47cda308c7f
treedc6af0d523cb89ffb2f7cdaff68d30e7392f9246
parent24d84c7e4806da0c362edd2ee76678f15becd17d
hw/core: Add missing return on error

If dies is not supported by this machine's CPU topology, don't
keep processing options and return directly.

Fixes: 0aebebb561c ("machine: reject -smp dies!=1 for non-PC machines")
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210813112608.1452541-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c