Skip to contentSkip to conversation

Silence "make check" warnings on NUMA test

GIT PULL Applied Eduardo Habkost 2 participants 3 messages May 23, 2017 – May 30, 2017

lore
Share & tools
lore
#0 lore raw

The following changes since commit 56821559f0ba682fe6b367815572e6f974d329ab:

Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into staging (2017-05-18 13:36:15 +0100)

are available in the git repository at:

git://github.com/ehabkost/qemu.git tags/numa-pull-request

for you to fetch changes up to c6ff347c8078bb86f75d38955641cb73e9d5b309:

numa: Silence incomplete mapping warning under qtest (2017-05-22 14:24:52 -0300)

----------------------------------------------------------------
Silence "make check" warnings on NUMA test

----------------------------------------------------------------

Igor Mammedov (1):
numa: Silence incomplete mapping warning under qtest

 hw/core/machine.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0.259.g40922b1
#1 lore raw

[Qemu-devel] [PULL 1/1] numa: Silence incomplete mapping warning under qtest

From: Igor Mammedov <[email protected]>

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

Message-Id: <[email protected]>

---
 hw/core/machine.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
hw/core/machine.c +2 -1
index fd6a436064..3adebf14c4 100644
@@ -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 "
Signature · 1 line
2.11.0.259.g40922b1
#2 lore raw
In reply to Eduardo Habkost
Quoted 15 lines · Eduardo Habkost

The following changes since commit 56821559f0ba682fe6b367815572e6f974d329ab:

Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into staging (2017-05-18 13:36:15 +0100)

are available in the git repository at:

git://github.com/ehabkost/qemu.git tags/numa-pull-request

for you to fetch changes up to c6ff347c8078bb86f75d38955641cb73e9d5b309:

numa: Silence incomplete mapping warning under qtest (2017-05-22 14:24:52 -0300)

----------------------------------------------------------------
Silence "make check" warnings on NUMA test

Quoted 12 lines

----------------------------------------------------------------

Igor Mammedov (1):
numa: Silence incomplete mapping warning under qtest

 hw/core/machine.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0.259.g40922b1

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan