diff options
author | Philippe Mathieu-Daudé | 2021-08-13 13:26:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-08-13 14:43:35 +0200 |
commit | 0b46318170bf2782564e1c444e01a47cda308c7f (patch) | |
tree | dc6af0d523cb89ffb2f7cdaff68d30e7392f9246 /hw/core/qdev-clock.c | |
parent | target/i386: Fixed size of constant for Windows (diff) | |
download | qemu-0b46318170bf2782564e1c444e01a47cda308c7f.tar.gz qemu-0b46318170bf2782564e1c444e01a47cda308c7f.tar.xz qemu-0b46318170bf2782564e1c444e01a47cda308c7f.zip |
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>
Diffstat (limited to 'hw/core/qdev-clock.c')
0 files changed, 0 insertions, 0 deletions