aboutsummaryrefslogtreecommitdiff
path: root/python/tests
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-17 17:53:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-25 16:13:49 +0200
commit593d3c51481bc40433474bd2b922217e819f1f68 (patch)
treef4bbc134a86dec05d18559cee82d17373679985f /python/tests
parent67872eb8ed194117f5af71694374a083c3f45eb2 (diff)
downloadqemu-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