qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing
@ 2019-09-02 10:21 Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 01/12] gdbstub: Fix handling of '!' packet with new infra Alex Bennée
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell; +Cc: Alex Bennée, qemu-devel

The following changes since commit 23919ddfd56135cad3cb468a8f54d5a595f024f4:

  Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190827' into staging (2019-08-27 15:52:36 +0100)

are available in the Git repository at:

  https://github.com/stsquad/qemu.git tags/pull-gdbstub-gitdm-testing-020919-1

for you to fetch changes up to 4112aff7cdd932f273e920911a45a5d5a2d5d299:

  tests/docker: upgrade docker.py to python3 (2019-09-02 10:52:22 +0100)

----------------------------------------------------------------
Various maintainer updates

   - fixes for gdbstub regressions
   - bunch of gitdm/mailmap updates
   - module fixes for Travis
   - docker fixes for shippable

----------------------------------------------------------------
Alex Bennée (2):
      .mailmap/aliases: add some further commentary
      tests/docker: upgrade docker.py to python3

Marc-André Lureau (2):
      build-sys: build ui-spice-app as a module
      tests: fix modules-test with no default machine

Markus Armbruster (2):
      contrib/gitdm: filetype interface is not in order, fix
      contrib/gitdm: Add armbru@pond.sub.org to group-map-redhat

Philippe Mathieu-Daudé (4):
      mailmap: Reorder by sections
      mailmap: Update philmd email address
      mailmap: Add many entries to improve 'git shortlog' statistics
      contrib/gitdm: Add RT-RK to the domain-map

Ramiro Polla (1):
      gdbstub: Fix handling of '!' packet with new infra

Sandra Loosemore (1):
      gdbstub: Fix handler for 'F' packet

 .mailmap                            | 137 +++++++++++++++++++++++++++++++++---
 contrib/gitdm/aliases               |  20 +++++-
 contrib/gitdm/domain-map            |   1 +
 contrib/gitdm/filetypes.txt         |   2 +-
 contrib/gitdm/group-map-individuals |   3 +-
 contrib/gitdm/group-map-redhat      |   1 +
 gdbstub.c                           |  12 +++-
 tests/docker/docker.py              |  27 +++----
 tests/modules-test.c                |   7 +-
 ui/Makefile.objs                    |   4 +-
 10 files changed, 184 insertions(+), 30 deletions(-)

-- 
2.20.1



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

* [Qemu-devel] [PULL 01/12] gdbstub: Fix handling of '!' packet with new infra
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 02/12] gdbstub: Fix handler for 'F' packet Alex Bennée
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Philippe Mathieu-Daudé, Ramiro Polla, Alex Bennée, qemu-devel

From: Ramiro Polla <ramiro.polla@gmail.com>

Since the '!' packet is not handled by the new infrastructure,
gdb_handle_packet() would call run_cmd_parser() with a NULL cmd_parser
value, which would lead to an unsupported packet ("$#00") being sent,
which could confuse the gdb client.

This also has a side-effect of speeding up the initial connection with
gdb.

Fixes: 3e2c12615b52 ("gdbstub: Implement deatch (D pkt) with new infra")
Signed-off-by: Ramiro Polla <ramiro.polla@gmail.com>
Message-Id: <20190805190901.14072-1-ramiro.polla@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/gdbstub.c b/gdbstub.c
index b92ba59e4df..5c067594bae 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2588,7 +2588,9 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
         break;
     }
 
-    run_cmd_parser(s, line_buf, cmd_parser);
+    if (cmd_parser) {
+        run_cmd_parser(s, line_buf, cmd_parser);
+    }
 
     return RS_IDLE;
 }
-- 
2.20.1



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

* [Qemu-devel] [PULL 02/12] gdbstub: Fix handler for 'F' packet
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 01/12] gdbstub: Fix handling of '!' packet with new infra Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 03/12] contrib/gitdm: filetype interface is not in order, fix Alex Bennée
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, Sandra Loosemore, Richard Henderson,
	qemu-devel, Philippe Mathieu-Daudé

From: Sandra Loosemore <sandra@codesourcery.com>

Handling of the 'F' packet has been broken since commit
4b20fab101b9e2d0fb47454209637a17fc7a13d5, which converted it to use
the new packet parsing infrastructure.  Per the GDB RSP specification

https://sourceware.org/gdb/current/onlinedocs/gdb/The-F-Reply-Packet.html

the second parameter may be omitted, but the rewritten implementation
was failing to recognize this case.  The result was that QEMU was
repeatedly resending the fileio request and ignoring GDB's replies of
successful completion.  This patch restores the behavior of the
previous code in allowing the errno parameter to be omitted and
passing 0 to the callback in that case.

Signed-off-by: Sandra Loosemore <sandra@codesourcery.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190827223317.8614-1-sandra@codesourcery.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/gdbstub.c b/gdbstub.c
index 5c067594bae..4cf8af365e2 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1820,11 +1820,15 @@ static void handle_read_all_regs(GdbCmdContext *gdb_ctx, void *user_ctx)
 
 static void handle_file_io(GdbCmdContext *gdb_ctx, void *user_ctx)
 {
-    if (gdb_ctx->num_params >= 2 && gdb_ctx->s->current_syscall_cb) {
+    if (gdb_ctx->num_params >= 1 && gdb_ctx->s->current_syscall_cb) {
         target_ulong ret, err;
 
         ret = (target_ulong)gdb_ctx->params[0].val_ull;
-        err = (target_ulong)gdb_ctx->params[1].val_ull;
+        if (gdb_ctx->num_params >= 2) {
+            err = (target_ulong)gdb_ctx->params[1].val_ull;
+        } else {
+            err = 0;
+        }
         gdb_ctx->s->current_syscall_cb(gdb_ctx->s->c_cpu, ret, err);
         gdb_ctx->s->current_syscall_cb = NULL;
     }
-- 
2.20.1



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

* [Qemu-devel] [PULL 03/12] contrib/gitdm: filetype interface is not in order, fix
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 01/12] gdbstub: Fix handling of '!' packet with new infra Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 02/12] gdbstub: Fix handler for 'F' packet Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 04/12] contrib/gitdm: Add armbru@pond.sub.org to group-map-redhat Alex Bennée
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, qemu-devel, Aleksandar Markovic, Markus Armbruster

From: Markus Armbruster <armbru@redhat.com>

gitm prints the rather cryptic message "interface not found, appended
to the last order".  This is because filetypes.txt has filetype
interface, but neglects to mention it in order.  Fix that.

Fixes: 2f28271d807edfcdc47a280c06999dd866dcae10
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190822122350.29852-2-armbru@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/contrib/gitdm/filetypes.txt b/contrib/gitdm/filetypes.txt
index 165b71b3f9a..2d5002fea0c 100644
--- a/contrib/gitdm/filetypes.txt
+++ b/contrib/gitdm/filetypes.txt
@@ -34,7 +34,7 @@
 #   If there is an filetype which is not in order but has values, it will
 #   be added at the end.
 #
-order build,tests,code,documentation,devel-doc,blobs
+order build,interface,tests,code,documentation,devel-doc,blobs
 
 #
 #
-- 
2.20.1



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

* [Qemu-devel] [PULL 04/12] contrib/gitdm: Add armbru@pond.sub.org to group-map-redhat
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (2 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 03/12] contrib/gitdm: filetype interface is not in order, fix Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 05/12] mailmap: Reorder by sections Alex Bennée
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell; +Cc: Alex Bennée, qemu-devel, Markus Armbruster

From: Markus Armbruster <armbru@redhat.com>

Just to get the (few) accidental uses of my private e-mail address
attributed correctly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190822122350.29852-3-armbru@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/contrib/gitdm/group-map-redhat b/contrib/gitdm/group-map-redhat
index 6d05c6b54fd..d15db2d35e1 100644
--- a/contrib/gitdm/group-map-redhat
+++ b/contrib/gitdm/group-map-redhat
@@ -5,3 +5,4 @@
 david@gibson.dropbear.id.au
 laurent@vivier.eu
 pjp@fedoraproject.org
+armbru@pond.sub.org
-- 
2.20.1



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

* [Qemu-devel] [PULL 05/12] mailmap: Reorder by sections
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (3 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 04/12] contrib/gitdm: Add armbru@pond.sub.org to group-map-redhat Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 06/12] mailmap: Update philmd email address Alex Bennée
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, Philippe Mathieu-Daudé,
	qemu-devel, Aleksandar Markovic

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Our mailmap currently has 4 sections somehow documented.
Reorder few entries not related to "addresses from the original
git import" into the 3rd section, and add a comment to describe
it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190822230916.576-2-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/.mailmap b/.mailmap
index b8e08297c90..e1fdc88d25d 100644
--- a/.mailmap
+++ b/.mailmap
@@ -4,20 +4,12 @@
 # into proper addresses so that they are counted properly by git shortlog.
 Andrzej Zaborowski <balrogg@gmail.com> balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
 Anthony Liguori <anthony@codemonkey.ws> aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
-Anthony Liguori <anthony@codemonkey.ws> Anthony Liguori <aliguori@us.ibm.com>
 Aurelien Jarno <aurelien@aurel32.net> aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
 Blue Swirl <blauwirbel@gmail.com> blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
 Edgar E. Iglesias <edgar.iglesias@gmail.com> edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
 Fabrice Bellard <fabrice@bellard.org> bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
-James Hogan <jhogan@kernel.org> <james.hogan@imgtec.com>
 Jocelyn Mayer <l_indien@magic.fr> j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
 Paul Brook <paul@codesourcery.com> pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
-Yongbok Kim <yongbok.kim@mips.com> <yongbok.kim@imgtec.com>
-Aleksandar Markovic <amarkovic@wavecomp.com> <aleksandar.markovic@mips.com>
-Aleksandar Markovic <amarkovic@wavecomp.com> <aleksandar.markovic@imgtec.com>
-Paul Burton <pburton@wavecomp.com> <paul.burton@mips.com>
-Paul Burton <pburton@wavecomp.com> <paul.burton@imgtec.com>
-Paul Burton <pburton@wavecomp.com> <paul@archlinuxmips.org>
 Thiemo Seufer <ths@networkno.de> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
 malc <av1474@comtv.ru> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
 
@@ -32,6 +24,15 @@ Ian McKellar <ianloic@google.com> Ian McKellar via Qemu-devel <qemu-devel@nongnu
 Julia Suvorova <jusual@mail.ru> Julia Suvorova via Qemu-devel <qemu-devel@nongnu.org>
 Justin Terry (VM) <juterry@microsoft.com> Justin Terry (VM) via Qemu-devel <qemu-devel@nongnu.org>
 
+# Next, replace old addresses by a more recent one.
+Anthony Liguori <anthony@codemonkey.ws> Anthony Liguori <aliguori@us.ibm.com>
+James Hogan <jhogan@kernel.org> <james.hogan@imgtec.com>
+Aleksandar Markovic <amarkovic@wavecomp.com> <aleksandar.markovic@mips.com>
+Aleksandar Markovic <amarkovic@wavecomp.com> <aleksandar.markovic@imgtec.com>
+Paul Burton <pburton@wavecomp.com> <paul.burton@mips.com>
+Paul Burton <pburton@wavecomp.com> <paul.burton@imgtec.com>
+Paul Burton <pburton@wavecomp.com> <paul@archlinuxmips.org>
+Yongbok Kim <yongbok.kim@mips.com> <yongbok.kim@imgtec.com>
 
 # Also list preferred name forms where people have changed their
 # git author config, or had utf8/latin1 encoding issues.
-- 
2.20.1



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

* [Qemu-devel] [PULL 06/12] mailmap: Update philmd email address
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (4 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 05/12] mailmap: Reorder by sections Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 07/12] mailmap: Add many entries to improve 'git shortlog' statistics Alex Bennée
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, Daniel P . Berrangé,
	Philippe Mathieu-Daudé,
	qemu-devel, Aleksandar Markovic

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Use the email address where I spend most of my time.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190822230916.576-3-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/.mailmap b/.mailmap
index e1fdc88d25d..e68ddd26e67 100644
--- a/.mailmap
+++ b/.mailmap
@@ -32,6 +32,7 @@ Aleksandar Markovic <amarkovic@wavecomp.com> <aleksandar.markovic@imgtec.com>
 Paul Burton <pburton@wavecomp.com> <paul.burton@mips.com>
 Paul Burton <pburton@wavecomp.com> <paul.burton@imgtec.com>
 Paul Burton <pburton@wavecomp.com> <paul@archlinuxmips.org>
+Philippe Mathieu-Daudé <philmd@redhat.com> <f4bug@amsat.org>
 Yongbok Kim <yongbok.kim@mips.com> <yongbok.kim@imgtec.com>
 
 # Also list preferred name forms where people have changed their
-- 
2.20.1



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

* [Qemu-devel] [PULL 07/12] mailmap: Add many entries to improve 'git shortlog' statistics
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (5 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 06/12] mailmap: Update philmd email address Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 08/12] .mailmap/aliases: add some further commentary Alex Bennée
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, Philippe Mathieu-Daudé,
	qemu-devel, Aleksandar Markovic

From: Philippe Mathieu-Daudé <philmd@redhat.com>

All of these emails have a least 1 commit with utf8/latin1 encoding
issue, or one with no author name.
When there are multiple commits, keep the author name the most used.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190822230916.576-4-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/.mailmap b/.mailmap
index e68ddd26e67..d0fc1d793c6 100644
--- a/.mailmap
+++ b/.mailmap
@@ -37,5 +37,110 @@ Yongbok Kim <yongbok.kim@mips.com> <yongbok.kim@imgtec.com>
 
 # Also list preferred name forms where people have changed their
 # git author config, or had utf8/latin1 encoding issues.
+Aaron Lindsay <aaron@os.amperecomputing.com>
+Alexey Gerasimenko <x1917x@gmail.com>
+Alex Ivanov <void@aleksoft.net>
+Andreas Färber <afaerber@suse.de>
+Bandan Das <bsd@redhat.com>
+Benjamin MARSILI <mlspirat42@gmail.com>
+Benoît Canet <benoit.canet@gmail.com>
+Benoît Canet <benoit.canet@irqsave.net>
+Benoît Canet <benoit.canet@nodalink.com>
+Boqun Feng <boqun.feng@gmail.com>
+Boqun Feng <boqun.feng@intel.com>
+Brad Smith <brad@comstyle.com>
+Brijesh Singh <brijesh.singh@amd.com>
+Brilly Wu <brillywu@viatech.com.cn>
+Cédric Vincent <cedric.vincent@st.com>
+CheneyLin <linzc@zju.edu.cn>
+Chen Gang <chengang@emindsoft.com.cn>
+Chen Gang <gang.chen.5i5j@gmail.com>
+Chen Gang <gang.chen@sunrus.com.cn>
+Chen Wei-Ren <chenwj@iis.sinica.edu.tw>
+Christophe Lyon <christophe.lyon@st.com>
+Collin L. Walling <walling@linux.ibm.com>
 Daniel P. Berrangé <berrange@redhat.com>
+Eduardo Otubo <otubo@redhat.com>
+Fabrice Desclaux <fabrice.desclaux@cea.fr>
+Fernando Luis Vázquez Cao <fernando_b1@lab.ntt.co.jp>
+Fernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>
+Gautham R. Shenoy <ego@in.ibm.com>
+Gautham R. Shenoy <ego@linux.vnet.ibm.com>
+Gonglei (Arei) <arei.gonglei@huawei.com>
+Guang Wang <wang.guang55@zte.com.cn>
+Hailiang Zhang <zhang.zhanghailiang@huawei.com>
+Hervé Poussineau <hpoussin@reactos.org>
+Jakub Jermář <jakub@jermar.eu>
+Jakub Jermář <jakub.jermar@kernkonzept.com>
+Jean-Christophe Dubois <jcd@tribudubois.net>
+Jindřich Makovička <makovick@gmail.com>
+John Arbuckle <programmingkidx@gmail.com>
+Juha Riihimäki <juha.riihimaki@nokia.com>
+Juha Riihimäki <Juha.Riihimaki@nokia.com>
+Jun Li <junmuzi@gmail.com>
+Laurent Vivier <Laurent@lvivier.info>
+Leandro Lupori <leandro.lupori@gmail.com>
+Li Guang <lig.fnst@cn.fujitsu.com>
+Liming Wang <walimisdev@gmail.com>
+linzhecheng <linzc@zju.edu.cn>
+Liran Schour <lirans@il.ibm.com>
+Liu Yu <yu.liu@freescale.com>
+Liu Yu <Yu.Liu@freescale.com>
+Li Zhang <zhlcindy@gmail.com>
+Li Zhang <zhlcindy@linux.vnet.ibm.com>
+Lluís Vilanova <vilanova@ac.upc.edu>
+Lluís Vilanova <xscript@gmx.net>
+Longpeng (Mike) <longpeng2@huawei.com>
+Luc Michel <luc.michel@git.antfield.fr>
+Luc Michel <luc.michel@greensocs.com>
+Marc Marí <marc.mari.barcelo@gmail.com>
+Marc Marí <markmb@redhat.com>
+Michael Avdienko <whitearchey@gmail.com>
+Michael S. Tsirkin <mst@redhat.com>
+Munkyu Im <munkyu.im@samsung.com>
+Nicholas Bellinger <nab@linux-iscsi.org>
+Nicholas Thomas <nick@bytemark.co.uk>
+Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
+Orit Wasserman <owasserm@redhat.com>
+Paolo Bonzini <pbonzini@redhat.com>
+Pavel Dovgaluk <dovgaluk@ispras.ru>
+Pavel Dovgaluk <pavel.dovgaluk@gmail.com>
+Pavel Dovgaluk <Pavel.Dovgaluk@ispras.ru>
+Peter Crosthwaite <crosthwaite.peter@gmail.com>
+Peter Crosthwaite <peter.crosthwaite@petalogix.com>
+Peter Crosthwaite <peter.crosthwaite@xilinx.com>
+Prasad J Pandit <pjp@fedoraproject.org>
+Prasad J Pandit <ppandit@redhat.com>
+Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
+Remy Noel <remy.noel@blade-group.com>
+Roger Pau Monné <roger.pau@citrix.com>
+Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp>
+Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
+Sochin Jiang <sochin.jiang@huawei.com>
+Takashi Yoshii <takasi-y@ops.dti.ne.jp>
+Thomas Huth <thuth@redhat.com>
+Thomas Knych <thomaswk@google.com>
+Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
+Tony Nguyen <tony.nguyen@bt.com>
+Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
+Vibi Sreenivasan <vibi_sreenivasan@cms.com>
+Vijaya Kumar K <vijayak@cavium.com>
+Vijaya Kumar K <Vijaya.Kumar@cavium.com>
+Vijay Kumar <vijaykumar@bravegnu.org>
+Vijay Kumar <vijaykumar@zilogic.com>
+Wang Guang <wang.guang55@zte.com.cn>
+Wenchao Xia <xiawenc@linux.vnet.ibm.com>
+Wenshuang Ma <kevinnma@tencent.com>
+Xiaoqiang Zhao <zxq_yx_007@163.com>
+Xinhua Cao <caoxinhua@huawei.com>
+Xiong Zhang <xiong.y.zhang@intel.com>
+Yin Yin <yin.yin@cs2c.com.cn>
+yuchenlin <npes87184@gmail.com>
+YunQiang Su <syq@debian.org>
+YunQiang Su <ysu@wavecomp.com>
+Yuri Pudgorodskiy <yur@virtuozzo.com>
+Zhengui Li <lizhengui@huawei.com>
+Zhenwei Pi <pizhenwei@bytedance.com>
+Zhenwei Pi <zhenwei.pi@youruncloud.com>
+Zhuang Yanying <ann.zhuangyanying@huawei.com>
-- 
2.20.1



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

* [Qemu-devel] [PULL 08/12] .mailmap/aliases: add some further commentary
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (6 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 07/12] mailmap: Add many entries to improve 'git shortlog' statistics Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 09/12] contrib/gitdm: Add RT-RK to the domain-map Alex Bennée
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell; +Cc: Alex Bennée, qemu-devel, Aleksandar Markovic

The two files are not interchangeable but a change to one *might*
require a change to the other so lets flag that up with an explanation
of what both files are trying to achieve. While we are at it document
the many forms .mailmap can take in the header.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>

diff --git a/.mailmap b/.mailmap
index d0fc1d793c6..0756a0bf66d 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1,4 +1,18 @@
 # This mailmap fixes up author names/addresses.
+#
+# If you are adding to this file consider if a similar change needs to
+# be made to contrib/gitdm/aliases. They are not however completely
+# analogous. .mailmap is concerned with fixing up damaged author
+# fields where as the gitdm equivalent is more concerned with making
+# sure multiple email addresses get mapped onto the same author.
+#
+# From man git-shortlog the forms are:
+#
+#  Proper Name <commit@email.xx>
+#  <proper@email.xx> <commit@email.xx>
+#  Proper Name <proper@email.xx> <commit@email.xx>
+#  Proper Name <proper@email.xx> Commit Name <commit@email.xx>
+#
 
 # The first section translates weird addresses from the original git import
 # into proper addresses so that they are counted properly by git shortlog.
diff --git a/contrib/gitdm/aliases b/contrib/gitdm/aliases
index 07fd3391a56..c1e744312f5 100644
--- a/contrib/gitdm/aliases
+++ b/contrib/gitdm/aliases
@@ -1,6 +1,22 @@
 #
-# This is the email aliases file, mapping secondary addresses
-# onto a single, canonical address. Duplicates some info from .mailmap
+# This is the email aliases file, mapping secondary addresses onto a
+# single, canonical address. It duplicates some info from .mailmap so
+# if you are adding something here also consider if the .mailmap needs
+# updating.
+#
+# If you just want to avoid gitdm complaining about author fields
+# which are actually email addresses with the message:
+#
+#   "...is an author name, probably not what you want"
+#
+# you can just apply --use-mailmap to you git-log command, e.g:
+#
+#   git log --use-mailmap --numstat --since "last 2 years" | $GITDM
+#
+# however that will have the effect of squashing multiple addresses to
+# a canonical address which will distort the stats of those who
+# contribute in both personal and professional capacities from
+# different addresses.
 #
 
 # weird commits
diff --git a/contrib/gitdm/group-map-individuals b/contrib/gitdm/group-map-individuals
index 05e355d30ec..1c847174380 100644
--- a/contrib/gitdm/group-map-individuals
+++ b/contrib/gitdm/group-map-individuals
@@ -2,7 +2,8 @@
 # Individual and personal contributors
 #
 # This is simply to allow prolific developers with no company
-# affiliations to be grouped together in the summary stats.
+# affiliations (or non-company related personal work) to be grouped
+# together in the summary stats.
 #
 
 f4bug@amsat.org
-- 
2.20.1



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

* [Qemu-devel] [PULL 09/12] contrib/gitdm: Add RT-RK to the domain-map
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (7 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 08/12] .mailmap/aliases: add some further commentary Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 10/12] build-sys: build ui-spice-app as a module Alex Bennée
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Alex Bennée, Philippe Mathieu-Daudé,
	qemu-devel, Aleksandar Markovic

From: Philippe Mathieu-Daudé <philmd@redhat.com>

This company has at least 7 contributors, add a domain-map entry.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190822231231.1306-1-philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/contrib/gitdm/domain-map b/contrib/gitdm/domain-map
index fa9d454473d..9efe066ec9c 100644
--- a/contrib/gitdm/domain-map
+++ b/contrib/gitdm/domain-map
@@ -18,6 +18,7 @@ nokia.com       Nokia
 oracle.com      Oracle
 proxmox.com     Proxmox
 redhat.com      Red Hat
+rt-rk.com       RT-RK
 siemens.com     Siemens
 sifive.com      SiFive
 suse.de         SUSE
-- 
2.20.1



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

* [Qemu-devel] [PULL 10/12] build-sys: build ui-spice-app as a module
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (8 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 09/12] contrib/gitdm: Add RT-RK to the domain-map Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 11/12] tests: fix modules-test with no default machine Alex Bennée
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Laurent Vivier, Thomas Huth, qemu-devel, Gerd Hoffmann,
	Paolo Bonzini, Marc-André Lureau, Alex Bennée

From: Marc-André Lureau <marcandre.lureau@redhat.com>

This reverts commit 45db1ac157 ("modules-test: ui-spice-app is not
built as module") and fixes commit d8aec9d9f1 ("display: add -display
spice-app launching a Spice client").

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190827140241.20818-1-marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/tests/modules-test.c b/tests/modules-test.c
index f9de3afdb77..a8118e90427 100644
--- a/tests/modules-test.c
+++ b/tests/modules-test.c
@@ -52,6 +52,9 @@ int main(int argc, char *argv[])
 #endif
 #ifdef CONFIG_SDL
         "ui-", "sdl",
+#endif
+#if defined(CONFIG_SPICE) && defined(CONFIG_GIO)
+        "ui-", "spice-app",
 #endif
     };
     int i;
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index cc2bf5b180f..ba39080edb2 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -49,7 +49,9 @@ curses.mo-objs := curses.o
 curses.mo-cflags := $(CURSES_CFLAGS) $(ICONV_CFLAGS)
 curses.mo-libs := $(CURSES_LIBS) $(ICONV_LIBS)
 
-common-obj-$(call land,$(CONFIG_SPICE),$(CONFIG_GIO)) += spice-app.mo
+ifeq ($(CONFIG_GIO)$(CONFIG_SPICE),yy)
+common-obj-$(if $(CONFIG_MODULES),m,y) += spice-app.mo
+endif
 spice-app.mo-objs := spice-app.o
 spice-app.mo-cflags := $(GIO_CFLAGS)
 spice-app.mo-libs := $(GIO_LIBS)
-- 
2.20.1



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

* [Qemu-devel] [PULL 11/12] tests: fix modules-test with no default machine
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (9 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 10/12] build-sys: build ui-spice-app as a module Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-02 10:21 ` [Qemu-devel] [PULL 12/12] tests/docker: upgrade docker.py to python3 Alex Bennée
  2019-09-04 11:28 ` [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Peter Maydell
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Laurent Vivier, Thomas Huth, qemu-devel, Paolo Bonzini,
	Marc-André Lureau, Alex Bennée

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Fixes: eb062cfa733 ("tests: add module loading test")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190827140241.20818-2-marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

diff --git a/tests/modules-test.c b/tests/modules-test.c
index a8118e90427..d1a6ace218c 100644
--- a/tests/modules-test.c
+++ b/tests/modules-test.c
@@ -1,12 +1,14 @@
 #include "qemu/osdep.h"
 #include "libqtest.h"
 
+const char common_args[] = "-nodefaults -machine none";
+
 static void test_modules_load(const void *data)
 {
     QTestState *qts;
     const char **args = (const char **)data;
 
-    qts = qtest_init(NULL);
+    qts = qtest_init(common_args);
     qtest_module_load(qts, args[0], args[1]);
     qtest_quit(qts);
 }
-- 
2.20.1



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

* [Qemu-devel] [PULL 12/12] tests/docker: upgrade docker.py to python3
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (10 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 11/12] tests: fix modules-test with no default machine Alex Bennée
@ 2019-09-02 10:21 ` Alex Bennée
  2019-09-04 11:28 ` [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Peter Maydell
  12 siblings, 0 replies; 14+ messages in thread
From: Alex Bennée @ 2019-09-02 10:21 UTC (permalink / raw)
  To: peter.maydell
  Cc: Fam Zheng, Daniel P . Berrangé, Philippe Mathieu-Daudé,
	qemu-devel, Marc-André Lureau, Alex Bennée

The recent podman changes (9459f754134bb) imported enum which is part
of the python3 standard library but only available as an external
library for python2. This causes problems on the fairly restricted
environment such as shippable. Lets bite the bullet and make the
script a fully python3 one. To that end:

  - drop the from __future__ import (we are there now ;-)
  - avoid the StringIO import hack
  - be consistent with the mode we read/write dockerfiles
  - s/iteritems/items/
  - ensure check_output returns strings for processing

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>

diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index ac5baab4cad..4bba29e104e 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 #
 # Docker controlling module
 #
@@ -11,7 +11,6 @@
 # or (at your option) any later version. See the COPYING file in
 # the top-level directory.
 
-from __future__ import print_function
 import os
 import sys
 import subprocess
@@ -25,10 +24,7 @@ import tempfile
 import re
 import signal
 from tarfile import TarFile, TarInfo
-try:
-    from StringIO import StringIO
-except ImportError:
-    from io import StringIO
+from io import StringIO
 from shutil import copy, rmtree
 from pwd import getpwuid
 from datetime import datetime, timedelta
@@ -62,11 +58,13 @@ USE_ENGINE = EngineEnum.AUTO
 
 def _text_checksum(text):
     """Calculate a digest string unique to the text content"""
-    return hashlib.sha1(text).hexdigest()
+    return hashlib.sha1(text.encode('utf-8')).hexdigest()
 
+def _read_dockerfile(path):
+    return open(path, 'rt', encoding='utf-8').read()
 
 def _file_checksum(filename):
-    return _text_checksum(open(filename, 'rb').read())
+    return _text_checksum(_read_dockerfile(filename))
 
 
 def _guess_engine_command():
@@ -192,7 +190,7 @@ def _read_qemu_dockerfile(img_name):
 
     df = os.path.join(os.path.dirname(__file__), "dockerfiles",
                       img_name + ".docker")
-    return open(df, "r").read()
+    return _read_dockerfile(df)
 
 
 def _dockerfile_preprocess(df):
@@ -262,6 +260,7 @@ class Docker(object):
     def _output(self, cmd, **kwargs):
         return subprocess.check_output(self._command + cmd,
                                        stderr=subprocess.STDOUT,
+                                       encoding='utf-8',
                                        **kwargs)
 
     def inspect_tag(self, tag):
@@ -283,7 +282,9 @@ class Docker(object):
         if argv is None:
             argv = []
 
-        tmp_df = tempfile.NamedTemporaryFile(dir=docker_dir, suffix=".docker")
+        tmp_df = tempfile.NamedTemporaryFile(mode="w+t",
+                                             encoding='utf-8',
+                                             dir=docker_dir, suffix=".docker")
         tmp_df.write(dockerfile)
 
         if user:
@@ -396,7 +397,7 @@ class BuildCommand(SubCommand):
                             help="Dockerfile name")
 
     def run(self, args, argv):
-        dockerfile = open(args.dockerfile, "rb").read()
+        dockerfile = _read_dockerfile(args.dockerfile)
         tag = args.tag
 
         dkr = Docker()
@@ -442,7 +443,7 @@ class BuildCommand(SubCommand):
                 cksum += [(filename, _file_checksum(filename))]
 
             argv += ["--build-arg=" + k.lower() + "=" + v
-                     for k, v in os.environ.iteritems()
+                     for k, v in os.environ.items()
                      if k.lower() in FILTERED_ENV_NAMES]
             dkr.build_image(tag, docker_dir, dockerfile,
                             quiet=args.quiet, user=args.user, argv=argv,
@@ -611,7 +612,7 @@ class CheckCommand(SubCommand):
                 print("Need a dockerfile for tag:%s" % (tag))
                 return 1
 
-            dockerfile = open(args.dockerfile, "rb").read()
+            dockerfile = _read_dockerfile(args.dockerfile)
 
             if dkr.image_matches_dockerfile(tag, dockerfile):
                 if not args.quiet:
-- 
2.20.1



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

* Re: [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing
  2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
                   ` (11 preceding siblings ...)
  2019-09-02 10:21 ` [Qemu-devel] [PULL 12/12] tests/docker: upgrade docker.py to python3 Alex Bennée
@ 2019-09-04 11:28 ` Peter Maydell
  12 siblings, 0 replies; 14+ messages in thread
From: Peter Maydell @ 2019-09-04 11:28 UTC (permalink / raw)
  To: Alex Bennée; +Cc: QEMU Developers

On Mon, 2 Sep 2019 at 11:21, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> The following changes since commit 23919ddfd56135cad3cb468a8f54d5a595f024f4:
>
>   Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190827' into staging (2019-08-27 15:52:36 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/stsquad/qemu.git tags/pull-gdbstub-gitdm-testing-020919-1
>
> for you to fetch changes up to 4112aff7cdd932f273e920911a45a5d5a2d5d299:
>
>   tests/docker: upgrade docker.py to python3 (2019-09-02 10:52:22 +0100)
>
> ----------------------------------------------------------------
> Various maintainer updates
>
>    - fixes for gdbstub regressions
>    - bunch of gitdm/mailmap updates
>    - module fixes for Travis
>    - docker fixes for shippable
>
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM


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

end of thread, other threads:[~2019-09-04 11:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 10:21 [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 01/12] gdbstub: Fix handling of '!' packet with new infra Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 02/12] gdbstub: Fix handler for 'F' packet Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 03/12] contrib/gitdm: filetype interface is not in order, fix Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 04/12] contrib/gitdm: Add armbru@pond.sub.org to group-map-redhat Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 05/12] mailmap: Reorder by sections Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 06/12] mailmap: Update philmd email address Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 07/12] mailmap: Add many entries to improve 'git shortlog' statistics Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 08/12] .mailmap/aliases: add some further commentary Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 09/12] contrib/gitdm: Add RT-RK to the domain-map Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 10/12] build-sys: build ui-spice-app as a module Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 11/12] tests: fix modules-test with no default machine Alex Bennée
2019-09-02 10:21 ` [Qemu-devel] [PULL 12/12] tests/docker: upgrade docker.py to python3 Alex Bennée
2019-09-04 11:28 ` [Qemu-devel] [PULL 00/12] fixes for gdbstub, gitdm and testing Peter Maydell

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