All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL v2 00/20] Qemu trivial for 3.1 patches
@ 2018-10-30 11:23 ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:

  Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 7b2b797cf0addac789ba858fdbd95c55128d72d5:

  milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report (2018-10-30 09:13:31 +0100)

----------------------------------------------------------------
QEMU trivial patches collected between June and October 2018
(Thank you to Thomas Huth)

v2: fix 32bit build with updated patch (v3) from Philippe Mathieu-Daudé
    built in a 32bit debian sid chroot

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

Cleber Rosa (6):
  tests/tcg/README: fix location for lm32 tests
  qemu-iotests: fix filename containing checks
  docs/devel/testing.rst: add missing newlines after code block
  scripts/decodetree.py: remove unused imports
  scripts/qemu.py: remove trailing quotes on docstring
  qemu-iotests: make 218 executable

Emilio G. Cota (1):
  linux-user: fix comment s/atomic_write/atomic_set/

Li Qiang (2):
  memory.h: fix typos in comments
  cpu.h: fix a typo in comment

Paolo Bonzini (1):
  ppc: move at24c to its own CONFIG_ symbol

Philippe Mathieu-Daudé (6):
  qobject: Catch another straggler for use of qdict_put_str()
  xen: Use the PCI_DEVICE macro
  tests/bios-tables-test: Remove an useless cast
  hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro
  hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro
  milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of
    error_report

Stefan Weil (2):
  tests: Fix typos in comments and help message (found by codespell)
  configure: Support pkg-config for zlib

Thomas Huth (1):
  configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch

yuchenlin (1):
  vga_int: remove unused function protype

 configure                             | 40 +++++++++++++++------------
 default-configs/alpha-softmmu.mak     |  1 -
 default-configs/ppc-softmmu.mak       |  1 +
 docs/devel/testing.rst                |  2 ++
 hw/display/vga_int.h                  |  1 -
 hw/net/milkymist-minimac2.c           | 15 ++++++----
 hw/nvram/Makefile.objs                |  2 +-
 hw/pci-host/piix.c                    |  2 +-
 hw/pci-host/q35.c                     |  2 +-
 hw/xen/xen_pt_config_init.c           |  8 +++---
 include/exec/memory.h                 |  6 ++--
 include/hw/intc/arm_gicv3_common.h    |  2 +-
 include/qom/cpu.h                     |  2 +-
 linux-user/qemu.h                     |  2 +-
 qobject/block-qdict.c                 |  2 +-
 scripts/decodetree.py                 |  2 --
 scripts/qemu.py                       |  2 +-
 tests/bios-tables-test.c              |  4 +--
 tests/docker/Makefile.include         |  2 +-
 tests/docker/docker.py                |  4 +--
 tests/guest-debug/test-gdbstub.py     |  2 +-
 tests/qemu-iotests/218                |  0
 tests/qemu-iotests/common.qemu        |  2 +-
 tests/qemu-iotests/common.rc          |  4 +--
 tests/tcg/Makefile.include            |  2 +-
 tests/tcg/Makefile.probe              |  2 +-
 tests/tcg/README                      |  2 +-
 tests/tcg/mips/mips64-dsp/subq_s_pw.c |  2 +-
 28 files changed, 64 insertions(+), 54 deletions(-)
 mode change 100644 => 100755 tests/qemu-iotests/218

-- 
2.17.2

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

* [PULL v2 00/20] Qemu trivial for 3.1 patches
@ 2018-10-30 11:23 ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:

  Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 7b2b797cf0addac789ba858fdbd95c55128d72d5:

  milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report (2018-10-30 09:13:31 +0100)

----------------------------------------------------------------
QEMU trivial patches collected between June and October 2018
(Thank you to Thomas Huth)

v2: fix 32bit build with updated patch (v3) from Philippe Mathieu-Daudé
    built in a 32bit debian sid chroot

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

Cleber Rosa (6):
  tests/tcg/README: fix location for lm32 tests
  qemu-iotests: fix filename containing checks
  docs/devel/testing.rst: add missing newlines after code block
  scripts/decodetree.py: remove unused imports
  scripts/qemu.py: remove trailing quotes on docstring
  qemu-iotests: make 218 executable

Emilio G. Cota (1):
  linux-user: fix comment s/atomic_write/atomic_set/

Li Qiang (2):
  memory.h: fix typos in comments
  cpu.h: fix a typo in comment

Paolo Bonzini (1):
  ppc: move at24c to its own CONFIG_ symbol

Philippe Mathieu-Daudé (6):
  qobject: Catch another straggler for use of qdict_put_str()
  xen: Use the PCI_DEVICE macro
  tests/bios-tables-test: Remove an useless cast
  hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro
  hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro
  milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of
    error_report

Stefan Weil (2):
  tests: Fix typos in comments and help message (found by codespell)
  configure: Support pkg-config for zlib

Thomas Huth (1):
  configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch

yuchenlin (1):
  vga_int: remove unused function protype

 configure                             | 40 +++++++++++++++------------
 default-configs/alpha-softmmu.mak     |  1 -
 default-configs/ppc-softmmu.mak       |  1 +
 docs/devel/testing.rst                |  2 ++
 hw/display/vga_int.h                  |  1 -
 hw/net/milkymist-minimac2.c           | 15 ++++++----
 hw/nvram/Makefile.objs                |  2 +-
 hw/pci-host/piix.c                    |  2 +-
 hw/pci-host/q35.c                     |  2 +-
 hw/xen/xen_pt_config_init.c           |  8 +++---
 include/exec/memory.h                 |  6 ++--
 include/hw/intc/arm_gicv3_common.h    |  2 +-
 include/qom/cpu.h                     |  2 +-
 linux-user/qemu.h                     |  2 +-
 qobject/block-qdict.c                 |  2 +-
 scripts/decodetree.py                 |  2 --
 scripts/qemu.py                       |  2 +-
 tests/bios-tables-test.c              |  4 +--
 tests/docker/Makefile.include         |  2 +-
 tests/docker/docker.py                |  4 +--
 tests/guest-debug/test-gdbstub.py     |  2 +-
 tests/qemu-iotests/218                |  0
 tests/qemu-iotests/common.qemu        |  2 +-
 tests/qemu-iotests/common.rc          |  4 +--
 tests/tcg/Makefile.include            |  2 +-
 tests/tcg/Makefile.probe              |  2 +-
 tests/tcg/README                      |  2 +-
 tests/tcg/mips/mips64-dsp/subq_s_pw.c |  2 +-
 28 files changed, 64 insertions(+), 54 deletions(-)
 mode change 100644 => 100755 tests/qemu-iotests/218

-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 01/20] configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch
  2018-10-30 11:23 ` Laurent Vivier
  (?)
  (?)
@ 2018-10-30 11:23 ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Thomas Huth <thuth@redhat.com>

We don't use CONFIG_PARALLEL_ISA in any of our Makefiles, so this
is just a dead config option which can be removed.

Fixes: a4cb773928e047b137c6998209cf2eec857fac6b
Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1540376314-5727-1-git-send-email-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 default-configs/alpha-softmmu.mak | 1 -
 1 file changed, 1 deletion(-)

diff --git a/default-configs/alpha-softmmu.mak b/default-configs/alpha-softmmu.mak
index eb58b40254..4d654eaa0b 100644
--- a/default-configs/alpha-softmmu.mak
+++ b/default-configs/alpha-softmmu.mak
@@ -8,7 +8,6 @@ CONFIG_I82374=y
 CONFIG_I8254=y
 CONFIG_I8257=y
 CONFIG_PARALLEL=y
-CONFIG_PARALLEL_ISA=y
 CONFIG_FDC=y
 CONFIG_PCKBD=y
 CONFIG_VGA_CIRRUS=y
-- 
2.17.2

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

* [PULL v2 01/20] configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch
  2018-10-30 11:23 ` Laurent Vivier
  (?)
@ 2018-10-30 11:23 ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Thomas Huth <thuth@redhat.com>

We don't use CONFIG_PARALLEL_ISA in any of our Makefiles, so this
is just a dead config option which can be removed.

Fixes: a4cb773928e047b137c6998209cf2eec857fac6b
Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1540376314-5727-1-git-send-email-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 default-configs/alpha-softmmu.mak | 1 -
 1 file changed, 1 deletion(-)

diff --git a/default-configs/alpha-softmmu.mak b/default-configs/alpha-softmmu.mak
index eb58b40254..4d654eaa0b 100644
--- a/default-configs/alpha-softmmu.mak
+++ b/default-configs/alpha-softmmu.mak
@@ -8,7 +8,6 @@ CONFIG_I82374=y
 CONFIG_I8254=y
 CONFIG_I8257=y
 CONFIG_PARALLEL=y
-CONFIG_PARALLEL_ISA=y
 CONFIG_FDC=y
 CONFIG_PCKBD=y
 CONFIG_VGA_CIRRUS=y
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 02/20] vga_int: remove unused function protype
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, yuchenlin

From: yuchenlin <yuchenlin@synology.com>

Signed-off-by: yuchenlin <yuchenlin@synology.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181022080053.9379-1-yuchenlin@synology.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/display/vga_int.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index 6e4fa48a79..55c418eab5 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -166,7 +166,6 @@ MemoryRegion *vga_init_io(VGACommonState *s, Object *obj,
                           const MemoryRegionPortio **vbe_ports);
 void vga_common_reset(VGACommonState *s);
 
-void vga_sync_dirty_bitmap(VGACommonState *s);
 void vga_dirty_log_start(VGACommonState *s);
 void vga_dirty_log_stop(VGACommonState *s);
 
-- 
2.17.2

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

* [PULL v2 02/20] vga_int: remove unused function protype
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	yuchenlin, Michael Walle, Marcel Apfelbaum, Anthony Perard,
	xen-devel, Laurent Vivier, Thomas Huth, Fam Zheng,
	Eduardo Habkost, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: yuchenlin <yuchenlin@synology.com>

Signed-off-by: yuchenlin <yuchenlin@synology.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181022080053.9379-1-yuchenlin@synology.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/display/vga_int.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index 6e4fa48a79..55c418eab5 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -166,7 +166,6 @@ MemoryRegion *vga_init_io(VGACommonState *s, Object *obj,
                           const MemoryRegionPortio **vbe_ports);
 void vga_common_reset(VGACommonState *s);
 
-void vga_sync_dirty_bitmap(VGACommonState *s);
 void vga_dirty_log_start(VGACommonState *s);
 void vga_dirty_log_stop(VGACommonState *s);
 
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 03/20] memory.h: fix typos in comments
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, Li Qiang

From: Li Qiang <liq3ea@gmail.com>

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1539080467-2976-1-git-send-email-liq3ea@gmail.com>
[lv: s/types/typos/]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/exec/memory.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 667466b8f3..d0c7f0d9e9 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -935,7 +935,7 @@ uint64_t memory_region_size(MemoryRegion *mr);
 /**
  * memory_region_is_ram: check whether a memory region is random access
  *
- * Returns %true is a memory region is random access.
+ * Returns %true if a memory region is random access.
  *
  * @mr: the memory region being queried
  */
@@ -947,7 +947,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr)
 /**
  * memory_region_is_ram_device: check whether a memory region is a ram device
  *
- * Returns %true is a memory region is a device backed ram region
+ * Returns %true if a memory region is a device backed ram region
  *
  * @mr: the memory region being queried
  */
@@ -1161,7 +1161,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr);
 /**
  * memory_region_is_rom: check whether a memory region is ROM
  *
- * Returns %true is a memory region is read-only memory.
+ * Returns %true if a memory region is read-only memory.
  *
  * @mr: the memory region being queried
  */
-- 
2.17.2

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

* [PULL v2 03/20] memory.h: fix typos in comments
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Li Qiang, Michael Walle, Marcel Apfelbaum, Anthony Perard,
	xen-devel, Laurent Vivier, Thomas Huth, Fam Zheng,
	Eduardo Habkost, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: Li Qiang <liq3ea@gmail.com>

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1539080467-2976-1-git-send-email-liq3ea@gmail.com>
[lv: s/types/typos/]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/exec/memory.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 667466b8f3..d0c7f0d9e9 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -935,7 +935,7 @@ uint64_t memory_region_size(MemoryRegion *mr);
 /**
  * memory_region_is_ram: check whether a memory region is random access
  *
- * Returns %true is a memory region is random access.
+ * Returns %true if a memory region is random access.
  *
  * @mr: the memory region being queried
  */
@@ -947,7 +947,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr)
 /**
  * memory_region_is_ram_device: check whether a memory region is a ram device
  *
- * Returns %true is a memory region is a device backed ram region
+ * Returns %true if a memory region is a device backed ram region
  *
  * @mr: the memory region being queried
  */
@@ -1161,7 +1161,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr);
 /**
  * memory_region_is_rom: check whether a memory region is ROM
  *
- * Returns %true is a memory region is read-only memory.
+ * Returns %true if a memory region is read-only memory.
  *
  * @mr: the memory region being queried
  */
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 04/20] tests/tcg/README: fix location for lm32 tests
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

Point to the right and obvious location for lm32 tests.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20181004161852.11673-3-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/tcg/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/README b/tests/tcg/README
index a5643d33e7..2a58f9a058 100644
--- a/tests/tcg/README
+++ b/tests/tcg/README
@@ -10,6 +10,6 @@ with "make test-cris".
 
 LM32
 ====
-The testsuite for LM32 is in tests/tcg/cris.  You can run it
+The testsuite for LM32 is in tests/tcg/lm32.  You can run it
 with "make test-lm32".
 
-- 
2.17.2

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

* [PULL v2 04/20] tests/tcg/README: fix location for lm32 tests
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

Point to the right and obvious location for lm32 tests.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20181004161852.11673-3-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/tcg/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/README b/tests/tcg/README
index a5643d33e7..2a58f9a058 100644
--- a/tests/tcg/README
+++ b/tests/tcg/README
@@ -10,6 +10,6 @@ with "make test-cris".
 
 LM32
 ====
-The testsuite for LM32 is in tests/tcg/cris.  You can run it
+The testsuite for LM32 is in tests/tcg/lm32.  You can run it
 with "make test-lm32".
 
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 05/20] qemu-iotests: fix filename containing checks
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

Commit cce293a2945 moved some functions from common.config to
common.rc, but the error messages still reference the old file
location.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-5-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/qemu-iotests/common.rc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 44bee16a5e..70ca65b49b 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -170,7 +170,7 @@ if [ ! -e "$TEST_DIR" ]; then
 fi
 
 if [ ! -d "$TEST_DIR" ]; then
-    echo "common.config: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
+    echo "common.rc: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
     exit 1
 fi
 
@@ -179,7 +179,7 @@ if [ -z "$REMOTE_TEST_DIR" ]; then
 fi
 
 if [ ! -d "$SAMPLE_IMG_DIR" ]; then
-    echo "common.config: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
+    echo "common.rc: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
     exit 1
 fi
 
-- 
2.17.2

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

* [PULL v2 05/20] qemu-iotests: fix filename containing checks
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

Commit cce293a2945 moved some functions from common.config to
common.rc, but the error messages still reference the old file
location.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-5-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/qemu-iotests/common.rc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 44bee16a5e..70ca65b49b 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -170,7 +170,7 @@ if [ ! -e "$TEST_DIR" ]; then
 fi
 
 if [ ! -d "$TEST_DIR" ]; then
-    echo "common.config: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
+    echo "common.rc: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
     exit 1
 fi
 
@@ -179,7 +179,7 @@ if [ -z "$REMOTE_TEST_DIR" ]; then
 fi
 
 if [ ! -d "$SAMPLE_IMG_DIR" ]; then
-    echo "common.config: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
+    echo "common.rc: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
     exit 1
 fi
 
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 06/20] docs/devel/testing.rst: add missing newlines after code block
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

The line immediate following a ".. code::" block is considered
to contains arguments to the "code directive".  The lack of a
new line gives me during at parse time:

   testing.rst:63: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-unit V=1

   testing.rst:120: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-qtest V=1

Let's add the missing newlines, both for consistency and to
avoid the parsing errors.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20181004161852.11673-6-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 docs/devel/testing.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index fcfad87614..a227754f86 100644
--- a/docs/devel/testing.rst
+++ b/docs/devel/testing.rst
@@ -59,6 +59,7 @@ variable (which affects memory reclamation and catches invalid pointers better)
 and gtester options. If necessary, you can run
 
 .. code::
+
   make check-unit V=1
 
 and copy the actual command line which executes the unit test, then run
@@ -116,6 +117,7 @@ and using gdb on the test is still simple to do: find out the actual command
 from the output of
 
 .. code::
+
   make check-qtest V=1
 
 which you can run manually.
-- 
2.17.2

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

* [PULL v2 06/20] docs/devel/testing.rst: add missing newlines after code block
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

The line immediate following a ".. code::" block is considered
to contains arguments to the "code directive".  The lack of a
new line gives me during at parse time:

   testing.rst:63: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-unit V=1

   testing.rst:120: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-qtest V=1

Let's add the missing newlines, both for consistency and to
avoid the parsing errors.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20181004161852.11673-6-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 docs/devel/testing.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index fcfad87614..a227754f86 100644
--- a/docs/devel/testing.rst
+++ b/docs/devel/testing.rst
@@ -59,6 +59,7 @@ variable (which affects memory reclamation and catches invalid pointers better)
 and gtester options. If necessary, you can run
 
 .. code::
+
   make check-unit V=1
 
 and copy the actual command line which executes the unit test, then run
@@ -116,6 +117,7 @@ and using gdb on the test is still simple to do: find out the actual command
 from the output of
 
 .. code::
+
   make check-qtest V=1
 
 which you can run manually.
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 07/20] scripts/decodetree.py: remove unused imports
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-8-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 scripts/decodetree.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index 277f9a9bba..457cffea90 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -149,12 +149,10 @@
 #   trans_addl_i(ctx, &arg_opi, insn)
 #
 
-import io
 import os
 import re
 import sys
 import getopt
-import pdb
 
 insnwidth = 32
 insnmask = 0xffffffff
-- 
2.17.2

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

* [PULL v2 07/20] scripts/decodetree.py: remove unused imports
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-8-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 scripts/decodetree.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index 277f9a9bba..457cffea90 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -149,12 +149,10 @@
 #   trans_addl_i(ctx, &arg_opi, insn)
 #
 
-import io
 import os
 import re
 import sys
 import getopt
-import pdb
 
 insnwidth = 32
 insnmask = 0xffffffff
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 08/20] scripts/qemu.py: remove trailing quotes on docstring
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-11-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 scripts/qemu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/qemu.py b/scripts/qemu.py
index f099ce7278..b0b2f12ce6 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -87,7 +87,7 @@ class QEMUMachine(object):
         @param name: prefix for socket and log file names (default: qemu-PID)
         @param test_dir: where to create socket and log file
         @param monitor_address: address for QMP monitor
-        @param socket_scm_helper: helper program, required for send_fd_scm()"
+        @param socket_scm_helper: helper program, required for send_fd_scm()
         @note: Qemu process is not started until launch() is used.
         '''
         if args is None:
-- 
2.17.2

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

* [PULL v2 08/20] scripts/qemu.py: remove trailing quotes on docstring
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-11-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 scripts/qemu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/qemu.py b/scripts/qemu.py
index f099ce7278..b0b2f12ce6 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -87,7 +87,7 @@ class QEMUMachine(object):
         @param name: prefix for socket and log file names (default: qemu-PID)
         @param test_dir: where to create socket and log file
         @param monitor_address: address for QMP monitor
-        @param socket_scm_helper: helper program, required for send_fd_scm()"
+        @param socket_scm_helper: helper program, required for send_fd_scm()
         @note: Qemu process is not started until launch() is used.
         '''
         if args is None:
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 09/20] qemu-iotests: make 218 executable
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Cleber Rosa <crosa@redhat.com>

Commit 990dc39c made all tests executable at the time, but 218 came in
later, and missing those permissions.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181004161852.11673-4-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/qemu-iotests/218 | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tests/qemu-iotests/218

diff --git a/tests/qemu-iotests/218 b/tests/qemu-iotests/218
old mode 100644
new mode 100755
-- 
2.17.2

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

* [PULL v2 09/20] qemu-iotests: make 218 executable
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Cleber Rosa <crosa@redhat.com>

Commit 990dc39c made all tests executable at the time, but 218 came in
later, and missing those permissions.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181004161852.11673-4-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/qemu-iotests/218 | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tests/qemu-iotests/218

diff --git a/tests/qemu-iotests/218 b/tests/qemu-iotests/218
old mode 100644
new mode 100755
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 10/20] linux-user: fix comment s/atomic_write/atomic_set/
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, Emilio G. Cota

From: "Emilio G. Cota" <cota@braap.org>

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180811211011.6277-1-cota@braap.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/qemu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 1beb6a2cfc..dde3f26f5a 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -143,7 +143,7 @@ typedef struct TaskState {
     /* Nonzero if process_pending_signals() needs to do something (either
      * handle a pending signal or unblock signals).
      * This flag is written from a signal handler so should be accessed via
-     * the atomic_read() and atomic_write() functions. (It is not accessed
+     * the atomic_read() and atomic_set() functions. (It is not accessed
      * from multiple threads.)
      */
     int signal_pending;
-- 
2.17.2

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

* [PULL v2 10/20] linux-user: fix comment s/atomic_write/atomic_set/
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Emilio G. Cota, Marcel Apfelbaum, Anthony Perard,
	xen-devel, Laurent Vivier, Thomas Huth, Fam Zheng,
	Eduardo Habkost, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: "Emilio G. Cota" <cota@braap.org>

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180811211011.6277-1-cota@braap.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/qemu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 1beb6a2cfc..dde3f26f5a 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -143,7 +143,7 @@ typedef struct TaskState {
     /* Nonzero if process_pending_signals() needs to do something (either
      * handle a pending signal or unblock signals).
      * This flag is written from a signal handler so should be accessed via
-     * the atomic_read() and atomic_write() functions. (It is not accessed
+     * the atomic_read() and atomic_set() functions. (It is not accessed
      * from multiple threads.)
      */
     int signal_pending;
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 11/20] cpu.h: fix a typo in comment
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, Li Qiang

From: Li Qiang <liq3ea@gmail.com>

Found by reading the code.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <1536150548-2797-1-git-send-email-liq3ea@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index 4e238b0d9f..def0c64308 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler;
 /**
  * cpu_interrupt:
  * @cpu: The CPU to set an interrupt on.
- * @mask: The interupts to set.
+ * @mask: The interrupts to set.
  *
  * Invokes the interrupt handler.
  */
-- 
2.17.2

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

* [PULL v2 11/20] cpu.h: fix a typo in comment
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Li Qiang, Michael Walle, Marcel Apfelbaum, Anthony Perard,
	xen-devel, Laurent Vivier, Thomas Huth, Fam Zheng,
	Eduardo Habkost, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: Li Qiang <liq3ea@gmail.com>

Found by reading the code.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <1536150548-2797-1-git-send-email-liq3ea@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index 4e238b0d9f..def0c64308 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler;
 /**
  * cpu_interrupt:
  * @cpu: The CPU to set an interrupt on.
- * @mask: The interupts to set.
+ * @mask: The interrupts to set.
  *
  * Invokes the interrupt handler.
  */
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 12/20] tests: Fix typos in comments and help message (found by codespell)
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, Stefan Weil

From: Stefan Weil <sw@weilnetz.de>

Fix also a grammar issue.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20180713054755.23323-1-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/bios-tables-test.c              | 2 +-
 tests/docker/Makefile.include         | 2 +-
 tests/docker/docker.py                | 4 ++--
 tests/guest-debug/test-gdbstub.py     | 2 +-
 tests/qemu-iotests/common.qemu        | 2 +-
 tests/tcg/Makefile.include            | 2 +-
 tests/tcg/Makefile.probe              | 2 +-
 tests/tcg/mips/mips64-dsp/subq_s_pw.c | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
index 4e24930c4b..af4b1fb6bd 100644
--- a/tests/bios-tables-test.c
+++ b/tests/bios-tables-test.c
@@ -390,7 +390,7 @@ try_again:
         if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) {
             exp_sdt.aml_file = aml_file;
         } else if (*ext != '\0') {
-            /* try fallback to generic (extention less) expected file */
+            /* try fallback to generic (extension less) expected file */
             ext = "";
             g_free(aml_file);
             goto try_again;
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 6e03235ab9..9467e9d088 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -41,7 +41,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY)
 docker-image: ${DOCKER_TARGETS}
 
 # General rule for building docker images. If we are a sub-make
-# invoked with SKIP_DOCKER_BUILD we still check the image is upto date
+# invoked with SKIP_DOCKER_BUILD we still check the image is up to date
 # though
 ifdef SKIP_DOCKER_BUILD
 docker-image-%: $(DOCKER_FILES_DIR)/%.docker
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 44d5f7493b..02d8a83847 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -97,7 +97,7 @@ def _get_so_libs(executable):
     return libs
 
 def _copy_binary_with_libs(src, dest_dir):
-    """Copy a binary executable and all its dependant libraries.
+    """Copy a binary executable and all its dependent libraries.
 
     This does rely on the host file-system being fairly multi-arch
     aware so the file don't clash with the guests layout."""
@@ -284,7 +284,7 @@ class SubCommand(object):
     name = None # Subcommand name
     def shared_args(self, parser):
         parser.add_argument("--quiet", action="store_true",
-                            help="Run quietly unless an error occured")
+                            help="Run quietly unless an error occurred")
 
     def args(self, parser):
         """Setup argument parser"""
diff --git a/tests/guest-debug/test-gdbstub.py b/tests/guest-debug/test-gdbstub.py
index 474d2c5c65..0e4ac01426 100644
--- a/tests/guest-debug/test-gdbstub.py
+++ b/tests/guest-debug/test-gdbstub.py
@@ -122,7 +122,7 @@ class CatchBreakpoint(gdb.Breakpoint):
 
 
 def run_test():
-    "Run throught the tests one by one"
+    "Run through the tests one by one"
 
     print ("Checking we can step the first few instructions")
     step_ok = 0
diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu
index f285484951..dadde2a266 100644
--- a/tests/qemu-iotests/common.qemu
+++ b/tests/qemu-iotests/common.qemu
@@ -257,7 +257,7 @@ function _launch_qemu()
 }
 
 
-# Silenty kills the QEMU process
+# Silently kills the QEMU process
 #
 # If $wait is set to anything other than the empty string, the process will not
 # be killed but only waited for, and any output will be forwarded to stdout. If
diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include
index 57470b2a2c..c581bd6ffc 100644
--- a/tests/tcg/Makefile.include
+++ b/tests/tcg/Makefile.include
@@ -2,7 +2,7 @@
 #
 # TCG tests (per-target rules)
 #
-# This Makefile fragement is included from the per-target
+# This Makefile fragment is included from the per-target
 # Makefile.target so will be invoked for each linux-user program we
 # build. We have two options for compiling, either using a configured
 # guest compiler or calling one of our docker images to do it for us.
diff --git a/tests/tcg/Makefile.probe b/tests/tcg/Makefile.probe
index 15c0412657..9dc654663d 100644
--- a/tests/tcg/Makefile.probe
+++ b/tests/tcg/Makefile.probe
@@ -2,7 +2,7 @@
 #
 # TCG Compiler Probe
 #
-# This Makefile fragement is included multiple times in the main make
+# This Makefile fragment is included multiple times in the main make
 # script to probe for available compilers. This is used to build up a
 # selection of required docker targets before we invoke a sub-make for
 # each target.
diff --git a/tests/tcg/mips/mips64-dsp/subq_s_pw.c b/tests/tcg/mips/mips64-dsp/subq_s_pw.c
index e8e0b0567e..4c080b785a 100644
--- a/tests/tcg/mips/mips64-dsp/subq_s_pw.c
+++ b/tests/tcg/mips/mips64-dsp/subq_s_pw.c
@@ -24,7 +24,7 @@ int main(void)
     rt = 0x123456789ABCDEF1;
     rs = 0x123456789ABCDEF2;
     result =  0x0000000000000001;
-    /* This time we do not set dspctrl, but it setted in pre-action. */
+    /* This time we do not set dspctrl, but set it in pre-action. */
     dspresult = 0x1;
 
     __asm
-- 
2.17.2

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

* [PULL v2 12/20] tests: Fix typos in comments and help message (found by codespell)
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Stefan Weil, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: Stefan Weil <sw@weilnetz.de>

Fix also a grammar issue.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20180713054755.23323-1-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/bios-tables-test.c              | 2 +-
 tests/docker/Makefile.include         | 2 +-
 tests/docker/docker.py                | 4 ++--
 tests/guest-debug/test-gdbstub.py     | 2 +-
 tests/qemu-iotests/common.qemu        | 2 +-
 tests/tcg/Makefile.include            | 2 +-
 tests/tcg/Makefile.probe              | 2 +-
 tests/tcg/mips/mips64-dsp/subq_s_pw.c | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
index 4e24930c4b..af4b1fb6bd 100644
--- a/tests/bios-tables-test.c
+++ b/tests/bios-tables-test.c
@@ -390,7 +390,7 @@ try_again:
         if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) {
             exp_sdt.aml_file = aml_file;
         } else if (*ext != '\0') {
-            /* try fallback to generic (extention less) expected file */
+            /* try fallback to generic (extension less) expected file */
             ext = "";
             g_free(aml_file);
             goto try_again;
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 6e03235ab9..9467e9d088 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -41,7 +41,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY)
 docker-image: ${DOCKER_TARGETS}
 
 # General rule for building docker images. If we are a sub-make
-# invoked with SKIP_DOCKER_BUILD we still check the image is upto date
+# invoked with SKIP_DOCKER_BUILD we still check the image is up to date
 # though
 ifdef SKIP_DOCKER_BUILD
 docker-image-%: $(DOCKER_FILES_DIR)/%.docker
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 44d5f7493b..02d8a83847 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -97,7 +97,7 @@ def _get_so_libs(executable):
     return libs
 
 def _copy_binary_with_libs(src, dest_dir):
-    """Copy a binary executable and all its dependant libraries.
+    """Copy a binary executable and all its dependent libraries.
 
     This does rely on the host file-system being fairly multi-arch
     aware so the file don't clash with the guests layout."""
@@ -284,7 +284,7 @@ class SubCommand(object):
     name = None # Subcommand name
     def shared_args(self, parser):
         parser.add_argument("--quiet", action="store_true",
-                            help="Run quietly unless an error occured")
+                            help="Run quietly unless an error occurred")
 
     def args(self, parser):
         """Setup argument parser"""
diff --git a/tests/guest-debug/test-gdbstub.py b/tests/guest-debug/test-gdbstub.py
index 474d2c5c65..0e4ac01426 100644
--- a/tests/guest-debug/test-gdbstub.py
+++ b/tests/guest-debug/test-gdbstub.py
@@ -122,7 +122,7 @@ class CatchBreakpoint(gdb.Breakpoint):
 
 
 def run_test():
-    "Run throught the tests one by one"
+    "Run through the tests one by one"
 
     print ("Checking we can step the first few instructions")
     step_ok = 0
diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu
index f285484951..dadde2a266 100644
--- a/tests/qemu-iotests/common.qemu
+++ b/tests/qemu-iotests/common.qemu
@@ -257,7 +257,7 @@ function _launch_qemu()
 }
 
 
-# Silenty kills the QEMU process
+# Silently kills the QEMU process
 #
 # If $wait is set to anything other than the empty string, the process will not
 # be killed but only waited for, and any output will be forwarded to stdout. If
diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include
index 57470b2a2c..c581bd6ffc 100644
--- a/tests/tcg/Makefile.include
+++ b/tests/tcg/Makefile.include
@@ -2,7 +2,7 @@
 #
 # TCG tests (per-target rules)
 #
-# This Makefile fragement is included from the per-target
+# This Makefile fragment is included from the per-target
 # Makefile.target so will be invoked for each linux-user program we
 # build. We have two options for compiling, either using a configured
 # guest compiler or calling one of our docker images to do it for us.
diff --git a/tests/tcg/Makefile.probe b/tests/tcg/Makefile.probe
index 15c0412657..9dc654663d 100644
--- a/tests/tcg/Makefile.probe
+++ b/tests/tcg/Makefile.probe
@@ -2,7 +2,7 @@
 #
 # TCG Compiler Probe
 #
-# This Makefile fragement is included multiple times in the main make
+# This Makefile fragment is included multiple times in the main make
 # script to probe for available compilers. This is used to build up a
 # selection of required docker targets before we invoke a sub-make for
 # each target.
diff --git a/tests/tcg/mips/mips64-dsp/subq_s_pw.c b/tests/tcg/mips/mips64-dsp/subq_s_pw.c
index e8e0b0567e..4c080b785a 100644
--- a/tests/tcg/mips/mips64-dsp/subq_s_pw.c
+++ b/tests/tcg/mips/mips64-dsp/subq_s_pw.c
@@ -24,7 +24,7 @@ int main(void)
     rt = 0x123456789ABCDEF1;
     rs = 0x123456789ABCDEF2;
     result =  0x0000000000000001;
-    /* This time we do not set dspctrl, but it setted in pre-action. */
+    /* This time we do not set dspctrl, but set it in pre-action. */
     dspresult = 0x1;
 
     __asm
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 13/20] configure: Support pkg-config for zlib
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster, Stefan Weil

From: Stefan Weil <sw@weilnetz.de>

This is needed for builds with the mingw64-* packages from Cygwin,
but also works for Linux.

Move the zlib test also more to the end because users should
get information on the really important missing packages
(which also require zlib) first.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180712192603.11599-1-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 configure | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)

diff --git a/configure b/configure
index 1ee09bd112..a02df30dde 100755
--- a/configure
+++ b/configure
@@ -2151,23 +2151,6 @@ EOF
   fi
 fi
 
-#########################################
-# zlib check
-
-if test "$zlib" != "no" ; then
-    cat > $TMPC << EOF
-#include <zlib.h>
-int main(void) { zlibVersion(); return 0; }
-EOF
-    if compile_prog "" "-lz" ; then
-        :
-    else
-        error_exit "zlib check failed" \
-            "Make sure to have the zlib libs and headers installed."
-    fi
-fi
-LIBS="$LIBS -lz"
-
 ##########################################
 # lzo check
 
@@ -3479,6 +3462,29 @@ if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then
     fi
 fi
 
+#########################################
+# zlib check
+
+if test "$zlib" != "no" ; then
+    if $pkg_config --exists zlib; then
+        zlib_cflags=$($pkg_config --cflags zlib)
+        zlib_libs=$($pkg_config --libs zlib)
+        QEMU_CFLAGS="$zlib_cflags $QEMU_CFLAGS"
+        LIBS="$zlib_libs $LIBS"
+    else
+        cat > $TMPC << EOF
+#include <zlib.h>
+int main(void) { zlibVersion(); return 0; }
+EOF
+        if compile_prog "" "-lz" ; then
+            LIBS="$LIBS -lz"
+        else
+            error_exit "zlib check failed" \
+                "Make sure to have the zlib libs and headers installed."
+        fi
+    fi
+fi
+
 ##########################################
 # SHA command probe for modules
 if test "$modules" = yes; then
-- 
2.17.2

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

* [PULL v2 13/20] configure: Support pkg-config for zlib
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Stefan Weil, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf, Markus Armbruster

From: Stefan Weil <sw@weilnetz.de>

This is needed for builds with the mingw64-* packages from Cygwin,
but also works for Linux.

Move the zlib test also more to the end because users should
get information on the really important missing packages
(which also require zlib) first.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180712192603.11599-1-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 configure | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)

diff --git a/configure b/configure
index 1ee09bd112..a02df30dde 100755
--- a/configure
+++ b/configure
@@ -2151,23 +2151,6 @@ EOF
   fi
 fi
 
-#########################################
-# zlib check
-
-if test "$zlib" != "no" ; then
-    cat > $TMPC << EOF
-#include <zlib.h>
-int main(void) { zlibVersion(); return 0; }
-EOF
-    if compile_prog "" "-lz" ; then
-        :
-    else
-        error_exit "zlib check failed" \
-            "Make sure to have the zlib libs and headers installed."
-    fi
-fi
-LIBS="$LIBS -lz"
-
 ##########################################
 # lzo check
 
@@ -3479,6 +3462,29 @@ if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then
     fi
 fi
 
+#########################################
+# zlib check
+
+if test "$zlib" != "no" ; then
+    if $pkg_config --exists zlib; then
+        zlib_cflags=$($pkg_config --cflags zlib)
+        zlib_libs=$($pkg_config --libs zlib)
+        QEMU_CFLAGS="$zlib_cflags $QEMU_CFLAGS"
+        LIBS="$zlib_libs $LIBS"
+    else
+        cat > $TMPC << EOF
+#include <zlib.h>
+int main(void) { zlibVersion(); return 0; }
+EOF
+        if compile_prog "" "-lz" ; then
+            LIBS="$LIBS -lz"
+        else
+            error_exit "zlib check failed" \
+                "Make sure to have the zlib libs and headers installed."
+        fi
+    fi
+fi
+
 ##########################################
 # SHA command probe for modules
 if test "$modules" = yes; then
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 14/20] qobject: Catch another straggler for use of qdict_put_str()
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/qobject.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 qobject/block-qdict.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qobject/block-qdict.c b/qobject/block-qdict.c
index 42054cc274..1487cc5dd8 100644
--- a/qobject/block-qdict.c
+++ b/qobject/block-qdict.c
@@ -577,7 +577,7 @@ static QObject *qdict_crumple_for_keyval_qiv(QDict *src, Error **errp)
         if (!tmp) {
             tmp = qdict_clone_shallow(src);
         }
-        qdict_put(tmp, ent->key, qstring_from_str(s));
+        qdict_put_str(tmp, ent->key, s);
         g_free(buf);
     }
 
-- 
2.17.2

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

* [PULL v2 14/20] qobject: Catch another straggler for use of qdict_put_str()
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/qobject.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 qobject/block-qdict.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qobject/block-qdict.c b/qobject/block-qdict.c
index 42054cc274..1487cc5dd8 100644
--- a/qobject/block-qdict.c
+++ b/qobject/block-qdict.c
@@ -577,7 +577,7 @@ static QObject *qdict_crumple_for_keyval_qiv(QDict *src, Error **errp)
         if (!tmp) {
             tmp = qdict_clone_shallow(src);
         }
-        qdict_put(tmp, ent->key, qstring_from_str(s));
+        qdict_put_str(tmp, ent->key, s);
         g_free(buf);
     }
 
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 15/20] xen: Use the PCI_DEVICE macro
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

TYPE_XEN_PT_DEVICE is a subclass of TYPE_PCI_DEVICE, the clean way
to access the PCIDevice pointer is using the PCI_DEVICE() macro.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/xen/xen_pt_config_init.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c
index aee31c62bb..47f9010c75 100644
--- a/hw/xen/xen_pt_config_init.c
+++ b/hw/xen/xen_pt_config_init.c
@@ -358,7 +358,7 @@ static uint64_t xen_pt_get_bar_size(PCIIORegion *r)
 static XenPTBarFlag xen_pt_bar_reg_parse(XenPCIPassthroughState *s,
                                          int index)
 {
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     XenPTRegion *region = NULL;
     PCIIORegion *r;
 
@@ -469,7 +469,7 @@ static int xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry,
 {
     XenPTRegInfo *reg = cfg_entry->reg;
     XenPTRegion *base = NULL;
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     const PCIIORegion *r;
     uint32_t writable_mask = 0;
     uint32_t bar_emu_mask = 0;
@@ -543,7 +543,7 @@ static int xen_pt_exp_rom_bar_reg_write(XenPCIPassthroughState *s,
 {
     XenPTRegInfo *reg = cfg_entry->reg;
     XenPTRegion *base = NULL;
-    PCIDevice *d = (PCIDevice *)&s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     uint32_t writable_mask = 0;
     uint32_t throughable_mask = get_throughable_mask(s, reg, valid_mask);
     pcibus_t r_size = 0;
@@ -1587,7 +1587,7 @@ static int xen_pt_pcie_size_init(XenPCIPassthroughState *s,
                                  const XenPTRegGroupInfo *grp_reg,
                                  uint32_t base_offset, uint8_t *size)
 {
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     uint8_t version = get_capability_version(s, base_offset);
     uint8_t type = get_device_type(s, base_offset);
     uint8_t pcie_size = 0;
-- 
2.17.2

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

* [PULL v2 15/20] xen: Use the PCI_DEVICE macro
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

TYPE_XEN_PT_DEVICE is a subclass of TYPE_PCI_DEVICE, the clean way
to access the PCIDevice pointer is using the PCI_DEVICE() macro.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/xen/xen_pt_config_init.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c
index aee31c62bb..47f9010c75 100644
--- a/hw/xen/xen_pt_config_init.c
+++ b/hw/xen/xen_pt_config_init.c
@@ -358,7 +358,7 @@ static uint64_t xen_pt_get_bar_size(PCIIORegion *r)
 static XenPTBarFlag xen_pt_bar_reg_parse(XenPCIPassthroughState *s,
                                          int index)
 {
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     XenPTRegion *region = NULL;
     PCIIORegion *r;
 
@@ -469,7 +469,7 @@ static int xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry,
 {
     XenPTRegInfo *reg = cfg_entry->reg;
     XenPTRegion *base = NULL;
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     const PCIIORegion *r;
     uint32_t writable_mask = 0;
     uint32_t bar_emu_mask = 0;
@@ -543,7 +543,7 @@ static int xen_pt_exp_rom_bar_reg_write(XenPCIPassthroughState *s,
 {
     XenPTRegInfo *reg = cfg_entry->reg;
     XenPTRegion *base = NULL;
-    PCIDevice *d = (PCIDevice *)&s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     uint32_t writable_mask = 0;
     uint32_t throughable_mask = get_throughable_mask(s, reg, valid_mask);
     pcibus_t r_size = 0;
@@ -1587,7 +1587,7 @@ static int xen_pt_pcie_size_init(XenPCIPassthroughState *s,
                                  const XenPTRegGroupInfo *grp_reg,
                                  uint32_t base_offset, uint8_t *size)
 {
-    PCIDevice *d = &s->dev;
+    PCIDevice *d = PCI_DEVICE(s);
     uint8_t version = get_capability_version(s, base_offset);
     uint8_t type = get_device_type(s, base_offset);
     uint8_t pcie_size = 0;
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 16/20] tests/bios-tables-test: Remove an useless cast
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/typecast.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-5-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/bios-tables-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
index af4b1fb6bd..02e77ec811 100644
--- a/tests/bios-tables-test.c
+++ b/tests/bios-tables-test.c
@@ -319,7 +319,7 @@ static bool load_asl(GArray *sdts, AcpiSdtTable *sdt)
     ret = g_spawn_command_line_sync(command_line->str, &out, &out_err, NULL, &error);
     g_assert_no_error(error);
     if (ret) {
-        ret = g_file_get_contents(sdt->asl_file, (gchar **)&sdt->asl,
+        ret = g_file_get_contents(sdt->asl_file, &sdt->asl,
                                   &sdt->asl_len, &error);
         g_assert(ret);
         g_assert_no_error(error);
-- 
2.17.2

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

* [PULL v2 16/20] tests/bios-tables-test: Remove an useless cast
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/typecast.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-5-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/bios-tables-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
index af4b1fb6bd..02e77ec811 100644
--- a/tests/bios-tables-test.c
+++ b/tests/bios-tables-test.c
@@ -319,7 +319,7 @@ static bool load_asl(GArray *sdts, AcpiSdtTable *sdt)
     ret = g_spawn_command_line_sync(command_line->str, &out, &out_err, NULL, &error);
     g_assert_no_error(error);
     if (ret) {
-        ret = g_file_get_contents(sdt->asl_file, (gchar **)&sdt->asl,
+        ret = g_file_get_contents(sdt->asl_file, &sdt->asl,
                                   &sdt->asl_len, &error);
         g_assert(ret);
         g_assert_no_error(error);
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 17/20] hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/round.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-7-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/pci-host/piix.c | 2 +-
 hw/pci-host/q35.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index da73743fa2..47293a3915 100644
--- a/hw/pci-host/piix.c
+++ b/hw/pci-host/piix.c
@@ -144,7 +144,7 @@ static void i440fx_update_memory_mappings(PCII440FXState *d)
     memory_region_transaction_begin();
     for (i = 0; i < 13; i++) {
         pam_update(&d->pam_regions[i], i,
-                   pd->config[I440FX_PAM + (DIV_ROUND_UP(i, 2))]);
+                   pd->config[I440FX_PAM + DIV_ROUND_UP(i, 2)]);
     }
     memory_region_set_enabled(&d->smram_region,
                               !(pd->config[I440FX_SMRAM] & SMRAM_D_OPEN));
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index 8ce1e09932..966a7cf92d 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -356,7 +356,7 @@ static void mch_update_pam(MCHPCIState *mch)
     memory_region_transaction_begin();
     for (i = 0; i < 13; i++) {
         pam_update(&mch->pam_regions[i], i,
-                   pd->config[MCH_HOST_BRIDGE_PAM0 + (DIV_ROUND_UP(i, 2))]);
+                   pd->config[MCH_HOST_BRIDGE_PAM0 + DIV_ROUND_UP(i, 2)]);
     }
     memory_region_transaction_commit();
 }
-- 
2.17.2

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

* [PULL v2 17/20] hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/round.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-7-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/pci-host/piix.c | 2 +-
 hw/pci-host/q35.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index da73743fa2..47293a3915 100644
--- a/hw/pci-host/piix.c
+++ b/hw/pci-host/piix.c
@@ -144,7 +144,7 @@ static void i440fx_update_memory_mappings(PCII440FXState *d)
     memory_region_transaction_begin();
     for (i = 0; i < 13; i++) {
         pam_update(&d->pam_regions[i], i,
-                   pd->config[I440FX_PAM + (DIV_ROUND_UP(i, 2))]);
+                   pd->config[I440FX_PAM + DIV_ROUND_UP(i, 2)]);
     }
     memory_region_set_enabled(&d->smram_region,
                               !(pd->config[I440FX_SMRAM] & SMRAM_D_OPEN));
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index 8ce1e09932..966a7cf92d 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -356,7 +356,7 @@ static void mch_update_pam(MCHPCIState *mch)
     memory_region_transaction_begin();
     for (i = 0; i < 13; i++) {
         pam_update(&mch->pam_regions[i], i,
-                   pd->config[MCH_HOST_BRIDGE_PAM0 + (DIV_ROUND_UP(i, 2))]);
+                   pd->config[MCH_HOST_BRIDGE_PAM0 + DIV_ROUND_UP(i, 2)]);
     }
     memory_region_transaction_commit();
 }
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 18/20] hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/round.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-8-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/hw/intc/arm_gicv3_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/intc/arm_gicv3_common.h b/include/hw/intc/arm_gicv3_common.h
index b798486ecf..31ec9a1ae4 100644
--- a/include/hw/intc/arm_gicv3_common.h
+++ b/include/hw/intc/arm_gicv3_common.h
@@ -62,7 +62,7 @@
  * avoids bugs where we forget to subtract GIC_INTERNAL from an
  * interrupt number.
  */
-#define GICV3_BMP_SIZE (DIV_ROUND_UP(GICV3_MAXIRQ, 32))
+#define GICV3_BMP_SIZE DIV_ROUND_UP(GICV3_MAXIRQ, 32)
 
 #define GIC_DECLARE_BITMAP(name) \
     uint32_t name[GICV3_BMP_SIZE]
-- 
2.17.2

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

* [PULL v2 18/20] hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/round.cocci \
            --macro-file scripts/cocci-macro-file.h \
            --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-8-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/hw/intc/arm_gicv3_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/intc/arm_gicv3_common.h b/include/hw/intc/arm_gicv3_common.h
index b798486ecf..31ec9a1ae4 100644
--- a/include/hw/intc/arm_gicv3_common.h
+++ b/include/hw/intc/arm_gicv3_common.h
@@ -62,7 +62,7 @@
  * avoids bugs where we forget to subtract GIC_INTERNAL from an
  * interrupt number.
  */
-#define GICV3_BMP_SIZE (DIV_ROUND_UP(GICV3_MAXIRQ, 32))
+#define GICV3_BMP_SIZE DIV_ROUND_UP(GICV3_MAXIRQ, 32)
 
 #define GIC_DECLARE_BITMAP(name) \
     uint32_t name[GICV3_BMP_SIZE]
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 19/20] ppc: move at24c to its own CONFIG_ symbol
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Paolo Bonzini <pbonzini@redhat.com>

AT24c EEPROM is currently gated by CONFIG_I2C, and as such it is
being included in all emulators that use I2C, even if they do not
really need it.  Separate it and, since it was added for the e500
machines, add it to qemu-system-ppc and qemu-system-ppc64.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20180522191743.12872-1-pbonzini@redhat.com>
[lv: rebase]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 default-configs/ppc-softmmu.mak | 1 +
 hw/nvram/Makefile.objs          | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 3181bbf163..23d871fb3e 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -28,6 +28,7 @@ CONFIG_SM501=y
 CONFIG_DDC=y
 CONFIG_IDE_SII3112=y
 CONFIG_I2C=y
+CONFIG_AT24C=y
 CONFIG_BITBANG_I2C=y
 CONFIG_M41T80=y
 CONFIG_VGA_CIRRUS=y
diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs
index a912d25391..b318e53a43 100644
--- a/hw/nvram/Makefile.objs
+++ b/hw/nvram/Makefile.objs
@@ -1,6 +1,6 @@
 common-obj-$(CONFIG_DS1225Y) += ds1225y.o
 common-obj-y += eeprom93xx.o
-common-obj-$(CONFIG_I2C) += eeprom_at24c.o
+common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
 common-obj-y += fw_cfg.o
 common-obj-y += chrp_nvram.o
 common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
-- 
2.17.2

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

* [PULL v2 19/20] ppc: move at24c to its own CONFIG_ symbol
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Paolo Bonzini <pbonzini@redhat.com>

AT24c EEPROM is currently gated by CONFIG_I2C, and as such it is
being included in all emulators that use I2C, even if they do not
really need it.  Separate it and, since it was added for the e500
machines, add it to qemu-system-ppc and qemu-system-ppc64.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20180522191743.12872-1-pbonzini@redhat.com>
[lv: rebase]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 default-configs/ppc-softmmu.mak | 1 +
 hw/nvram/Makefile.objs          | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 3181bbf163..23d871fb3e 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -28,6 +28,7 @@ CONFIG_SM501=y
 CONFIG_DDC=y
 CONFIG_IDE_SII3112=y
 CONFIG_I2C=y
+CONFIG_AT24C=y
 CONFIG_BITBANG_I2C=y
 CONFIG_M41T80=y
 CONFIG_VGA_CIRRUS=y
diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs
index a912d25391..b318e53a43 100644
--- a/hw/nvram/Makefile.objs
+++ b/hw/nvram/Makefile.objs
@@ -1,6 +1,6 @@
 common-obj-$(CONFIG_DS1225Y) += ds1225y.o
 common-obj-y += eeprom93xx.o
-common-obj-$(CONFIG_I2C) += eeprom_at24c.o
+common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
 common-obj-y += fw_cfg.o
 common-obj-y += chrp_nvram.o
 common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Qemu-devel] [PULL v2 20/20] milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 11:23   ` Laurent Vivier
  -1 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Cleber Rosa, Jason Wang, qemu-arm,
	Igor Mammedov, Paolo Bonzini, Peter Maydell, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Laurent Vivier, Kevin Wolf,
	Philippe Mathieu-Daudé,
	Stefano Stabellini, qemu-trivial, qemu-block, Eduardo Habkost,
	xen-devel, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

qemu_log_mask(GUEST_ERROR) is more appropriate:

  $ qemu -d help
  Log items (comma separated):
  guest_errors    log when the guest OS does something invalid (eg accessing a non-existent register)

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael Walle <michael@walle.cc>
Message-Id: <20181029130034.26750-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/net/milkymist-minimac2.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c
index 3eaa19dfde..664ac34f25 100644
--- a/hw/net/milkymist-minimac2.c
+++ b/hw/net/milkymist-minimac2.c
@@ -30,6 +30,7 @@
 #include "hw/sysbus.h"
 #include "trace.h"
 #include "net/net.h"
+#include "qemu/log.h"
 #include "qemu/error-report.h"
 
 #include <zlib.h>
@@ -214,7 +215,8 @@ static size_t assemble_frame(uint8_t *buf, size_t size,
     uint32_t crc;
 
     if (size < payload_size + 12) {
-        error_report("milkymist_minimac2: received too big ethernet frame");
+        qemu_log_mask(LOG_GUEST_ERROR, "milkymist_minimac2: frame too big "
+                      "(%zd bytes)\n", payload_size);
         return 0;
     }
 
@@ -347,8 +349,9 @@ minimac2_read(void *opaque, hwaddr addr, unsigned size)
         break;
 
     default:
-        error_report("milkymist_minimac2: read access to unknown register 0x"
-                TARGET_FMT_plx, addr << 2);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "milkymist_minimac2_rd%d: 0x%" HWADDR_PRIx "\n",
+                      size, addr << 2);
         break;
     }
 
@@ -413,8 +416,10 @@ minimac2_write(void *opaque, hwaddr addr, uint64_t value,
         break;
 
     default:
-        error_report("milkymist_minimac2: write access to unknown register 0x"
-                TARGET_FMT_plx, addr << 2);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "milkymist_minimac2_wr%d: 0x%" HWADDR_PRIx
+                      " = 0x%" PRIx64 "\n",
+                      size, addr << 2, value);
         break;
     }
 }
-- 
2.17.2

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

* [PULL v2 20/20] milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report
@ 2018-10-30 11:23   ` Laurent Vivier
  0 siblings, 0 replies; 44+ messages in thread
From: Laurent Vivier @ 2018-10-30 11:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Jason Wang, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Gerd Hoffmann, Stefano Stabellini, qemu-block, qemu-trivial,
	Michael Walle, Marcel Apfelbaum, Anthony Perard, xen-devel,
	Laurent Vivier, Thomas Huth, Fam Zheng, Eduardo Habkost,
	Riku Voipio, qemu-arm, Cleber Rosa, Alex Bennée, Kevin Wolf,
	Markus Armbruster, Laurent Vivier

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

qemu_log_mask(GUEST_ERROR) is more appropriate:

  $ qemu -d help
  Log items (comma separated):
  guest_errors    log when the guest OS does something invalid (eg accessing a non-existent register)

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael Walle <michael@walle.cc>
Message-Id: <20181029130034.26750-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/net/milkymist-minimac2.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c
index 3eaa19dfde..664ac34f25 100644
--- a/hw/net/milkymist-minimac2.c
+++ b/hw/net/milkymist-minimac2.c
@@ -30,6 +30,7 @@
 #include "hw/sysbus.h"
 #include "trace.h"
 #include "net/net.h"
+#include "qemu/log.h"
 #include "qemu/error-report.h"
 
 #include <zlib.h>
@@ -214,7 +215,8 @@ static size_t assemble_frame(uint8_t *buf, size_t size,
     uint32_t crc;
 
     if (size < payload_size + 12) {
-        error_report("milkymist_minimac2: received too big ethernet frame");
+        qemu_log_mask(LOG_GUEST_ERROR, "milkymist_minimac2: frame too big "
+                      "(%zd bytes)\n", payload_size);
         return 0;
     }
 
@@ -347,8 +349,9 @@ minimac2_read(void *opaque, hwaddr addr, unsigned size)
         break;
 
     default:
-        error_report("milkymist_minimac2: read access to unknown register 0x"
-                TARGET_FMT_plx, addr << 2);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "milkymist_minimac2_rd%d: 0x%" HWADDR_PRIx "\n",
+                      size, addr << 2);
         break;
     }
 
@@ -413,8 +416,10 @@ minimac2_write(void *opaque, hwaddr addr, uint64_t value,
         break;
 
     default:
-        error_report("milkymist_minimac2: write access to unknown register 0x"
-                TARGET_FMT_plx, addr << 2);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "milkymist_minimac2_wr%d: 0x%" HWADDR_PRIx
+                      " = 0x%" PRIx64 "\n",
+                      size, addr << 2, value);
         break;
     }
 }
-- 
2.17.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Qemu-devel] [PULL v2 00/20] Qemu trivial for 3.1 patches
  2018-10-30 11:23 ` Laurent Vivier
@ 2018-10-30 17:31   ` Peter Maydell
  -1 siblings, 0 replies; 44+ messages in thread
From: Peter Maydell @ 2018-10-30 17:31 UTC (permalink / raw)
  To: Laurent Vivier
  Cc: QEMU Developers, Michael S. Tsirkin, Cleber Rosa, Jason Wang,
	qemu-arm, Igor Mammedov, Paolo Bonzini, Aleksandar Markovic,
	Alex Bennée, Thomas Huth, Anthony Perard, Aurelien Jarno,
	Max Reitz, Fam Zheng, Kevin Wolf, Philippe Mathieu-Daudé,
	Stefano Stabellini, QEMU Trivial, Qemu-block, Eduardo Habkost,
	open list:X86, Gerd Hoffmann, Riku Voipio, Marcel Apfelbaum,
	Michael Tokarev, Laurent Vivier, Michael Walle,
	Markus Armbruster

On 30 October 2018 at 11:23, Laurent Vivier <laurent@vivier.eu> wrote:
> The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:
>
>   Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/vivier/qemu.git tags/qemu-trivial-for-3.1-pull-request
>
> for you to fetch changes up to 7b2b797cf0addac789ba858fdbd95c55128d72d5:
>
>   milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report (2018-10-30 09:13:31 +0100)
>
> ----------------------------------------------------------------
> QEMU trivial patches collected between June and October 2018
> (Thank you to Thomas Huth)
>
> v2: fix 32bit build with updated patch (v3) from Philippe Mathieu-Daudé
>     built in a 32bit debian sid chroot
>

Applied, thanks.

-- PMM

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

* Re: [PULL v2 00/20] Qemu trivial for 3.1 patches
@ 2018-10-30 17:31   ` Peter Maydell
  0 siblings, 0 replies; 44+ messages in thread
From: Peter Maydell @ 2018-10-30 17:31 UTC (permalink / raw)
  To: Laurent Vivier
  Cc: Michael S. Tsirkin, Jason Wang, Michael Tokarev, QEMU Developers,
	Markus Armbruster, Gerd Hoffmann, Stefano Stabellini, Qemu-block,
	QEMU Trivial, Michael Walle, Marcel Apfelbaum, Anthony Perard,
	open list:X86, Laurent Vivier, Thomas Huth, Fam Zheng,
	Eduardo Habkost, Riku Voipio, qemu-arm, Cleber Rosa,
	Alex Bennée, Kevin Wolf

On 30 October 2018 at 11:23, Laurent Vivier <laurent@vivier.eu> wrote:
> The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:
>
>   Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/vivier/qemu.git tags/qemu-trivial-for-3.1-pull-request
>
> for you to fetch changes up to 7b2b797cf0addac789ba858fdbd95c55128d72d5:
>
>   milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report (2018-10-30 09:13:31 +0100)
>
> ----------------------------------------------------------------
> QEMU trivial patches collected between June and October 2018
> (Thank you to Thomas Huth)
>
> v2: fix 32bit build with updated patch (v3) from Philippe Mathieu-Daudé
>     built in a 32bit debian sid chroot
>

Applied, thanks.

-- PMM

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-10-30 17:31 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 11:23 [Qemu-devel] [PULL v2 00/20] Qemu trivial for 3.1 patches Laurent Vivier
2018-10-30 11:23 ` Laurent Vivier
2018-10-30 11:23 ` [PULL v2 01/20] configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] " Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 02/20] vga_int: remove unused function protype Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 03/20] memory.h: fix typos in comments Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 04/20] tests/tcg/README: fix location for lm32 tests Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 05/20] qemu-iotests: fix filename containing checks Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 06/20] docs/devel/testing.rst: add missing newlines after code block Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 07/20] scripts/decodetree.py: remove unused imports Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 08/20] scripts/qemu.py: remove trailing quotes on docstring Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 09/20] qemu-iotests: make 218 executable Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 10/20] linux-user: fix comment s/atomic_write/atomic_set/ Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 11/20] cpu.h: fix a typo in comment Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 12/20] tests: Fix typos in comments and help message (found by codespell) Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 13/20] configure: Support pkg-config for zlib Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 14/20] qobject: Catch another straggler for use of qdict_put_str() Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 15/20] xen: Use the PCI_DEVICE macro Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 16/20] tests/bios-tables-test: Remove an useless cast Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 17/20] hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 18/20] hw/intc/gicv3: " Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 19/20] ppc: move at24c to its own CONFIG_ symbol Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 11:23 ` [Qemu-devel] [PULL v2 20/20] milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report Laurent Vivier
2018-10-30 11:23   ` Laurent Vivier
2018-10-30 17:31 ` [Qemu-devel] [PULL v2 00/20] Qemu trivial for 3.1 patches Peter Maydell
2018-10-30 17:31   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.