qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test
@ 2017-05-23 10:44 Eduardo Habkost
  2017-05-23 10:44 ` [Qemu-devel] [PULL 1/1] numa: Silence incomplete mapping warning under qtest Eduardo Habkost
  2017-05-30  8:31 ` [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Eduardo Habkost @ 2017-05-23 10:44 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Igor Mammedov, qemu-devel

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(-)

-- 
2.11.0.259.g40922b1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL 1/1] numa: Silence incomplete mapping warning under qtest
  2017-05-23 10:44 [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Eduardo Habkost
@ 2017-05-23 10:44 ` Eduardo Habkost
  2017-05-30  8:31 ` [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Eduardo Habkost @ 2017-05-23 10:44 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Igor Mammedov, qemu-devel

From: Igor Mammedov <imammedo@redhat.com>

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>
---
 hw/core/machine.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/core/machine.c b/hw/core/machine.c
index fd6a436064..3adebf14c4 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -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 "
-- 
2.11.0.259.g40922b1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test
  2017-05-23 10:44 [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Eduardo Habkost
  2017-05-23 10:44 ` [Qemu-devel] [PULL 1/1] numa: Silence incomplete mapping warning under qtest Eduardo Habkost
@ 2017-05-30  8:31 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-05-30  8:31 UTC (permalink / raw)
  To: Eduardo Habkost; +Cc: Peter Maydell, Igor Mammedov, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

On Tue, May 23, 2017 at 07:44:53AM -0300, Eduardo Habkost wrote:
> 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(-)
> 
> -- 
> 2.11.0.259.g40922b1
> 
> 

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

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-30  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 10:44 [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Eduardo Habkost
2017-05-23 10:44 ` [Qemu-devel] [PULL 1/1] numa: Silence incomplete mapping warning under qtest Eduardo Habkost
2017-05-30  8:31 ` [Qemu-devel] [PULL 0/1] Silence "make check" warnings on NUMA test Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).