Skip to contentSkip to conversation

Trivial branch patches

GIT PULL Applied Laurent Vivier 7 participants 45 messages Mar 9, 2020 – Mar 10, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

The following changes since commit 7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

----------------------------------------------------------------
- includes cleanup
- reduce .data footprint
- fix warnings reported by Clang static code analyzer
- fix dp8393x part lost in merge
- update git.orderfile and rules.mak

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

Chen Qun (7):
block/stream: Remove redundant statement in stream_run() block/file-posix: Remove redundant statement in raw_handle_perm_lock() dma/xlnx-zdma: Remove redundant statement in zdma_write_dst() scsi/scsi-disk: Remove redundant statement in
scsi_disk_emulate_command()
display/pxa2xx_lcd: Remove redundant statement in
pxa2xx_palette_parse()
display/exynos4210_fimd: Remove redundant statement in

    exynos4210_fimd_update()

monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups()

Eric Blake (1):
maint: Include top-level *.rst files early in git diff

Finn Thain (1):
dp8393x: Mask EOL bit from descriptor addresses, take 2

Pan Nengyuan (1):
core/qdev: fix memleak in qdev_get_gpio_out_connector()

Philippe Mathieu-Daudé (23):
build-sys: Move the print-variable rule to rules.mak hw/audio/fmopl: Fix a typo twice
hw/net/e1000: Add readops/writeops typedefs hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data
virtfs-proxy-helper: Make the helper_opts[] array const
vl: Add missing "hw/boards.h" include hw/southbridge/ich9: Removed unused headers hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header hw/timer: Remove unused "ui/console.h" header hw/usb/dev-storage: Remove unused "ui/console.h" header hw/i386/intel_iommu: Remove unused includes hw/alpha/alpha_sys: Remove unused "hw/ide.h" header hw/alpha/dp264: Include "net/net.h"
hw/hppa/machine: Include "net/net.h" hw/acpi/cpu_hotplug: Include "hw/pci/pci.h" hw/timer/hpet: Include "exec/address-spaces.h" hw/pci-host/q35: Include "qemu/range.h" hw/i2c/smbus_ich9: Include "qemu/range.h" hw/pci-host/piix: Include "qemu/range.h"
hw/acpi: Include "hw/mem/nvdimm.h"
hw/i386: Include "hw/mem/nvdimm.h"
hw/pci-host/q35: Remove unused includes
hw/i386/pc: Clean up includes

 Makefile                          |  3 ---
 block/file-posix.c                |  1 -
 block/stream.c                    |  3 +--
 fsdev/virtfs-proxy-helper.c       |  2 +-
 hw/acpi/cpu_hotplug.c             |  1 +
 hw/acpi/ich9.c                    |  2 +-
 hw/acpi/piix4.c                   |  1 +
 hw/alpha/alpha_sys.h              |  1 -
 hw/alpha/dp264.c                  |  1 +
 hw/audio/fmopl.c                  |  4 ++--
 hw/core/qdev.c                    |  2 +-
 hw/display/exynos4210_fimd.c      |  1 -
 hw/display/pxa2xx_lcd.c           |  1 -
 hw/dma/xlnx-zdma.c                | 10 +++++-----
 hw/hppa/machine.c                 |  1 +
 hw/i2c/smbus_ich9.c               |  1 +
 hw/i386/acpi-build.c              |  1 +
 hw/i386/pc.c                      |  1 +
 hw/i386/pc_piix.c                 |  1 +
 hw/i386/pc_q35.c                  |  1 +
 hw/isa/lpc_ich9.c                 |  1 -
 hw/net/dp8393x.c                  |  4 ++--
 hw/net/e1000.c                    |  6 ++++--
 hw/net/e1000e_core.c              |  6 ++++--
 hw/pci-host/i440fx.c              |  1 +
 hw/pci-host/q35.c                 |  1 +
 hw/rtc/twl92230.c                 |  1 -
 hw/scsi/scsi-disk.c               |  1 -
 hw/timer/hpet.c                   |  2 +-
 hw/usb/dev-storage.c              |  1 -
 include/hw/i386/ich9.h            |  1 -
 include/hw/i386/intel_iommu.h     |  4 ----
 include/hw/i386/ioapic_internal.h |  1 -
 include/hw/i386/pc.h              | 11 +++--------
 include/hw/pci-host/q35.h         |  8 +-------
 monitor/hmp-cmds.c                |  5 +----
 rules.mak                         |  3 +++
 scripts/git.orderfile             |  1 +
 softmmu/vl.c                      |  1 +
 39 files changed, 43 insertions(+), 55 deletions(-)
Signature · 1 line
2.24.1
#1 lore raw

[PULL 03/33] build-sys: Move the print-variable rule to rules.mak

From: Philippe Mathieu-Daudé <[email protected]>

Currently the print-variable rule can only be used in the root directory:

  $ make print-vhost-user-json-y
  vhost-user-json-y= contrib/vhost-user-gpu/50-qemu-gpu.json tools/virtiofsd/50-qemu-virtiofsd.json
  $ make -C i386-softmmu print-obj-y
  make: Entering directory 'build/i386-softmmu'
  make: *** No rule to make target 'print-obj-y'.  Stop.
  make: Leaving directory 'build/i386-softmmu'

Move it to rules.mak so we can use it from other directories:

  $ make -C i386-softmmu print-obj-y
  make: Entering directory 'build/i386-softmmu'
  obj-y=qapi-introspect.o qapi-types-machine-target.o qapi-types-misc-target.o qapi-types.o qapi-visit-machine-target.o qapi-visit-misc-target.o qapi-visit.o qapi-events-machine-target.o qapi-events-misc-target.o qapi-events.o qapi-commands-machine-target.o qapi-commands-misc-target.o qapi-commands.o qapi-init-commands.o
  make: Leaving directory 'build/i386-softmmu'

Message-Id: <[email protected]>

---
 Makefile  | 3 ---
 rules.mak | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
Makefile +0 -3
index 2e930688942b..37aed4a24422 100644
@@ -15,9 +15,6 @@ UNCHECKED_GOALS := %clean TAGS cscope ctags dist \
     help check-help print-% \
     docker docker-% vm-help vm-test vm-build-%
 
-print-%:
-	@echo '$*=$($*)'
-
 # All following code might depend on configuration variables
 ifneq ($(wildcard config-host.mak),)
 # Put the all: rule here so that config-host.mak can contain dependencies.
rules.mak +3 -0
index e39b073d4648..694865b63ee8 100644
@@ -435,3 +435,6 @@ sentinel = .$(subst $(SPACE),_,$(subst /,_,$1)).sentinel.
 atomic = $(eval $1: $(call sentinel,$1) ; @:) \
          $(call sentinel,$1) : $2 ; @touch $$@ \
          $(foreach t,$1,$(if $(wildcard $t),,$(shell rm -f $(call sentinel,$1))))
+
+print-%:
+	@echo '$*=$($*)'
Signature · 1 line
2.24.1
#2 lore raw

[PULL 05/33] hw/net/e1000: Add readops/writeops typedefs

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Express the macreg[] arrays using typedefs.
No logical changes introduced here.

Message-Id: <[email protected]>

---
 hw/net/e1000.c       | 6 ++++--
 hw/net/e1000e_core.c | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
hw/net/e1000.c +4 -2
index 0b833d5a152e..972d9b508399 100644
@@ -1150,7 +1150,8 @@ set_ims(E1000State *s, int index, uint32_t val)
 }
 
 #define getreg(x)    [x] = mac_readreg
-static uint32_t (*macreg_readops[])(E1000State *, int) = {
+typedef uint32_t (*readops)(E1000State *, int);
+static readops macreg_readops[] = {
     getreg(PBA),      getreg(RCTL),     getreg(TDH),      getreg(TXDCTL),
     getreg(WUFC),     getreg(TDT),      getreg(CTRL),     getreg(LEDCTL),
     getreg(MANC),     getreg(MDIC),     getreg(SWSM),     getreg(STATUS),
@@ -1205,7 +1206,8 @@ static uint32_t (*macreg_readops[])(E1000State *, int) = {
 enum { NREADOPS = ARRAY_SIZE(macreg_readops) };
 
 #define putreg(x)    [x] = mac_writereg
-static void (*macreg_writeops[])(E1000State *, int, uint32_t) = {
+typedef void (*writeops)(E1000State *, int, uint32_t);
+static writeops macreg_writeops[] = {
     putreg(PBA),      putreg(EERD),     putreg(SWSM),     putreg(WUFC),
     putreg(TDBAL),    putreg(TDBAH),    putreg(TXDCTL),   putreg(RDBAH),
     putreg(RDBAL),    putreg(LEDCTL),   putreg(VET),      putreg(FCRUC),
hw/net/e1000e_core.c +4 -2
index 94ea34dca56d..38bdb90114c6 100644
@@ -2855,7 +2855,8 @@ e1000e_set_gcr(E1000ECore *core, int index, uint32_t val)
 }
 
 #define e1000e_getreg(x)    [x] = e1000e_mac_readreg
-static uint32_t (*e1000e_macreg_readops[])(E1000ECore *, int) = {
+typedef uint32_t (*readops)(E1000ECore *, int);
+static readops e1000e_macreg_readops[] = {
     e1000e_getreg(PBA),
     e1000e_getreg(WUFC),
     e1000e_getreg(MANC),
@@ -3061,7 +3062,8 @@ static uint32_t (*e1000e_macreg_readops[])(E1000ECore *, int) = {
 enum { E1000E_NREADOPS = ARRAY_SIZE(e1000e_macreg_readops) };
 
 #define e1000e_putreg(x)    [x] = e1000e_mac_writereg
-static void (*e1000e_macreg_writeops[])(E1000ECore *, int, uint32_t) = {
+typedef void (*writeops)(E1000ECore *, int, uint32_t);
+static writeops e1000e_macreg_writeops[] = {
     e1000e_putreg(PBA),
     e1000e_putreg(SWSM),
     e1000e_putreg(WUFC),
Signature · 1 line
2.24.1
#3 lore raw

[PULL 06/33] hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Each array consumes 256KiB of .data. As we do not reassign entries, we can move it to the .rodata section, and save a total of 1MiB of .data (size reported on x86_64 host).

Message-Id: <[email protected]>

---
 hw/net/e1000.c       | 4 ++--
 hw/net/e1000e_core.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
hw/net/e1000.c +2 -2
index 972d9b508399..9233248c9af0 100644
@@ -1151,7 +1151,7 @@ set_ims(E1000State *s, int index, uint32_t val)
 
 #define getreg(x)    [x] = mac_readreg
 typedef uint32_t (*readops)(E1000State *, int);
-static readops macreg_readops[] = {
+static const readops macreg_readops[] = {
     getreg(PBA),      getreg(RCTL),     getreg(TDH),      getreg(TXDCTL),
     getreg(WUFC),     getreg(TDT),      getreg(CTRL),     getreg(LEDCTL),
     getreg(MANC),     getreg(MDIC),     getreg(SWSM),     getreg(STATUS),
@@ -1207,7 +1207,7 @@ enum { NREADOPS = ARRAY_SIZE(macreg_readops) };
 
 #define putreg(x)    [x] = mac_writereg
 typedef void (*writeops)(E1000State *, int, uint32_t);
-static writeops macreg_writeops[] = {
+static const writeops macreg_writeops[] = {
     putreg(PBA),      putreg(EERD),     putreg(SWSM),     putreg(WUFC),
     putreg(TDBAL),    putreg(TDBAH),    putreg(TXDCTL),   putreg(RDBAH),
     putreg(RDBAL),    putreg(LEDCTL),   putreg(VET),      putreg(FCRUC),
hw/net/e1000e_core.c +2 -2
index 38bdb90114c6..df957e0c1a09 100644
@@ -2856,7 +2856,7 @@ e1000e_set_gcr(E1000ECore *core, int index, uint32_t val)
 
 #define e1000e_getreg(x)    [x] = e1000e_mac_readreg
 typedef uint32_t (*readops)(E1000ECore *, int);
-static readops e1000e_macreg_readops[] = {
+static const readops e1000e_macreg_readops[] = {
     e1000e_getreg(PBA),
     e1000e_getreg(WUFC),
     e1000e_getreg(MANC),
@@ -3063,7 +3063,7 @@ enum { E1000E_NREADOPS = ARRAY_SIZE(e1000e_macreg_readops) };
 
 #define e1000e_putreg(x)    [x] = e1000e_mac_writereg
 typedef void (*writeops)(E1000ECore *, int, uint32_t);
-static writeops e1000e_macreg_writeops[] = {
+static const writeops e1000e_macreg_writeops[] = {
     e1000e_putreg(PBA),
     e1000e_putreg(SWSM),
     e1000e_putreg(WUFC),
Signature · 1 line
2.24.1
#4 lore raw

[PULL 04/33] hw/audio/fmopl: Fix a typo twice

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Message-Id: <[email protected]>

---
 hw/audio/fmopl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/audio/fmopl.c +2 -2
index 9f50a89b4a88..173a7521f2a7 100644
@@ -1066,7 +1066,7 @@ static void OPLResetChip(FM_OPL *OPL)
 	}
 }
 
-/* ----------  Create one of vietual YM3812 ----------       */
+/* ----------  Create one of virtual YM3812 ----------       */
 /* 'rate'  is sampling rate and 'bufsiz' is the size of the  */
 FM_OPL *OPLCreate(int clock, int rate)
 {
@@ -1115,7 +1115,7 @@ FM_OPL *OPLCreate(int clock, int rate)
 	return OPL;
 }
 
-/* ----------  Destroy one of vietual YM3812 ----------       */
+/* ----------  Destroy one of virtual YM3812 ----------       */
 void OPLDestroy(FM_OPL *OPL)
 {
 #ifdef OPL_OUTPUT_LOG
Signature · 1 line
2.24.1
#5 lore raw

[PULL 08/33] vl: Add missing "hw/boards.h" include

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

vl.c calls machine_usb() declared in "hw/boards.h". Include it.

This fixes (when modifying unrelated headers):

vl.c:1283:10: error: implicit declaration of function 'machine_usb' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

      if (!machine_usb(current_machine)) {
           ^
  vl.c:1283:10: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
  vl.c:1283:22: error: use of undeclared identifier 'current_machine'
      if (!machine_usb(current_machine)) {
                       ^

Message-Id: <[email protected]>

---
 softmmu/vl.c | 1 +
 1 file changed, 1 insertion(+)
softmmu/vl.c +1 -0
index 5549f4b61986..ff2685dff845 100644
@@ -25,6 +25,7 @@
 #include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu/units.h"
+#include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qapi/error.h"
 #include "qemu-version.h"
Signature · 1 line
2.24.1
#6 lore raw

[PULL 02/33] maint: Include top-level *.rst files early in git diff

In reply to Laurent Vivier

From: Eric Blake <[email protected]>

We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.

Message-Id: <[email protected]>

---
 scripts/git.orderfile | 1 +
 1 file changed, 1 insertion(+)
scripts/git.orderfile +1 -0
index 7cf22e0bf546..73fd818d7f3e 100644
@@ -11,6 +11,7 @@
 
 # Documentation
 docs/*
+*.rst
 *.texi
 
 # build system
Signature · 1 line
2.24.1
#7 lore raw

[PULL 11/33] hw/timer: Remove unused "ui/console.h" header

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

The timer models don't need anything from "ui/console.h". Remove it.

Message-Id: <[email protected]>

---
 hw/rtc/twl92230.c | 1 -
 hw/timer/hpet.c   | 1 -
 2 files changed, 2 deletions(-)
hw/rtc/twl92230.c +0 -1
index 63bd13d2caa4..d0011be89eef 100644
@@ -27,7 +27,6 @@
 #include "migration/qemu-file-types.h"
 #include "migration/vmstate.h"
 #include "sysemu/sysemu.h"
-#include "ui/console.h"
 #include "qemu/bcd.h"
 #include "qemu/module.h"
 
hw/timer/hpet.c +0 -1
index 8dbcbdca16a6..4f30dd50a40a 100644
@@ -27,7 +27,6 @@
 #include "qemu/osdep.h"
 #include "hw/i386/pc.h"
 #include "hw/irq.h"
-#include "ui/console.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
Signature · 1 line
2.24.1
#8 lore raw

[PULL 12/33] hw/usb/dev-storage: Remove unused "ui/console.h" header

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

The USB models related to storage don't need anything from "ui/console.h". Remove it.

Message-Id: <[email protected]>

---
 hw/usb/dev-storage.c | 1 -
 1 file changed, 1 deletion(-)
hw/usb/dev-storage.c +0 -1
index 90da008df18c..4883c1d89e0c 100644
@@ -17,7 +17,6 @@
 #include "desc.h"
 #include "hw/qdev-properties.h"
 #include "hw/scsi/scsi.h"
-#include "ui/console.h"
 #include "migration/vmstate.h"
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
Signature · 1 line
2.24.1
#9 lore raw

[PULL 01/33] dp8393x: Mask EOL bit from descriptor addresses, take 2

In reply to Laurent Vivier

From: Finn Thain <[email protected]>

A portion of a recent patch got lost due to a merge snafu. That patch is now commit 88f632fbb1 ("dp8393x: Mask EOL bit from descriptor addresses"). This patch restores the portion that got lost.

Message-Id: <[email protected]>

---
 hw/net/dp8393x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/net/dp8393x.c +2 -2
index 8a3504d9628e..81fc13ee9fa7 100644
@@ -525,8 +525,8 @@ static void dp8393x_do_transmit_packets(dp8393xState *s)
                                  * (4 + 3 * s->regs[SONIC_TFC]),
                                MEMTXATTRS_UNSPECIFIED, s->data,
                                size);
-            s->regs[SONIC_CTDA] = dp8393x_get(s, width, 0) & ~0x1;
-            if (dp8393x_get(s, width, 0) & SONIC_DESC_EOL) {
+            s->regs[SONIC_CTDA] = dp8393x_get(s, width, 0);
+            if (s->regs[SONIC_CTDA] & SONIC_DESC_EOL) {
                 /* EOL detected */
                 break;
             }
Signature · 1 line
2.24.1
#10 lore raw

[PULL 09/33] hw/southbridge/ich9: Removed unused headers

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

The ICH9 chipset is not X86/PC specific.

These files don't use anything declared by the "hw/i386/pc.h" or "hw/i386/ioapic.h" headers. Remove them.

Message-Id: <[email protected]>

---
 hw/acpi/ich9.c         | 1 -
 hw/isa/lpc_ich9.c      | 1 -
 include/hw/i386/ich9.h | 1 -
 3 files changed, 3 deletions(-)
hw/acpi/ich9.c +0 -1
index 2034dd749edc..fdd0a6c79e11 100644
@@ -27,7 +27,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/visitor.h"
-#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "migration/vmstate.h"
 #include "qemu/timer.h"
hw/isa/lpc_ich9.c +0 -1
index f85b484eac63..cb79616cede8 100644
@@ -37,7 +37,6 @@
 #include "migration/vmstate.h"
 #include "hw/irq.h"
 #include "hw/isa/apm.h"
-#include "hw/i386/ioapic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_bridge.h"
 #include "hw/i386/ich9.h"
include/hw/i386/ich9.h +0 -1
index 72e803f6e2e0..a98d10b252df 100644
@@ -5,7 +5,6 @@
 #include "hw/sysbus.h"
 #include "hw/i386/pc.h"
 #include "hw/isa/apm.h"
-#include "hw/i386/ioapic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pcie_host.h"
 #include "hw/pci/pci_bridge.h"
Signature · 1 line
2.24.1
#11 lore raw

[PULL 15/33] hw/alpha/dp264: Include "net/net.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/alpha/dp264.c uses NICInfo variables which are declared in "net/net.h". Include it.

This fixes (when modifying unrelated headers):

hw/alpha/dp264.c:89:21: error: use of undeclared identifier 'nb_nics'

      for (i = 0; i < nb_nics; i++) {
                      ^
  hw/alpha/dp264.c:90:30: error: use of undeclared identifier 'nd_table'
          pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
                               ^

Message-Id: <[email protected]>

---
 hw/alpha/dp264.c | 1 +
 1 file changed, 1 insertion(+)
hw/alpha/dp264.c +1 -0
index d28f57199fa1..e5350a287f73 100644
@@ -21,6 +21,7 @@
 #include "hw/dma/i8257.h"
 #include "net/net.h"
 #include "qemu/cutils.h"
+#include "net/net.h"
 
 #define MAX_IDE_BUS 2
 
Signature · 1 line
2.24.1
#12 lore raw

[PULL 19/33] hw/pci-host/q35: Include "qemu/range.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

The MCHPCIState structure uses the Range type which is declared in "qemu/range.h". Include it.

This fixes (when modifying unrelated headers):

In file included from hw/pci-host/q35.c:32:
include/hw/pci-host/q35.h:57:11: error: field has incomplete type 'Range' (aka 'struct Range')

      Range pci_hole;
            ^
  include/qemu/typedefs.h:116:16: note: forward declaration of 'struct Range'
  typedef struct Range Range;
                 ^

Message-Id: <[email protected]>

---
 include/hw/pci-host/q35.h | 1 +
 1 file changed, 1 insertion(+)
include/hw/pci-host/q35.h +1 -0
index 976fbae5996b..47086c645e9f 100644
@@ -33,6 +33,7 @@
 #include "hw/pci-host/pam.h"
 #include "hw/i386/intel_iommu.h"
 #include "qemu/units.h"
+#include "qemu/range.h"
 
 #define TYPE_Q35_HOST_DEVICE "q35-pcihost"
 #define Q35_HOST_DEVICE(obj) \
Signature · 1 line
2.24.1
#13 lore raw

[PULL 13/33] hw/i386/intel_iommu: Remove unused includes

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

intel_iommu.h does not use any of these includes, remove them.

Message-Id: <[email protected]>

---
 include/hw/i386/intel_iommu.h | 4 ----
 1 file changed, 4 deletions(-)
include/hw/i386/intel_iommu.h +0 -4
index 66b931e52628..a1c4afcda5c9 100644
@@ -22,11 +22,7 @@
 #ifndef INTEL_IOMMU_H
 #define INTEL_IOMMU_H
 
-#include "sysemu/dma.h"
 #include "hw/i386/x86-iommu.h"
-#include "hw/i386/ioapic.h"
-#include "hw/pci/msi.h"
-#include "hw/sysbus.h"
 #include "qemu/iova-tree.h"
 
 #define TYPE_INTEL_IOMMU_DEVICE "intel-iommu"
Signature · 1 line
2.24.1
#14 lore raw

[PULL 14/33] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

alpha_sys.h does not use anything from the "hw/ide.h" header. Remove it.

Message-Id: <[email protected]>

---
 hw/alpha/alpha_sys.h | 1 -
 1 file changed, 1 deletion(-)
hw/alpha/alpha_sys.h +0 -1
index bc0a286226f1..e2c02e2bbe1d 100644
@@ -6,7 +6,6 @@
 #include "target/alpha/cpu-qom.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/ide.h"
 #include "hw/boards.h"
 #include "hw/intc/i8259.h"
 
Signature · 1 line
2.24.1
#15 lore raw

[PULL 17/33] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/acpi/cpu_hotplug.c calls pci_address_space_io(). Include "hw/pci/pci.h" which declares it.

This fixes (when modifying unrelated headers):

hw/acpi/cpu_hotplug.c:103:28: error: implicit declaration of function 'pci_address_space_io' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

      MemoryRegion *parent = pci_address_space_io(PCI_DEVICE(gpe_cpu->device));
                             ^

Message-Id: <[email protected]>

---
 hw/acpi/cpu_hotplug.c | 1 +
 1 file changed, 1 insertion(+)
hw/acpi/cpu_hotplug.c +1 -0
index 9c3bcc84de56..3e687d227a65 100644
@@ -14,6 +14,7 @@
 #include "qapi/error.h"
 #include "hw/core/cpu.h"
 #include "hw/i386/pc.h"
+#include "hw/pci/pci.h"
 #include "qemu/error-report.h"
 
 #define CPU_EJECT_METHOD "CPEJ"
Signature · 1 line
2.24.1
#16 lore raw

[PULL 16/33] hw/hppa/machine: Include "net/net.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/hppa/machine.c uses NICInfo variables which are declared in "net/net.h". Include it.

This fixes (when modifying unrelated headers):

hw/hppa/machine.c:126:21: error: use of undeclared identifier 'nb_nics'

      for (i = 0; i < nb_nics; i++) {
                      ^
  hw/hppa/machine.c:127:30: error: use of undeclared identifier 'nd_table'
          pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
                               ^

Message-Id: <[email protected]>

---
 hw/hppa/machine.c | 1 +
 1 file changed, 1 insertion(+)
hw/hppa/machine.c +1 -0
index bf18767e2494..9175f4b790f5 100644
@@ -22,6 +22,7 @@
 #include "qapi/error.h"
 #include "net/net.h"
 #include "qemu/log.h"
+#include "net/net.h"
 
 #define MAX_IDE_BUS 2
 
Signature · 1 line
2.24.1
#17 lore raw

[PULL 20/33] hw/i2c/smbus_ich9: Include "qemu/range.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/i2c/smbus_ich9.c calls range_covers_byte(). Include "qemu/range.h" which declares it.

This fixes (when modifying unrelated headers):

hw/i2c/smbus_ich9.c:66:9: error: implicit declaration of function 'range_covers_byte' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

      if (range_covers_byte(address, len, ICH9_SMB_HOSTC)) {
          ^

Message-Id: <[email protected]>

---
 hw/i2c/smbus_ich9.c | 1 +
 1 file changed, 1 insertion(+)
hw/i2c/smbus_ich9.c +1 -0
index fd50fb851af4..48f1ff419174 100644
@@ -21,6 +21,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/range.h"
 #include "hw/i2c/pm_smbus.h"
 #include "hw/pci/pci.h"
 #include "migration/vmstate.h"
Signature · 1 line
2.24.1
#18 lore raw

[PULL 10/33] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

The "ioapic_internal.h" does not use anything from "hw/i386/ioapic.h", remove it.

Message-Id: <[email protected]>

---
 include/hw/i386/ioapic_internal.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/i386/ioapic_internal.h +0 -1
index d46c87c51030..fe06938bda47 100644
@@ -23,7 +23,6 @@
 #define QEMU_IOAPIC_INTERNAL_H
 
 #include "exec/memory.h"
-#include "hw/i386/ioapic.h"
 #include "hw/sysbus.h"
 #include "qemu/notify.h"
 
Signature · 1 line
2.24.1
#19 lore raw

[PULL 07/33] virtfs-proxy-helper: Make the helper_opts[] array const

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Reduce a bit the memory footprint by making the helper_opts[] array const.

Message-Id: <[email protected]>

---
 fsdev/virtfs-proxy-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fsdev/virtfs-proxy-helper.c +1 -1
index aa1ab2590d42..de061a8a0eaa 100644
@@ -43,7 +43,7 @@
 #define BTRFS_SUPER_MAGIC 0x9123683E
 #endif
 
-static struct option helper_opts[] = {
+static const struct option helper_opts[] = {
     {"fd", required_argument, NULL, 'f'},
     {"path", required_argument, NULL, 'p'},
     {"nodaemon", no_argument, NULL, 'n'},
Signature · 1 line
2.24.1
#20 lore raw

[PULL 22/33] hw/acpi: Include "hw/mem/nvdimm.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Both ich9.c and piix4.c use methods/definitions declared in the NVDIMM device header. Include it.

This fixes (when modifying unrelated headers):

hw/acpi/ich9.c:507:46: error: use of undeclared identifier 'TYPE_NVDIMM'

        if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) {
                                             ^
  hw/acpi/ich9.c:508:13: error: implicit declaration of function 'nvdimm_acpi_plug_cb' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            nvdimm_acpi_plug_cb(hotplug_dev, dev);
            ^
  hw/acpi/piix4.c:403:46: error: use of undeclared identifier 'TYPE_NVDIMM'
        if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) {
                                             ^
  hw/acpi/piix4.c:404:13: error: implicit declaration of function 'nvdimm_acpi_plug_cb' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            nvdimm_acpi_plug_cb(hotplug_dev, dev);
            ^

Message-Id: <[email protected]>

---
 hw/acpi/ich9.c  | 1 +
 hw/acpi/piix4.c | 1 +
 2 files changed, 2 insertions(+)
hw/acpi/ich9.c +1 -0
index fdd0a6c79e11..4e74284b65b7 100644
@@ -39,6 +39,7 @@
 
 #include "hw/i386/ich9.h"
 #include "hw/mem/pc-dimm.h"
+#include "hw/mem/nvdimm.h"
 
 //#define DEBUG
 
hw/acpi/piix4.c +1 -0
index 6d621c31e751..b84dbba2c3e8 100644
@@ -38,6 +38,7 @@
 #include "hw/acpi/cpu.h"
 #include "hw/hotplug.h"
 #include "hw/mem/pc-dimm.h"
+#include "hw/mem/nvdimm.h"
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/acpi/acpi_dev_interface.h"
 #include "hw/xen/xen.h"
Signature · 1 line
2.24.1
#21 lore raw

[PULL 25/33] hw/i386/pc: Clean up includes

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Various headers are not required by hw/i386/pc.h:

- "qemu/range.h"
- "qemu/bitmap.h"
- "qemu/module.h"
- "exec/memory.h"
- "hw/pci/pci.h"
- "hw/mem/pc-dimm.h"
- "hw/mem/nvdimm.h"
- "net/net.h"

Remove them.

Add 3 headers that were missing:

- "hw/hotplug.h"

PCMachineState::acpi_dev is of type HotplugHandler

- "qemu/notify.h"

PCMachineState::machine_done is of type Notifier

- "qapi/qapi-types-common.h"

PCMachineState::vmport/smm is of type OnOffAuto

Message-Id: <[email protected]>

---
 include/hw/i386/pc.h | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
include/hw/i386/pc.h +3 -8
index d5ac76d54e1f..6ab6eda046fd 100644
@@ -1,20 +1,15 @@
 #ifndef HW_PC_H
 #define HW_PC_H
 
-#include "exec/memory.h"
+#include "qemu/notify.h"
+#include "qapi/qapi-types-common.h"
 #include "hw/boards.h"
 #include "hw/block/fdc.h"
 #include "hw/block/flash.h"
-#include "net/net.h"
 #include "hw/i386/x86.h"
 
-#include "qemu/range.h"
-#include "qemu/bitmap.h"
-#include "qemu/module.h"
-#include "hw/pci/pci.h"
-#include "hw/mem/pc-dimm.h"
-#include "hw/mem/nvdimm.h"
 #include "hw/acpi/acpi_dev_interface.h"
+#include "hw/hotplug.h"
 
 #define HPET_INTCAP "hpet-intcap"
 
Signature · 1 line
2.24.1
#22 lore raw

[PULL 24/33] hw/pci-host/q35: Remove unused includes

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Only q35.c requires declarations from "hw/i386/pc.h", move it there. Remove all the includes not used by "q35.h".

Message-Id: <[email protected]>

---
 hw/pci-host/q35.c         | 1 +
 include/hw/pci-host/q35.h | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
hw/pci-host/q35.c +1 -0
index a9b9ccc87657..993f467668dc 100644
@@ -29,6 +29,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "hw/i386/pc.h"
 #include "hw/pci-host/q35.h"
 #include "hw/qdev-properties.h"
 #include "migration/vmstate.h"
include/hw/pci-host/q35.h +0 -7
index 47086c645e9f..070305f83dfd 100644
@@ -22,16 +22,9 @@
 #ifndef HW_Q35_H
 #define HW_Q35_H
 
-#include "hw/isa/isa.h"
-#include "hw/sysbus.h"
-#include "hw/i386/pc.h"
-#include "hw/isa/apm.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pcie_host.h"
-#include "hw/acpi/acpi.h"
-#include "hw/acpi/ich9.h"
 #include "hw/pci-host/pam.h"
-#include "hw/i386/intel_iommu.h"
 #include "qemu/units.h"
 #include "qemu/range.h"
 
Signature · 1 line
2.24.1
#23 lore raw

[PULL 18/33] hw/timer/hpet: Include "exec/address-spaces.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/timer/hpet.c calls address_space_stl_le() declared in "exec/address-spaces.h". Include it.

This fixes (when modifying unrelated headers):

hw/timer/hpet.c:210:31: error: use of undeclared identifier 'address_space_memory'

          address_space_stl_le(&address_space_memory, timer->fsb >> 32,
                               ^~~~~~~~~~~~~~~~~~~~

Message-Id: <[email protected]>

---
 hw/timer/hpet.c | 1 +
 1 file changed, 1 insertion(+)
hw/timer/hpet.c +1 -0
index 4f30dd50a40a..380acfa7c8a5 100644
@@ -36,6 +36,7 @@
 #include "hw/rtc/mc146818rtc_regs.h"
 #include "migration/vmstate.h"
 #include "hw/timer/i8254.h"
+#include "exec/address-spaces.h"
 
 //#define HPET_DEBUG
 #ifdef HPET_DEBUG
Signature · 1 line
2.24.1
#24 lore raw

[PULL 21/33] hw/pci-host/piix: Include "qemu/range.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

hw/pci-host/piix.c calls various functions from the Range API. Include "qemu/range.h" which declares them.

This fixes (when modifying unrelated headers):

hw/pci-host/i440fx.c:54:11: error: field has incomplete type 'Range' (aka 'struct Range')

      Range pci_hole;
           ^
  include/qemu/typedefs.h:116:16: note: forward declaration of 'struct Range'
  typedef struct Range Range;
                 ^
  hw/pci-host/i440fx.c:126:9: error: implicit declaration of function 'ranges_overlap' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      if (ranges_overlap(address, len, I440FX_PAM, I440FX_PAM_SIZE) ||
          ^
  hw/pci-host/i440fx.c:126:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
  hw/pci-host/i440fx.c:127:9: error: implicit declaration of function 'range_covers_byte' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          range_covers_byte(address, len, I440FX_SMRAM)) {
          ^
  hw/pci-host/i440fx.c:127:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
  hw/pci-host/i440fx.c:189:13: error: implicit declaration of function 'range_is_empty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      val64 = range_is_empty(&s->pci_hole) ? 0 : range_lob(&s->pci_hole);
              ^

Message-Id: <[email protected]>

---
 hw/pci-host/i440fx.c | 1 +
 1 file changed, 1 insertion(+)
hw/pci-host/i440fx.c +1 -0
index 11050a0f8bb9..d980c9704906 100644
@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/range.h"
 #include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
Signature · 1 line
2.24.1
#25 lore raw

[PULL 26/33] core/qdev: fix memleak in qdev_get_gpio_out_connector()

In reply to Laurent Vivier

From: Pan Nengyuan <[email protected]>

Fix a memory leak in qdev_get_gpio_out_connector().

Message-Id: <[email protected]>

---
 hw/core/qdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/core/qdev.c +1 -1
index 3937d1eb1a5f..85f062def72b 100644
@@ -557,7 +557,7 @@ void qdev_connect_gpio_out_named(DeviceState *dev, const char *name, int n,
 
 qemu_irq qdev_get_gpio_out_connector(DeviceState *dev, const char *name, int n)
 {
-    char *propname = g_strdup_printf("%s[%d]",
+    g_autofree char *propname = g_strdup_printf("%s[%d]",
                                      name ? name : "unnamed-gpio-out", n);
 
     qemu_irq ret = (qemu_irq)object_property_get_link(OBJECT(dev), propname,
Signature · 1 line
2.24.1
#26 lore raw

[PULL 28/33] block/file-posix: Remove redundant statement in raw_handle_perm_lock()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
block/file-posix.c:891:9: warning: Value stored to 'op' is never read

        op = RAW_PL_ABORT;
        ^    ~~~~~~~~~~~~

Message-Id: <[email protected]>

---
 block/file-posix.c | 1 -
 1 file changed, 1 deletion(-)
block/file-posix.c +0 -1
index 634547711297..0f77447a25df 100644
@@ -888,7 +888,6 @@ static int raw_handle_perm_lock(BlockDriverState *bs,
                               "Is another process using the image [%s]?\n",
                               bs->filename);
         }
-        op = RAW_PL_ABORT;
         /* fall through to unlock bytes. */
     case RAW_PL_ABORT:
         raw_apply_lock_bytes(s, s->fd, s->perm, ~s->shared_perm,
Signature · 1 line
2.24.1
#27 lore raw

[PULL 30/33] scsi/scsi-disk: Remove redundant statement in scsi_disk_emulate_command()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
scsi/scsi-disk.c:1918:5: warning: Value stored to 'buflen' is never read

    buflen = req->cmd.xfer;
    ^        ~~~~~~~~~~~~~

Message-Id: <[email protected]>

---
 hw/scsi/scsi-disk.c | 1 -
 1 file changed, 1 deletion(-)
hw/scsi/scsi-disk.c +0 -1
index 10d0794d60f1..1c0cb63a6fe0 100644
@@ -1915,7 +1915,6 @@ static int32_t scsi_disk_emulate_command(SCSIRequest *req, uint8_t *buf)
         r->iov.iov_base = blk_blockalign(s->qdev.conf.blk, r->buflen);
     }
 
-    buflen = req->cmd.xfer;
     outbuf = r->iov.iov_base;
     memset(outbuf, 0, r->buflen);
     switch (req->cmd.buf[0]) {
Signature · 1 line
2.24.1
#28 lore raw

[PULL 23/33] hw/i386: Include "hw/mem/nvdimm.h"

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

All this files use methods/definitions declared in the NVDIMM device header. Include it.

This fixes (when modifying unrelated headers):

hw/i386/acpi-build.c:2733:9: error: implicit declaration of function 'nvdimm_build_acpi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

        nvdimm_build_acpi(table_offsets, tables_blob, tables->linker,
        ^
  hw/i386/pc.c:1996:61: error: use of undeclared identifier 'TYPE_NVDIMM'
    const bool is_nvdimm = object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM);
                                                            ^
  hw/i386/pc.c:2032:55: error: use of undeclared identifier 'TYPE_NVDIMM'
    bool is_nvdimm = object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM);
                                                      ^
  hw/i386/pc.c:2040:9: error: implicit declaration of function 'nvdimm_plug' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        nvdimm_plug(ms->nvdimms_state);
        ^
  hw/i386/pc.c:2040:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
        nvdimm_plug(ms->nvdimms_state);
        ^
  hw/i386/pc.c:2065:42: error: use of undeclared identifier 'TYPE_NVDIMM'
    if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) {
                                         ^
  hw/i386/pc_i440fx.c:307:9: error: implicit declaration of function 'nvdimm_init_acpi_state' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        nvdimm_init_acpi_state(machine->nvdimms_state, system_io,
        ^
  hw/i386/pc_q35.c:332:9: error: implicit declaration of function 'nvdimm_init_acpi_state' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        nvdimm_init_acpi_state(machine->nvdimms_state, system_io,
        ^

Message-Id: <[email protected]>

---
 hw/i386/acpi-build.c | 1 +
 hw/i386/pc.c         | 1 +
 hw/i386/pc_piix.c    | 1 +
 hw/i386/pc_q35.c     | 1 +
 4 files changed, 4 insertions(+)
hw/i386/acpi-build.c +1 -0
index 26777f882844..9a19c14e661b 100644
@@ -47,6 +47,7 @@
 #include "hw/rtc/mc146818rtc_regs.h"
 #include "migration/vmstate.h"
 #include "hw/mem/memory-device.h"
+#include "hw/mem/nvdimm.h"
 #include "sysemu/numa.h"
 #include "sysemu/reset.h"
 
hw/i386/pc.c +1 -0
index 6ab4acb0c62e..362eb2a180ff 100644
@@ -76,6 +76,7 @@
 #include "hw/boards.h"
 #include "acpi-build.h"
 #include "hw/mem/pc-dimm.h"
+#include "hw/mem/nvdimm.h"
 #include "qapi/error.h"
 #include "qapi/qapi-visit-common.h"
 #include "qapi/visitor.h"
hw/i386/pc_piix.c +1 -0
index 9088db8fb601..e2d98243bc64 100644
@@ -60,6 +60,7 @@
 #include "migration/global_state.h"
 #include "migration/misc.h"
 #include "sysemu/numa.h"
+#include "hw/mem/nvdimm.h"
 
 #define MAX_IDE_BUS 2
 
hw/i386/pc_q35.c +1 -0
index 84cf925cf43a..d37c425e2236 100644
@@ -53,6 +53,7 @@
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "sysemu/numa.h"
+#include "hw/mem/nvdimm.h"
 
 /* ICH9 AHCI has 6 ports */
 #define MAX_SATA_PORTS     6
Signature · 1 line
2.24.1
#29 lore raw

[PULL 27/33] block/stream: Remove redundant statement in stream_run()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
block/stream.c:186:9: warning: Value stored to 'ret' is never read

        ret = 0;
        ^     ~

Message-Id: <[email protected]>

---
 block/stream.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
block/stream.c +1 -2
index 5562ccbf577a..aa2e7af98e37 100644
@@ -114,7 +114,6 @@ static int coroutine_fn stream_run(Job *job, Error **errp)
     int64_t offset = 0;
     uint64_t delay_ns = 0;
     int error = 0;
-    int ret = 0;
     int64_t n = 0; /* bytes */
 
     if (bs == s->bottom) {
@@ -139,6 +138,7 @@ static int coroutine_fn stream_run(Job *job, Error **errp)
 
     for ( ; offset < len; offset += n) {
         bool copy;
+        int ret;
 
         /* Note that even when no rate limit is applied we need to yield
          * with no pending I/O here so that bdrv_drain_all() returns.
@@ -183,7 +183,6 @@ static int coroutine_fn stream_run(Job *job, Error **errp)
                 break;
             }
         }
-        ret = 0;
 
         /* Publish progress */
         job_progress_update(&s->common.job, n);
Signature · 1 line
2.24.1
#30 lore raw

[PULL 32/33] display/exynos4210_fimd: Remove redundant statement in exynos4210_fimd_update()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
hw/display/exynos4210_fimd.c:1313:17: warning: Value stored to 'is_dirty' is never read

                is_dirty = false;

Message-Id: <[email protected]>

---
 hw/display/exynos4210_fimd.c | 1 -
 1 file changed, 1 deletion(-)
hw/display/exynos4210_fimd.c +0 -1
index ec6776680e41..1c0266ce9f2d 100644
@@ -1311,7 +1311,6 @@ static void exynos4210_fimd_update(void *opaque)
                 }
                 host_fb_addr += inc_size;
                 fb_line_addr += inc_size;
-                is_dirty = false;
             }
             g_free(snap);
             blend = true;
Signature · 1 line
2.24.1
#31 lore raw

[PULL 31/33] display/pxa2xx_lcd: Remove redundant statement in pxa2xx_palette_parse()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
hw/display/pxa2xx_lcd.c:596:9: warning: Value stored to 'format' is never read

        format = 0;
        ^        ~

Message-Id: <[email protected]>

---
 hw/display/pxa2xx_lcd.c | 1 -
 1 file changed, 1 deletion(-)
hw/display/pxa2xx_lcd.c +0 -1
index 05f5f8467123..464e93161a21 100644
@@ -593,7 +593,6 @@ static void pxa2xx_palette_parse(PXA2xxLCDState *s, int ch, int bpp)
         n = 256;
         break;
     default:
-        format = 0;
         return;
     }
 
Signature · 1 line
2.24.1
#32 lore raw

[PULL 33/33] monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
monitor/hmp-cmds.c:2867:17: warning: Value stored to 'set' is never read

                set = true;
                ^     ~~~~

Message-Id: <[email protected]>

---
 monitor/hmp-cmds.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
monitor/hmp-cmds.c +1 -4
index fb4c2fd2a875..6fd7aca5007b 100644
@@ -2842,7 +2842,6 @@ void hmp_rocker_of_dpa_groups(Monitor *mon, const QDict *qdict)
     const char *name = qdict_get_str(qdict, "name");
     uint8_t type = qdict_get_try_int(qdict, "type", 9);
     Error *err = NULL;
-    bool set = false;
 
     list = qmp_query_rocker_of_dpa_groups(name, type != 9, type, &err);
     if (err != NULL) {
@@ -2854,6 +2853,7 @@ void hmp_rocker_of_dpa_groups(Monitor *mon, const QDict *qdict)
 
     for (g = list; g; g = g->next) {
         RockerOfDpaGroup *group = g->value;
+        bool set = false;
 
         monitor_printf(mon, "0x%08x", group->id);
 
@@ -2898,14 +2898,11 @@ void hmp_rocker_of_dpa_groups(Monitor *mon, const QDict *qdict)
 
         if (group->has_set_eth_dst) {
             if (!set) {
-                set = true;
                 monitor_printf(mon, " set");
             }
             monitor_printf(mon, " dst %s", group->set_eth_dst);
         }
 
-        set = false;
-
         if (group->has_ttl_check && group->ttl_check) {
             monitor_printf(mon, " check TTL");
         }
Signature · 1 line
2.24.1
#33 lore raw

[PULL 29/33] dma/xlnx-zdma: Remove redundant statement in zdma_write_dst()

In reply to Laurent Vivier

From: Chen Qun <[email protected]>

Clang static code analyzer show warning:
hw/dma/xlnx-zdma.c:399:13: warning: Value stored to 'dst_type' is never read

            dst_type = FIELD_EX32(s->dsc_dst.words[3], ZDMA_CH_DST_DSCR_WORD3,
            ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message-Id: <[email protected]>

---
 hw/dma/xlnx-zdma.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
hw/dma/xlnx-zdma.c +5 -5
index 1c1b142293a6..2d9c0a0d5e19 100644
@@ -372,7 +372,7 @@ static uint64_t zdma_update_descr_addr(XlnxZDMA *s, bool type,
 static void zdma_write_dst(XlnxZDMA *s, uint8_t *buf, uint32_t len)
 {
     uint32_t dst_size, dlen;
-    bool dst_intr, dst_type;
+    bool dst_intr;
     unsigned int ptype = ARRAY_FIELD_EX32(s->regs, ZDMA_CH_CTRL0, POINT_TYPE);
     unsigned int rw_mode = ARRAY_FIELD_EX32(s->regs, ZDMA_CH_CTRL0, MODE);
     unsigned int burst_type = ARRAY_FIELD_EX32(s->regs, ZDMA_CH_DATA_ATTR,
@@ -386,17 +386,17 @@ static void zdma_write_dst(XlnxZDMA *s, uint8_t *buf, uint32_t len)
     while (len) {
         dst_size = FIELD_EX32(s->dsc_dst.words[2], ZDMA_CH_DST_DSCR_WORD2,
                               SIZE);
-        dst_type = FIELD_EX32(s->dsc_dst.words[3], ZDMA_CH_DST_DSCR_WORD3,
-                              TYPE);
         if (dst_size == 0 && ptype == PT_MEM) {
             uint64_t next;
+            bool dst_type = FIELD_EX32(s->dsc_dst.words[3],
+                                       ZDMA_CH_DST_DSCR_WORD3,
+                                       TYPE);
+
             next = zdma_update_descr_addr(s, dst_type,
                                           R_ZDMA_CH_DST_CUR_DSCR_LSB);
             zdma_load_descriptor(s, next, &s->dsc_dst);
             dst_size = FIELD_EX32(s->dsc_dst.words[2], ZDMA_CH_DST_DSCR_WORD2,
                                   SIZE);
-            dst_type = FIELD_EX32(s->dsc_dst.words[3], ZDMA_CH_DST_DSCR_WORD3,
-                                  TYPE);
         }
 
         /* Match what hardware does by ignoring the dst_size and only using
Signature · 1 line
2.24.1
#34 lore raw
In reply to Laurent Vivier
Patchew URL: https://patchew.org/QEMU/[email protected]/

Patchew URL: https://patchew.org/QEMU/[email protected]/

Hi,

This series failed the docker-clang@ubuntu build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-ubuntu V=1 NETWORK=1
time make docker-test-clang@ubuntu SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END ===

  LINK    qemu-bridge-helper
  LINK    virtiofsd
  LINK    vhost-user-input

/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6

  GEN     cris-softmmu/hmp-commands.h
  GEN     lm32-softmmu/hmp-commands.h
  GEN     m68k-softmmu/hmp-commands.h
---
  CC      mips64-softmmu/hw/misc/mips_cmgcr.o
  CC      mips64-softmmu/hw/misc/mips_cpc.o
  CC      mips64-softmmu/hw/misc/mips_itu.o

/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC mips64-softmmu/hw/net/virtio-net.o
CC mips64-softmmu/hw/net/rocker/qmp-norocker.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6

  CC      arm-softmmu/hw/arm/integratorcp.o
  CC      mips64el-softmmu/hw/block/virtio-blk.o
  CC      i386-softmmu/hw/virtio/vhost-user-fs-pci.o
---
  CC      mips64-softmmu/hw/scsi/virtio-scsi-dataplane.o
  CC      i386-softmmu/hw/virtio/virtio-iommu.o
  CC      i386-softmmu/hw/virtio/vhost-vsock.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      aarch64-softmmu/hw/arm/integratorcp.o
  CC      aarch64-softmmu/hw/arm/mainstone.o
  CC      mips64el-softmmu/hw/block/dataplane/virtio-blk.o
---
  CC      i386-softmmu/hw/virtio/vhost-user-scsi-pci.o
  CC      aarch64-softmmu/hw/arm/netduino2.o
  CC      aarch64-softmmu/hw/arm/netduinoplus2.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      aarch64-softmmu/hw/arm/nseries.o
  CC      i386-softmmu/hw/virtio/vhost-scsi-pci.o
  CC      mipsel-softmmu/disas.o
---
  CC      mips64el-softmmu/qapi/qapi-events-machine-target.o
  CC      mips-softmmu/target/mips/dsp_helper.o
  CC      mips-softmmu/target/mips/lmi_helper.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      arm-softmmu/softmmu/vl.o
  CC      nios2-softmmu/tcg/tcg-op-vec.o
  CC      mips64el-softmmu/qapi/qapi-events-misc-target.o
---
  CC      moxie-softmmu/accel/tcg/cpu-exec.o
  CC      mipsel-softmmu/hw/virtio/virtio-balloon-pci.o
  CC      moxie-softmmu/accel/tcg/cpu-exec-common.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      moxie-softmmu/accel/tcg/translate-all.o
  CC      mips64-softmmu/target/mips/dsp_helper.o
  CC      arm-softmmu/target/arm/cpu.o
---
  CC      nios2-softmmu/accel/stubs/whpx-stub.o
  CC      mipsel-softmmu/hw/virtio/virtio-scsi-pci.o
  CC      or1k-softmmu/accel/tcg/cputlb.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      mips64-softmmu/target/mips/mips-semi.o
  CC      ppc-softmmu/accel/qtest.o
  CC      i386-softmmu/hw/i386/vmport.o
---
  CC      or1k-softmmu/softmmu/vl.o
  CC      arm-softmmu/trace/generated-helpers.o
  CC      i386-softmmu/hw/i386/kvm/clock.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      ppc64-softmmu/exec-vary.o
  CC      ppc64-softmmu/tcg/tcg.o
  CC      i386-softmmu/hw/i386/kvm/apic.o
---
  CC      moxie-softmmu/trace/generated-helpers.o
  CC      ppc64-softmmu/balloon.o
  CC      ppc64-softmmu/ioport.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  GEN     or1k-softmmu/target/openrisc/decode.inc.c
  CC      riscv64-softmmu/fpu/softfloat.o
  CC      mipsel-softmmu/target/mips/op_helper.o
---
  CC      ppc64-softmmu/migration/ram.o
  GEN     riscv64-softmmu/gdbstub-xml.c
  LINK    aarch64-softmmu/qemu-system-aarch64
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      riscv32-softmmu/arch_init.o
  CC      nios2-softmmu/target/nios2/op_helper.o
  CC      riscv64-softmmu/arch_init.o
---
  CC      sh4-softmmu/fpu/softfloat.o
  CC      riscv32-softmmu/accel/tcg/tcg-runtime-gvec.o
  CC      ppc64-softmmu/hw/block/vhost-user-blk.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      s390x-softmmu/fpu/softfloat.o
  CC      s390x-softmmu/disas.o
  CC      riscv64-softmmu/accel/tcg/cputlb.o
---
  CC      ppc64-softmmu/hw/block/dataplane/virtio-blk.o
  CC      ppc-softmmu/hw/virtio/virtio-iommu-pci.o
  GEN     s390x-softmmu/gdbstub-xml.c
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      riscv64-softmmu/accel/tcg/tcg-runtime.o
  CC      sh4-softmmu/arch_init.o
  CC      ppc-softmmu/hw/virtio/virtio-9p-pci.o
---
  CC      riscv32-softmmu/hw/9pfs/virtio-9p-device.o
  CC      riscv32-softmmu/hw/block/virtio-blk.o
  CC      ppc64-softmmu/hw/display/virtio-gpu.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      s390x-softmmu/memory.o
  CC      s390x-softmmu/memory_mapping.o
  CC      riscv32-softmmu/hw/block/vhost-user-blk.o
---
  GEN     unicore32-softmmu/hmp-commands.h
  GEN     unicore32-softmmu/hmp-commands-info.h
  GEN     unicore32-softmmu/config-devices.h
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  GEN     unicore32-softmmu/config-target.h
  CC      unicore32-softmmu/exec.o
  CC      tricore-softmmu/qapi/qapi-introspect.o
  CC      ppc64-softmmu/hw/ppc/spapr_rtas_ddw.o
  CC      s390x-softmmu/qapi/qapi-events-misc-target.o
  CC      sparc64-softmmu/hw/block/virtio-blk.o

/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC s390x-softmmu/qapi/qapi-events.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC sparc64-softmmu/hw/block/vhost-user-blk.o
CC s390x-softmmu/qapi/qapi-commands-machine-target.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
CC tricore-softmmu/qapi/qapi-types-machine-target.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6

  CC      ppc64-softmmu/hw/ppc/ppc405_boards.o
  CC      tricore-softmmu/qapi/qapi-types-misc-target.o
  CC      sparc64-softmmu/hw/block/dataplane/virtio-blk.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      unicore32-softmmu/exec-vary.o
  CC      s390x-softmmu/qapi/qapi-commands-misc-target.o
  CC      unicore32-softmmu/tcg/tcg.o
---
  CC      ppc64-softmmu/hw/ppc/prep.o
  CC      sparc64-softmmu/hw/display/virtio-gpu-3d.o
  CC      tricore-softmmu/qapi/qapi-commands-misc-target.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      ppc64-softmmu/hw/ppc/prep_systemio.o
  CC      sh4eb-softmmu/target/sh4/cpu.o
  CC      s390x-softmmu/target/s390x/cpu_models.o
---
  CC      sparc64-softmmu/hw/vfio/spapr.o
  CC      unicore32-softmmu/accel/qtest.o
  CC      tricore-softmmu/target/tricore/translate.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      s390x-softmmu/target/s390x/fpu_helper.o
  CC      xtensa-softmmu/disas.o
  CC      x86_64-softmmu/fpu/softfloat.o
---
  CC      sparc64-softmmu/hw/virtio/virtio-iommu.o
  CC      unicore32-softmmu/qapi/qapi-types.o
  CC      sparc64-softmmu/hw/virtio/vhost-vsock.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      xtensaeb-softmmu/memory_mapping.o
  CC      unicore32-softmmu/qapi/qapi-visit-machine-target.o
  CC      xtensa-softmmu/accel/tcg/tcg-runtime-gvec.o
---
  CC      sparc64-softmmu/qapi/qapi-types-machine-target.o
  CC      alpha-linux-user/accel/tcg/tcg-runtime.o
  CC      aarch64_be-linux-user/accel/stubs/whpx-stub.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      aarch64_be-linux-user/accel/stubs/kvm-stub.o
  CC      x86_64-softmmu/hw/display/virtio-gpu-base.o
  CC      ppc64-softmmu/target/ppc/mmu-book3s-v3.o
---
  CC      x86_64-softmmu/hw/display/virtio-vga.o
  CC      ppc64-softmmu/target/ppc/fpu_helper.o
  CC      xtensa-softmmu/hw/semihosting/config.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      ppc64-softmmu/target/ppc/int_helper.o
  CC      ppc64-softmmu/target/ppc/timebase_helper.o
  CC      xtensaeb-softmmu/hw/scsi/virtio-scsi-dataplane.o
---
  CC      i386-linux-user/accel/tcg/tcg-runtime.o
  CC      armeb-linux-user/linux-user/uaccess.o
  CC      i386-linux-user/accel/tcg/tcg-runtime-gvec.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      hppa-linux-user/linux-user/main.o
  CC      xtensa-softmmu/qapi/qapi-commands-misc-target.o
  CC      cris-linux-user/linux-user/signal.o
---
  CC      i386-linux-user/target/i386/cpu.o
  CC      m68k-linux-user/tcg/tcg-op-vec.o
  CC      x86_64-softmmu/hw/xen/xen_pt_load_rom.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      hppa-linux-user/trace/generated-helpers.o
  CC      aarch64-linux-user/target/arm/translate-sve.o
  CC      m68k-linux-user/tcg/tcg-op-gvec.o
---
  CC      m68k-linux-user/target/m68k/op_helper.o
  CC      mips64el-linux-user/linux-user/elfload.o
  CCAS    microblazeel-linux-user/linux-user/safe-syscall.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      mips64el-linux-user/linux-user/linuxload.o
  CC      microblaze-linux-user/linux-user/uname.o
  CC      microblazeel-linux-user/linux-user/microblaze/signal.o
---
  CC      mips64-linux-user/linux-user/signal.o
  CC      microblaze-linux-user/linux-user/microblaze/cpu_loop.o
  CC      m68k-linux-user/target/m68k/fpu_helper.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      microblazeel-linux-user/linux-user/fd-trans.o
  CC      microblazeel-linux-user/linux-user/flatload.o
  CC      microblazeel-linux-user/target/microblaze/translate.o
---
  CC      tilegx-linux-user/linux-user/tilegx/signal.o
  CC      tilegx-linux-user/linux-user/tilegx/cpu_loop.o
  CC      xtensa-linux-user/accel/tcg/cpu-exec.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  CC      xtensa-linux-user/accel/tcg/cpu-exec-common.o
  CC      xtensa-linux-user/accel/tcg/translate-all.o
  CC      xtensaeb-linux-user/thunk.o
---
  LINK    fp-test
  LINK    tests/test-iov
  LINK    tests/test-bitmap
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  LINK    tests/test-aio
  LINK    tests/test-aio-multithread
  LINK    tests/test-throttle
  LINK    tests/test-thread-pool

/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-hbitmap
LINK tests/test-bdrv-drain
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-bdrv-graph-mod
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6

  LINK    tests/test-blockjob
  LINK    tests/test-blockjob-txn
  LINK    tests/test-block-backend

/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6 /usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-block-iothread
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-image-locking
LINK tests/test-x86-cpuid
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-xbzrle
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-vmstate
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
LINK tests/test-cutils
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6

  LINK    tests/test-shift128
  LINK    tests/test-mul64
  LINK    tests/test-int128
---
  LINK    tests/test-write-threshold
  LINK    tests/test-crypto-hash
  LINK    tests/test-crypto-hmac
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
  LINK    tests/test-crypto-cipher
  LINK    tests/test-crypto-secret
  LINK    tests/test-crypto-tlscredsx509

---
FLOAT TEST lt_quiet
FLOAT TEST add
FLOAT TEST sub
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
FLOAT TEST mul
FLOAT TEST mulAdd
FLOAT TEST uint-to-float
---
dbus-daemon[8262]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

**
ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) ERROR - Bail out! ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) Aborted (core dumped)
cleaning up pid 8262
make: *** [/tmp/qemu-test/src/tests/Makefile.include:632: check-qtest-i386] Error 1
make: *** Waiting for unfinished jobs....
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: -accel kvm: failed to initialize kvm: No such file or directory
---
dbus-daemon[9590]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

**
ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18) Aborted (core dumped)
cleaning up pid 9590
ERROR - Bail out! ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18)
make: *** [/tmp/qemu-test/src/tests/Makefile.include:632: check-qtest-x86_64] Error 1

  TEST    check-qtest-arm: tests/qtest/test-hmp
  TEST    check-qtest-arm: tests/qtest/qos-test
  TEST    check-qtest-aarch64: tests/qtest/test-hmp

---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=47cb3ce1218347808c17d0936a1a5f53', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-oy1xpz1h/src/docker-src.2020-03-09-12.12.34.28747:/var/tmp/qemu:z,ro', 'qemu:ubuntu', '/var/tmp/qemu/run', 'test-clang']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=47cb3ce1218347808c17d0936a1a5f53
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-oy1xpz1h/src'
make: *** [docker-run-test-clang@ubuntu] Error 2

real 19m16.345s
user 0m9.023s

The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-clang@ubuntu/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]

#35 lore raw
In reply to Laurent Vivier
Quoted 13 lines · Laurent Vivier

The following changes since commit 7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 8 lines

----------------------------------------------------------------
- includes cleanup
- reduce .data footprint
- fix warnings reported by Clang static code analyzer
- fix dp8393x part lost in merge
- update git.orderfile and rules.mak

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

Applied, thanks.

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

-- PMM

#36 lore raw
In reply to Laurent Vivier
Quoted 11 lines · Laurent Vivier

The following changes since commit 7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

Quoted 99 lines

----------------------------------------------------------------
- includes cleanup
- reduce .data footprint
- fix warnings reported by Clang static code analyzer
- fix dp8393x part lost in merge
- update git.orderfile and rules.mak

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

Chen Qun (7):
block/stream: Remove redundant statement in stream_run() block/file-posix: Remove redundant statement in raw_handle_perm_lock() dma/xlnx-zdma: Remove redundant statement in zdma_write_dst() scsi/scsi-disk: Remove redundant statement in
scsi_disk_emulate_command()
display/pxa2xx_lcd: Remove redundant statement in
pxa2xx_palette_parse()
display/exynos4210_fimd: Remove redundant statement in

    exynos4210_fimd_update()

monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups()

Eric Blake (1):
maint: Include top-level *.rst files early in git diff

Finn Thain (1):
dp8393x: Mask EOL bit from descriptor addresses, take 2

Pan Nengyuan (1):
core/qdev: fix memleak in qdev_get_gpio_out_connector()

Philippe Mathieu-Daudé (23):
build-sys: Move the print-variable rule to rules.mak hw/audio/fmopl: Fix a typo twice
hw/net/e1000: Add readops/writeops typedefs hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data
virtfs-proxy-helper: Make the helper_opts[] array const
vl: Add missing "hw/boards.h" include hw/southbridge/ich9: Removed unused headers hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header hw/timer: Remove unused "ui/console.h" header hw/usb/dev-storage: Remove unused "ui/console.h" header hw/i386/intel_iommu: Remove unused includes hw/alpha/alpha_sys: Remove unused "hw/ide.h" header hw/alpha/dp264: Include "net/net.h"
hw/hppa/machine: Include "net/net.h" hw/acpi/cpu_hotplug: Include "hw/pci/pci.h" hw/timer/hpet: Include "exec/address-spaces.h" hw/pci-host/q35: Include "qemu/range.h" hw/i2c/smbus_ich9: Include "qemu/range.h" hw/pci-host/piix: Include "qemu/range.h"
hw/acpi: Include "hw/mem/nvdimm.h"
hw/i386: Include "hw/mem/nvdimm.h"
hw/pci-host/q35: Remove unused includes
hw/i386/pc: Clean up includes

 Makefile                          |  3 ---
 block/file-posix.c                |  1 -
 block/stream.c                    |  3 +--
 fsdev/virtfs-proxy-helper.c       |  2 +-
 hw/acpi/cpu_hotplug.c             |  1 +
 hw/acpi/ich9.c                    |  2 +-
 hw/acpi/piix4.c                   |  1 +
 hw/alpha/alpha_sys.h              |  1 -
 hw/alpha/dp264.c                  |  1 +
 hw/audio/fmopl.c                  |  4 ++--
 hw/core/qdev.c                    |  2 +-
 hw/display/exynos4210_fimd.c      |  1 -
 hw/display/pxa2xx_lcd.c           |  1 -
 hw/dma/xlnx-zdma.c                | 10 +++++-----
 hw/hppa/machine.c                 |  1 +
 hw/i2c/smbus_ich9.c               |  1 +
 hw/i386/acpi-build.c              |  1 +
 hw/i386/pc.c                      |  1 +
 hw/i386/pc_piix.c                 |  1 +
 hw/i386/pc_q35.c                  |  1 +
 hw/isa/lpc_ich9.c                 |  1 -
 hw/net/dp8393x.c                  |  4 ++--
 hw/net/e1000.c                    |  6 ++++--
 hw/net/e1000e_core.c              |  6 ++++--
 hw/pci-host/i440fx.c              |  1 +
 hw/pci-host/q35.c                 |  1 +
 hw/rtc/twl92230.c                 |  1 -
 hw/scsi/scsi-disk.c               |  1 -
 hw/timer/hpet.c                   |  2 +-
 hw/usb/dev-storage.c              |  1 -
 include/hw/i386/ich9.h            |  1 -
 include/hw/i386/intel_iommu.h     |  4 ----
 include/hw/i386/ioapic_internal.h |  1 -
 include/hw/i386/pc.h              | 11 +++--------
 include/hw/pci-host/q35.h         |  8 +-------
 monitor/hmp-cmds.c                |  5 +----
 rules.mak                         |  3 +++
 scripts/git.orderfile             |  1 +
 softmmu/vl.c                      |  1 +
 39 files changed, 43 insertions(+), 55 deletions(-)
Signature · 1 line
2.24.1
#37 lore raw
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Laurent Vivier

The following changes since commit 7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

Quoted 7 lines
Quoted 1 line
   monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Quoted 101 lines
Quoted 100 lines

----------------------------------------------------------------
- includes cleanup
- reduce .data footprint
- fix warnings reported by Clang static code analyzer
- fix dp8393x part lost in merge
- update git.orderfile and rules.mak

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

Chen Qun (7):
block/stream: Remove redundant statement in stream_run() block/file-posix: Remove redundant statement in raw_handle_perm_lock() dma/xlnx-zdma: Remove redundant statement in zdma_write_dst() scsi/scsi-disk: Remove redundant statement in
scsi_disk_emulate_command()
display/pxa2xx_lcd: Remove redundant statement in
pxa2xx_palette_parse()
display/exynos4210_fimd: Remove redundant statement in

     exynos4210_fimd_update()

monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups()

Eric Blake (1):
maint: Include top-level *.rst files early in git diff

Finn Thain (1):
dp8393x: Mask EOL bit from descriptor addresses, take 2

Pan Nengyuan (1):
core/qdev: fix memleak in qdev_get_gpio_out_connector()

Philippe Mathieu-Daudé (23):
build-sys: Move the print-variable rule to rules.mak hw/audio/fmopl: Fix a typo twice
hw/net/e1000: Add readops/writeops typedefs hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data
virtfs-proxy-helper: Make the helper_opts[] array const
vl: Add missing "hw/boards.h" include hw/southbridge/ich9: Removed unused headers hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header hw/timer: Remove unused "ui/console.h" header hw/usb/dev-storage: Remove unused "ui/console.h" header hw/i386/intel_iommu: Remove unused includes hw/alpha/alpha_sys: Remove unused "hw/ide.h" header hw/alpha/dp264: Include "net/net.h"
hw/hppa/machine: Include "net/net.h" hw/acpi/cpu_hotplug: Include "hw/pci/pci.h" hw/timer/hpet: Include "exec/address-spaces.h" hw/pci-host/q35: Include "qemu/range.h" hw/i2c/smbus_ich9: Include "qemu/range.h" hw/pci-host/piix: Include "qemu/range.h"
hw/acpi: Include "hw/mem/nvdimm.h"
hw/i386: Include "hw/mem/nvdimm.h"
hw/pci-host/q35: Remove unused includes
hw/i386/pc: Clean up includes

  Makefile                          |  3 ---
  block/file-posix.c                |  1 -
  block/stream.c                    |  3 +--
  fsdev/virtfs-proxy-helper.c       |  2 +-
  hw/acpi/cpu_hotplug.c             |  1 +
  hw/acpi/ich9.c                    |  2 +-
  hw/acpi/piix4.c                   |  1 +
  hw/alpha/alpha_sys.h              |  1 -
  hw/alpha/dp264.c                  |  1 +
  hw/audio/fmopl.c                  |  4 ++--
  hw/core/qdev.c                    |  2 +-
  hw/display/exynos4210_fimd.c      |  1 -
  hw/display/pxa2xx_lcd.c           |  1 -
  hw/dma/xlnx-zdma.c                | 10 +++++-----
  hw/hppa/machine.c                 |  1 +
  hw/i2c/smbus_ich9.c               |  1 +
  hw/i386/acpi-build.c              |  1 +
  hw/i386/pc.c                      |  1 +
  hw/i386/pc_piix.c                 |  1 +
  hw/i386/pc_q35.c                  |  1 +
  hw/isa/lpc_ich9.c                 |  1 -
  hw/net/dp8393x.c                  |  4 ++--
  hw/net/e1000.c                    |  6 ++++--
  hw/net/e1000e_core.c              |  6 ++++--
  hw/pci-host/i440fx.c              |  1 +
  hw/pci-host/q35.c                 |  1 +
  hw/rtc/twl92230.c                 |  1 -
  hw/scsi/scsi-disk.c               |  1 -
  hw/timer/hpet.c                   |  2 +-
  hw/usb/dev-storage.c              |  1 -
  include/hw/i386/ich9.h            |  1 -
  include/hw/i386/intel_iommu.h     |  4 ----
  include/hw/i386/ioapic_internal.h |  1 -
  include/hw/i386/pc.h              | 11 +++--------
  include/hw/pci-host/q35.h         |  8 +-------
  monitor/hmp-cmds.c                |  5 +----
  rules.mak                         |  3 +++
  scripts/git.orderfile             |  1 +
  softmmu/vl.c                      |  1 +
  39 files changed, 43 insertions(+), 55 deletions(-)
Signature · 1 line
2.24.1
#38 lore raw

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Thanks,
Laurent

#39 lore raw

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 24 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 23 lines · Michael S. Tsirkin
Quoted 21 lines · Laurent Vivier
Quoted 6 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-03-09 10:32:53 +0000)

Quoted 8 lines

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

Quoted 7 lines
Quoted 2 lines

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Kevin

#40 lore raw
Quoted 32 lines · Kevin Wolf

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 31 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

I guess you mean https://github.com/philmd/git-publish/commit/5bab6e2cc77, I haven't improved it but plan to spend time on it during my next holidays.

Quoted 3 lines

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Well as a contributor I find useful to get notified when patches are merged.

I guess remember some time ago patchew (or another bot?) was sending a notification on pull request merged, this was even more useful than Cc'ing ppl on pull-req. It is also helpful when you track someone else patch on the list. Since most of the maintainers now include the patch RFC822 Message-Id, it is now easy for a bot to reply to patch taken from the last.

Quoted 3 lines

Kevin

#41 lore raw
Quoted 34 lines · Philippe Mathieu-Daudé
Quoted 32 lines · Kevin Wolf

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 31 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Quoted 8 lines

I guess you mean https://github.com/philmd/git-publish/commit/5bab6e2cc77, I haven't improved it but plan to spend time on it during my next holidays.

Quoted 3 lines

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Well as a contributor I find useful to get notified when patches are merged.

Yeah, I tend to agree with that - it is good to know when something is merged, more so if you are an infrequent contributor to an area of code or QEMU in general.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#42 lore raw
In reply to Philippe Mathieu-Daudé

Am 10.03.2020 um 13:00 hat Philippe Mathieu-Daudé geschrieben:

Quoted 34 lines · Kevin Wolf
Quoted 32 lines

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 31 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Quoted 8 lines

I guess you mean https://github.com/philmd/git-publish/commit/5bab6e2cc77, I haven't improved it but plan to spend time on it during my next holidays.

Quoted 3 lines

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Well as a contributor I find useful to get notified when patches are merged.

Hm, I guess a matter of different preferences then.

Quoted 6 lines

I guess remember some time ago patchew (or another bot?) was sending a notification on pull request merged, this was even more useful than Cc'ing ppl on pull-req. It is also helpful when you track someone else patch on the list.
Since most of the maintainers now include the patch RFC822 Message-Id, it is now easy for a bot to reply to patch taken from the last.

I don't remember anything like this, but having an automatic reply to the email thread of each merged patch series might be a good idea.

Kevin

#43 lore raw
Quoted 53 lines · Kevin Wolf

Am 10.03.2020 um 13:00 hat Philippe Mathieu-Daudé geschrieben:

Quoted 34 lines · Kevin Wolf
Quoted 32 lines

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 31 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Quoted 8 lines

I guess you mean https://github.com/philmd/git-publish/commit/5bab6e2cc77, I haven't improved it but plan to spend time on it during my next holidays.

Quoted 3 lines

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Well as a contributor I find useful to get notified when patches are merged.

Hm, I guess a matter of different preferences then.

Quoted 6 lines

I guess remember some time ago patchew (or another bot?) was sending a notification on pull request merged, this was even more useful than Cc'ing ppl on pull-req. It is also helpful when you track someone else patch on the list.
Since most of the maintainers now include the patch RFC822 Message-Id, it is now easy for a bot to reply to patch taken from the last.

Quoted 2 lines

I don't remember anything like this, but having an automatic reply to the email thread of each merged patch series might be a good idea.

It was patchew: https://www.mail-archive.com/[email protected]/msg623861.html

From: [email protected]

Subject: A patch has been merged in QEMU: $PatchSubject

Congratulations, $PatchSubject was merged by the QEMU maintainers.

Quoted 4 lines

Kevin

#44 lore raw
In reply to Kevin Wolf

Le 10/03/2020 à 13:13, Kevin Wolf a écrit :

Quoted 53 lines

Am 10.03.2020 um 13:00 hat Philippe Mathieu-Daudé geschrieben:

Quoted 34 lines · Kevin Wolf
Quoted 32 lines

Am 10.03.2020 um 09:02 hat Laurent Vivier geschrieben:

Quoted 31 lines

Le 09/03/2020 à 20:30, Philippe Mathieu-Daudé a écrit :

Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Laurent Vivier
Quoted 14 lines

The following changes since commit
7a5853cec479a448edae0fb2aaf4e2f78c9c774d:

   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
staging (2020-03-09 10:32:53 +0000)

are available in the Git repository at:

   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 916c92503bd5348a33e561db600d8894bde636bb:

   monitor/hmp-cmds: Remove redundant statement in
hmp_rocker_of_dpa_groups() (2020-03-09 15:59:31 +0100)

Quoted 7 lines
Quoted 4 lines

Could you avoid CC everyone involved on the whole PULL req? I was involved in a patch or two and don't really need to see the whole series. Just the cover and the relevant patches would be enough - if I do want it there's always lore.

I suppose Laurent used git-publish, which has this limitation.

Yes, I use git publish and CC are automatically added.

Philippe, you told me some time ago you have a patch to fix this behaviour and only CC people on a patch base. Is it available?

Quoted 8 lines

I guess you mean https://github.com/philmd/git-publish/commit/5bab6e2cc77, I haven't improved it but plan to spend time on it during my next holidays.

Quoted 3 lines

Actually, I don't think it's even necessary to CC anyone at all (except the relevant lists) for pull requests. These patches were already reviewed.

Well as a contributor I find useful to get notified when patches are merged.

Hm, I guess a matter of different preferences then.

Quoted 6 lines

I guess remember some time ago patchew (or another bot?) was sending a notification on pull request merged, this was even more useful than Cc'ing ppl on pull-req. It is also helpful when you track someone else patch on the list.
Since most of the maintainers now include the patch RFC822 Message-Id, it is now easy for a bot to reply to patch taken from the last.

Quoted 2 lines

I don't remember anything like this, but having an automatic reply to the email thread of each merged patch series might be a good idea.

I receive an email for each merge [1]

There is a mailing list for that:

https://lists.nongnu.org/mailman/listinfo/qemu-commits

Thanks,
Laurent

[1] https://lists.nongnu.org/archive/html/qemu-commits/2020-03/index.html