numa: Silence incomplete mapping warning under qtest
Silence "make check" warnings triggered by the numa/mon/cpus/partial test case. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1495094971-177754-4-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
56821559f0
commit
c6ff347c80
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user