diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-29 18:29:54 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-11-05 17:47:29 +0100 |
commit | 4bd2f93ff9dcf5fbbdb55affc55b7f1a568e43cf (patch) | |
tree | 7d167917c5d4cbc14144d18d493583c1675b91f8 /hw/arm | |
parent | db3fd06902c96644cb4d4a76f54924c754faf13c (diff) | |
download | qemu-4bd2f93ff9dcf5fbbdb55affc55b7f1a568e43cf.zip qemu-4bd2f93ff9dcf5fbbdb55affc55b7f1a568e43cf.tar.gz qemu-4bd2f93ff9dcf5fbbdb55affc55b7f1a568e43cf.tar.bz2 |
exynos4_boards: Silence lack of -smp 2 warning for qtest
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/exynos4_boards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index 2929f9f..26cedec 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -22,6 +22,7 @@ */ #include "sysemu/sysemu.h" +#include "sysemu/qtest.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/arm/arm.h" @@ -96,7 +97,7 @@ static void lan9215_init(uint32_t base, qemu_irq irq) static Exynos4210State *exynos4_boards_init_common(QEMUMachineInitArgs *args, Exynos4BoardType board_type) { - if (smp_cpus != EXYNOS4210_NCPUS) { + if (smp_cpus != EXYNOS4210_NCPUS && !qtest_enabled()) { fprintf(stderr, "%s board supports only %d CPU cores. Ignoring smp_cpus" " value.\n", exynos4_machines[board_type].name, |