Skip to content
Snippets Groups Projects
Commit 4bd2f93f authored by Andreas Färber's avatar Andreas Färber
Browse files

exynos4_boards: Silence lack of -smp 2 warning for qtest


Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent db3fd069
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment