diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2024-03-09 00:01:40 +0800 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-09 19:17:01 +0100 |
commit | 803f9714bfc12cf19488c61a0db4b1edf696e7d4 (patch) | |
tree | 040a964bfc111a4018cad3585d7d5692f9aea118 /hw/net/virtio-net.c | |
parent | a4f9386071c4a04fe581ac3750e2d4d61c683a6c (diff) | |
download | qemu-803f9714bfc12cf19488c61a0db4b1edf696e7d4.zip qemu-803f9714bfc12cf19488c61a0db4b1edf696e7d4.tar.gz qemu-803f9714bfc12cf19488c61a0db4b1edf696e7d4.tar.bz2 |
tests/unit/test-smp-parse: Use CPU number macros in invalid topology case
Use MAX_CPUS/MIN_CPUS macros in invalid topology case. This gives us the
flexibility to change the maximum and minimum CPU limits.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Xiaoling Song <xiaoling.song@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240308160148.3130837-6-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions