diff options
| author | Zhao Liu <zhao1.liu@intel.com> | 2024-03-09 00:01:47 +0800 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-09 19:17:01 +0100 |
| commit | 71e44ee0b2e034c88eeb507fb9bab6787f1598b5 (patch) | |
| tree | 10386faf75da5b254868be25b4582f944b74de0a /hw/i386/vapic.c | |
| parent | ef88e1e875289aaa5e6645fc0038fa1c82b750e2 (diff) | |
| download | focaccia-qemu-71e44ee0b2e034c88eeb507fb9bab6787f1598b5.tar.gz focaccia-qemu-71e44ee0b2e034c88eeb507fb9bab6787f1598b5.zip | |
tests/unit/test-smp-parse: Test smp_props.has_clusters
The smp_props.has_clusters in MachineClass is not a user configured field, and it indicates if user specifies "clusters" in -smp. After -smp parsing, other module could aware if the cluster level is configured by user. This is used when the machine has only 1 cluster since there's only 1 cluster by default. Add the check to cover this field. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Tested-by: Xiaoling Song <xiaoling.song@intel.com> Acked-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240308160148.3130837-13-zhao1.liu@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/i386/vapic.c')
0 files changed, 0 insertions, 0 deletions