Re: [PULL v2 00/52] Block layer patches

2020-05-19 Thread Peter Maydell
On Mon, 18 May 2020 at 18:07, Kevin Wolf  wrote:
>
> The following changes since commit debe78ce14bf8f8940c2bdf3ef387505e9e035a9:
>
>   Merge remote-tracking branch 'remotes/rth/tags/pull-fpu-20200515' into 
> staging (2020-05-15 19:51:16 +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 4cdd0a774dc35b2ffe6ddb634e0c431f17dfe07e:
>
>   hw: Use QEMU_IS_ALIGNED() on parallel flash block size (2020-05-18 19:05:25 
> +0200)
>
> 
> Block layer patches:
>
> - Introduce real BdrvChildRole
> - blk/bdrv_make_empty() functions instead of calling callbacks directly
> - mirror: Make sure that source and target size match
> - block-copy: Fix uninitialized variable
> - block/replication: Avoid cancelling the job twice
> - ahci: Log lost IRQs
> - iotests: Run pylint and mypy in a testcase
> - iotests: log messages from notrun()


Applied, thanks.

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

-- PMM



[PULL v2 00/52] Block layer patches

2020-05-18 Thread Kevin Wolf
The following changes since commit debe78ce14bf8f8940c2bdf3ef387505e9e035a9:

  Merge remote-tracking branch 'remotes/rth/tags/pull-fpu-20200515' into 
staging (2020-05-15 19:51:16 +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 4cdd0a774dc35b2ffe6ddb634e0c431f17dfe07e:

  hw: Use QEMU_IS_ALIGNED() on parallel flash block size (2020-05-18 19:05:25 
+0200)


Block layer patches:

- Introduce real BdrvChildRole
- blk/bdrv_make_empty() functions instead of calling callbacks directly
- mirror: Make sure that source and target size match
- block-copy: Fix uninitialized variable
- block/replication: Avoid cancelling the job twice
- ahci: Log lost IRQs
- iotests: Run pylint and mypy in a testcase
- iotests: log messages from notrun()


John Snow (1):
  iotests: log messages from notrun()

Kevin Wolf (8):
  iotests/109: Don't mirror with mismatched size
  iotests/229: Use blkdebug to inject an error
  mirror: Make sure that source and target size match
  iotests: Mirror with different source/target size
  iotests: Fix incomplete type declarations
  iotests: Run pylint and mypy in a testcase
  replication: Avoid blk_make_empty() on read-only child
  iotests/030: Reduce run time by unthrottling job earlier

Lukas Straub (1):
  block/replication.c: Avoid cancelling the job twice

Max Reitz (38):
  block: Add bdrv_make_empty()
  block: Add blk_make_empty()
  block: Use blk_make_empty() after commits
  block: Use bdrv_make_empty() where possible
  block: Mark commit, mirror, blkreplay as filters
  block: Add BlockDriver.is_format
  block: Rename BdrvChildRole to BdrvChildClass
  block: Add BdrvChildRole and BdrvChildRoleBits
  block: Add BdrvChildRole to BdrvChild
  block: Pass BdrvChildRole to bdrv_child_perm()
  block: Pass BdrvChildRole to .inherit_options()
  block: Pass parent_is_format to .inherit_options()
  block: Rename bdrv_inherited_options()
  block: Add generic bdrv_inherited_options()
  block: Use bdrv_inherited_options()
  block: Unify bdrv_child_cb_attach()
  block: Unify bdrv_child_cb_detach()
  block: Add child_of_bds
  block: Distinguish paths in *_format_default_perms
  block: Pull out bdrv_default_perms_for_cow()
  block: Pull out bdrv_default_perms_for_storage()
  block: Relax *perms_for_storage for data children
  block: Add bdrv_default_perms()
  raw-format: Split raw_read_options()
  block: Switch child_format users to child_of_bds
  block: Drop child_format
  block: Make backing files child_of_bds children
  block: Drop child_backing
  block: Make format drivers use child_of_bds
  block: Make filter drivers use child_of_bds
  block: Use child_of_bds in remaining places
  tests: Use child_of_bds instead of child_file
  block: Use bdrv_default_perms()
  block: Make bdrv_filter_default_perms() static
  block: Drop bdrv_format_default_perms()
  block: Drop child_file
  block: Pass BdrvChildRole in remaining cases
  block: Drop @child_class from bdrv_child_perm()

Philippe Mathieu-Daudé (4):
  block/block-copy: Fix uninitialized variable in block_copy_task_entry
  block/block-copy: Simplify block_copy_do_copy()
  hw/ide/ahci: Log lost IRQs
  hw: Use QEMU_IS_ALIGNED() on parallel flash block size

 include/block/block.h|  65 -
 include/block/block_int.h|  57 ++--
 include/sysemu/block-backend.h   |   2 +
 block.c  | 601 ---
 block/backup-top.c   |  11 +-
 block/blkdebug.c |  10 +-
 block/blklogwrites.c |  16 +-
 block/blkreplay.c|   8 +-
 block/blkverify.c|  10 +-
 block/block-backend.c|  30 +-
 block/block-copy.c   |  14 +-
 block/bochs.c|   7 +-
 block/cloop.c|   7 +-
 block/commit.c   |  20 +-
 block/copy-on-read.c |   7 +-
 block/crypto.c   |   8 +-
 block/dmg.c  |   7 +-
 block/filter-compress.c  |   7 +-
 block/io.c   |  22 +-
 block/mirror.c   |  25 +-
 block/parallels.c|   7 +-
 block/qcow.c |   7 +-
 block/qcow2.c|  20 +-
 block/qed.c  |   7 +-
 block/quorum.c   |   8 +-
 block/raw-format.c   | 128 +
 block/replication.c  |  23 +-
 block/throttle.c |   7 +-
 block/vdi.c  |   7 +-
 block/vhdx.c |   7 +-
 block/vmdk.c |  23 +-
 block/vpc.c