diff options
| author | Yanan Wang <wangyanan55@huawei.com> | 2021-09-29 10:58:15 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-01 19:04:31 +0200 |
| commit | 8bdfec393a2ac67df9cecc0983d130db4a6bba58 (patch) | |
| tree | 037eda9c70b3439890b2386bf4e743415321e009 /scripts/qapi/gen.py | |
| parent | e7f944bb94a375e8ee7469ffa535ea6e11ce59e1 (diff) | |
| download | focaccia-qemu-8bdfec393a2ac67df9cecc0983d130db4a6bba58.tar.gz focaccia-qemu-8bdfec393a2ac67df9cecc0983d130db4a6bba58.zip | |
machine: Put all sanity-check in the generic SMP parser
Put both sanity-check of the input SMP configuration and sanity-check of the output SMP configuration uniformly in the generic parser. Then machine_set_smp() will become cleaner, also all the invalid scenarios can be tested only by calling the parser. Signed-off-by: Yanan Wang <wangyanan55@huawei.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20210929025816.21076-16-wangyanan55@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/gen.py')
0 files changed, 0 insertions, 0 deletions