Re: [Qemu-block] [PULL 00/13] Block layer patches

2019-07-22 Thread Peter Maydell
On Fri, 19 Jul 2019 at 14:43, Kevin Wolf  wrote:
>
> The following changes since commit 0274f45bdef73283f2c213610f11d4e5dcba43b6:
>
>   Merge remote-tracking branch 
> 'remotes/vivier2/tags/linux-user-for-4.1-pull-request' into staging 
> (2019-07-19 09:44:43 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 49278ec065da3fbf90f7effcde3b39ac606b2e9e:
>
>   iotests: Test quitting with job on throttled node (2019-07-19 15:17:55 
> +0200)
>
> 
> Block layer patches:
>
> - block: Fix forbidden use of polling in drained_end
> - block: Don't wait for I/O throttling while exiting QEMU
> - iotests: Use read-zeroes for the null driver to be Valgrind-friendly
>
> 


Applied, thanks.

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

-- PMM



[Qemu-block] [PULL 00/13] Block layer patches

2019-07-19 Thread Kevin Wolf
The following changes since commit 0274f45bdef73283f2c213610f11d4e5dcba43b6:

  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-4.1-pull-request' into staging (2019-07-19 
09:44:43 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 49278ec065da3fbf90f7effcde3b39ac606b2e9e:

  iotests: Test quitting with job on throttled node (2019-07-19 15:17:55 +0200)


Block layer patches:

- block: Fix forbidden use of polling in drained_end
- block: Don't wait for I/O throttling while exiting QEMU
- iotests: Use read-zeroes for the null driver to be Valgrind-friendly


Andrey Shinkevich (1):
  iotests: Set read-zeroes on in null block driver for Valgrind

Max Reitz (12):
  block: Introduce BdrvChild.parent_quiesce_counter
  tests: Add job commit by drained_end test
  block: Add @drained_end_counter
  block: Make bdrv_parent_drained_[^_]*() static
  tests: Lock AioContexts in test-block-iothread
  block: Do not poll in bdrv_do_drained_end()
  tests: Extend commit by drained_end test
  block: Loop unsafely in bdrv*drained_end()
  iotests: Add @has_quit to vm.shutdown()
  iotests: Test commit with a filter on the chain
  vl: Drain before (block) job cancel when quitting
  iotests: Test quitting with job on throttled node

 include/block/block.h |  42 
 include/block/block_int.h |  15 -
 block.c   |  52 ++-
 block/block-backend.c |   6 +-
 block/io.c| 134 +++--
 blockjob.c|   2 +-
 tests/test-bdrv-drain.c   | 147 
 tests/test-block-iothread.c   |  40 +++
 vl.c  |  11 +++
 python/qemu/machine.py|   5 +-
 tests/qemu-iotests/040|  40 ++-
 tests/qemu-iotests/040.out|   4 +-
 tests/qemu-iotests/051|  10 +--
 tests/qemu-iotests/051.pc.out |  10 +--
 tests/qemu-iotests/093|   9 +--
 tests/qemu-iotests/136|   1 +
 tests/qemu-iotests/186|  20 +++---
 tests/qemu-iotests/186.out| 152 +-
 tests/qemu-iotests/218|  55 ++-
 tests/qemu-iotests/218.out|   4 ++
 tests/qemu-iotests/227|   4 +-
 tests/qemu-iotests/227.out|   4 +-
 tests/qemu-iotests/238|   2 +-
 tests/qemu-iotests/240|   8 +--
 tests/qemu-iotests/255|   2 +-
 25 files changed, 576 insertions(+), 203 deletions(-)



Re: [Qemu-block] [PULL 00/13] Block layer patches

2018-11-22 Thread Peter Maydell
On 22 November 2018 at 16:54, Kevin Wolf  wrote:
> The following changes since commit 47c1cc30e440860aa695358f7c2dd0b9d7b53d16:
>
>   Update version for v3.1.0-rc2 release (2018-11-20 18:10:26 +)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 924956b1efc50af7cc334b7a14f56aa213ca27ef:
>
>   iotests: Enhance 223 to cover multiple bitmap granularities (2018-11-22 
> 16:43:52 +0100)
>
> 
> Block layer patches:
>
> - block: Fix update of BDRV_O_AUTO_RDONLY in update_flags_from_options()
> - qemu-img: Fix memory leak and typo in error message
> - nvme: Fixes for lockups and crashes
> - scsi-disk: Fix crash if underlying host file or disk returns error
> - Several qemu-iotests fixes and improvements
>
> 

Hi; this seems to fail make check on s390x, sparc64, ppc64 (ie all
the bigendian hosts):

TEST: tests/nvme-test... (pid=12356)
  /i386/nvme/nop:  OK
  /i386/nvme/cmb_test: **
ERROR:/home/linux1/qemu/tests/nvme-test.c:60:nvmetest_cmb_test:
assertion failed (qpci_io_re
adb(pdev, bar, 0) == 0x99): (0 == 153)
FAIL

thanks
-- PMM



[Qemu-block] [PULL 00/13] Block layer patches

2018-11-22 Thread Kevin Wolf
The following changes since commit 47c1cc30e440860aa695358f7c2dd0b9d7b53d16:

  Update version for v3.1.0-rc2 release (2018-11-20 18:10:26 +)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 924956b1efc50af7cc334b7a14f56aa213ca27ef:

  iotests: Enhance 223 to cover multiple bitmap granularities (2018-11-22 
16:43:52 +0100)


Block layer patches:

- block: Fix update of BDRV_O_AUTO_RDONLY in update_flags_from_options()
- qemu-img: Fix memory leak and typo in error message
- nvme: Fixes for lockups and crashes
- scsi-disk: Fix crash if underlying host file or disk returns error
- Several qemu-iotests fixes and improvements


Alberto Garcia (1):
  block: Fix update of BDRV_O_AUTO_RDONLY in update_flags_from_options()

Daniel P. Berrangé (1):
  iotests: fix nbd test 233 to work correctly with raw images

Eric Blake (2):
  iotests: Skip 233 if certtool not installed
  iotests: Enhance 223 to cover multiple bitmap granularities

Igor Druzhinin (1):
  nvme: call blk_drain in NVMe reset code to avoid lockups

Kevin Wolf (3):
  iotests: Replace time.clock() with Timeout
  iotests: Replace assertEquals() with assertEqual()
  Revert "nvme: fix oob access issue(CVE-2018-16847)"

Logan Gunthorpe (1):
  nvme: fix bug with PCI IRQ pins on teardown

Max Reitz (2):
  qemu-img: Fix typo
  qemu-img: Fix leak

Paolo Bonzini (1):
  nvme: fix out-of-bounds access to the CMB

Richard W.M. Jones (1):
  scsi-disk: Fix crash if underlying host file or disk returns error

 block.c   |  4 +--
 hw/block/nvme.c   | 12 +++-
 hw/scsi/scsi-disk.c   |  2 +-
 qemu-img.c|  3 +-
 tests/nvme-test.c | 68 ---
 tests/Makefile.include|  2 +-
 tests/qemu-iotests/041|  6 ++--
 tests/qemu-iotests/118| 20 +
 tests/qemu-iotests/223| 43 ++-
 tests/qemu-iotests/223.out| 32 +++-
 tests/qemu-iotests/233|  9 --
 tests/qemu-iotests/common.tls |  3 ++
 tests/qemu-iotests/iotests.py |  2 +-
 13 files changed, 148 insertions(+), 58 deletions(-)



Re: [Qemu-block] [PULL 00/13] Block layer patches

2018-07-31 Thread Peter Maydell
On 30 July 2018 at 16:09, Kevin Wolf  wrote:
> The following changes since commit 6d9dd5fb9d0e9f4a174f53a0e20a39fbe809c71e:
>
>   Merge remote-tracking branch 
> 'remotes/armbru/tags/pull-qobject-2018-07-27-v2' into staging (2018-07-30 
> 09:55:47 +0100)
>
> are available in the git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 1239ac241fe170bb9fcf0be74bfff04f6f1c2560:
>
>   qemu-iotests: Test query-blockstats with -drive and -blockdev (2018-07-30 
> 15:35:37 +0200)
>
> 
> Block layer patches:
>
> - qemu-img convert -C is now required to enable copy offloading
> - file-posix: Fix write_zeroes with unmap on block devices (would fall
>   back to explicit writes on recent kernels)
> - Fix query-blockstats interface for use with -blockdev
> - Minor fixes and documentation updates
>
> 

Applied, thanks.

-- PMM



[Qemu-block] [PULL 00/13] Block layer patches

2018-07-30 Thread Kevin Wolf
The following changes since commit 6d9dd5fb9d0e9f4a174f53a0e20a39fbe809c71e:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-qobject-2018-07-27-v2' 
into staging (2018-07-30 09:55:47 +0100)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 1239ac241fe170bb9fcf0be74bfff04f6f1c2560:

  qemu-iotests: Test query-blockstats with -drive and -blockdev (2018-07-30 
15:35:37 +0200)


Block layer patches:

- qemu-img convert -C is now required to enable copy offloading
- file-posix: Fix write_zeroes with unmap on block devices (would fall
  back to explicit writes on recent kernels)
- Fix query-blockstats interface for use with -blockdev
- Minor fixes and documentation updates


Fam Zheng (6):
  file-posix: Handle EINTR in preallocation=full write
  docs: Describe using images in writing iotests
  iotests: Don't lock /dev/null in 226
  Revert "qemu-img: Document copy offloading implications with -S and -c"
  qemu-img: Add -C option for convert with copy offloading
  iotests: Add test for 'qemu-img convert -C' compatibility

KONRAD Frederic (1):
  qcow: fix a reference leak

Kevin Wolf (5):
  block: Fix documentation for BDRV_REQ_MAY_UNMAP
  file-posix: Fix write_zeroes with unmap on block devices
  block/qapi: Add 'qdev' field to query-blockstats result
  block/qapi: Include anonymous BBs in query-blockstats
  qemu-iotests: Test query-blockstats with -drive and -blockdev

Leonid Bloch (1):
  qcow2: A grammar fix in conflicting cache sizing error message

 qapi/block-core.json   |  14 +++-
 include/block/block.h  |  11 +--
 block/file-posix.c |  62 ++
 block/qapi.c   |  16 +++-
 block/qcow.c   |   1 +
 block/qcow2.c  |   2 +-
 qemu-img.c |  21 -
 docs/devel/testing.rst |  11 +++
 qemu-img-cmds.hx   |   2 +-
 qemu-img.texi  |  14 ++--
 tests/qemu-iotests/082 |   8 ++
 tests/qemu-iotests/082.out |  11 +++
 tests/qemu-iotests/103.out |   4 +-
 tests/qemu-iotests/137.out |   2 +-
 tests/qemu-iotests/226 |   4 +-
 tests/qemu-iotests/227 | 101 ++
 tests/qemu-iotests/227.out | 205 +
 tests/qemu-iotests/group   |   1 +
 18 files changed, 449 insertions(+), 41 deletions(-)
 create mode 100755 tests/qemu-iotests/227
 create mode 100644 tests/qemu-iotests/227.out