Commit c6ff347c authored by Igor Mammedov's avatar Igor Mammedov Committed by Eduardo Habkost
Browse files

numa: Silence incomplete mapping warning under qtest



Silence "make check" warnings triggered by the numa/mon/cpus/partial
test case.

Suggested-by: default avatarMarkus Armbruster <armbru@redhat.com>
Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
Message-Id: <1495094971-177754-4-git-send-email-imammedo@redhat.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 56821559
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#include "qemu/error-report.h"
#include "qemu/cutils.h"
#include "sysemu/numa.h"
#include "sysemu/qtest.h"

static char *machine_get_accel(Object *obj, Error **errp)
{
@@ -722,7 +723,7 @@ static void machine_numa_validate(MachineState *machine)
            g_free(cpu_str);
        }
    }
    if (s->len) {
    if (s->len && !qtest_enabled()) {
        error_report("warning: CPU(s) not present in any NUMA nodes: %s",
                     s->str);
        error_report("warning: All CPU(s) up to maxcpus should be described "