diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 17:53:04 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-25 16:13:49 +0200 |
commit | 593d3c51481bc40433474bd2b922217e819f1f68 (patch) | |
tree | f4bbc134a86dec05d18559cee82d17373679985f /python/tests | |
parent | 67872eb8ed194117f5af71694374a083c3f45eb2 (diff) | |
download | qemu-593d3c51481bc40433474bd2b922217e819f1f68.zip qemu-593d3c51481bc40433474bd2b922217e819f1f68.tar.gz qemu-593d3c51481bc40433474bd2b922217e819f1f68.tar.bz2 |
machine: move common smp_parse code to caller
Most of smp_parse and pc_smp_parse is guarded by an "if (opts)"
conditional, and the rest is common to both function. Move the
conditional and the common code to the caller, machine_smp_parse.
Move the replay_add_blocker call after all errors are checked for.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-8-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/tests')
0 files changed, 0 insertions, 0 deletions