Re: [PULL 0/5] Block patches

2024-02-01 Thread Peter Maydell
On Tue, 30 Jan 2024 at 21:51, Stefan Hajnoczi  wrote:
>
> The following changes since commit 11be70677c70fdccd452a3233653949b79e97908:
>
>   Merge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into 
> staging (2024-01-29 10:53:56 +)
>
> are available in the Git repository at:
>
>   https://gitlab.com/stefanha/qemu.git tags/block-pull-request
>
> for you to fetch changes up to 954b33daee83fe79293fd81c2f7371db48e7d6bd:
>
>   hw/block/block.c: improve confusing blk_check_size_and_read_all() error 
> (2024-01-30 16:19:00 -0500)
>
> 
> Pull request
>
> 

Applied, thanks.

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

-- PMM



[PULL 0/5] Block patches

2024-01-30 Thread Stefan Hajnoczi
The following changes since commit 11be70677c70fdccd452a3233653949b79e97908:

  Merge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into 
staging (2024-01-29 10:53:56 +)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to 954b33daee83fe79293fd81c2f7371db48e7d6bd:

  hw/block/block.c: improve confusing blk_check_size_and_read_all() error 
(2024-01-30 16:19:00 -0500)


Pull request



Fiona Ebner (1):
  block/io_uring: improve error message when init fails

Manos Pitsidianakis (2):
  hw/core/qdev.c: add qdev_get_human_name()
  hw/block/block.c: improve confusing blk_check_size_and_read_all()
error

Richard W.M. Jones (1):
  block/blkio: Make s->mem_region_alignment be 64 bits

Stefan Hajnoczi (1):
  pflash: fix sectors vs bytes confusion in blk_pread_nonzeroes()

 include/hw/block/block.h |  4 ++--
 include/hw/qdev-core.h   | 14 ++
 block/blkio.c|  2 +-
 block/io_uring.c |  2 +-
 hw/block/block.c | 27 ---
 hw/block/m25p80.c|  3 ++-
 hw/block/pflash_cfi01.c  |  4 ++--
 hw/block/pflash_cfi02.c  |  2 +-
 hw/core/qdev.c   |  8 
 9 files changed, 47 insertions(+), 19 deletions(-)

-- 
2.43.0




Re: [PULL 0/5] Block patches

2023-09-10 Thread Stefan Hajnoczi
Applied, thanks.

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


signature.asc
Description: PGP signature


[PULL 0/5] Block patches

2023-09-07 Thread Stefan Hajnoczi
The following changes since commit 03a3a62fbd0aa5227e978eef3c67d3978aec9e5f:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging 
(2023-09-07 10:29:06 -0400)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to 631c872614aca91eaf947c1748f0f27f99635d92:

  tests/qtest: Introduce tests for UFS (2023-09-07 14:01:29 -0400)


Pull request

- Jeuk Kim's emulated UFS device
- Fabiano Rosas' IOThread GSource "name" debugging aid



Fabiano Rosas (1):
  iothread: Set the GSource "name" field

Jeuk Kim (4):
  hw/ufs: Initial commit for emulated Universal-Flash-Storage
  hw/ufs: Support for Query Transfer Requests
  hw/ufs: Support for UFS logical unit
  tests/qtest: Introduce tests for UFS

 MAINTAINERS  |7 +
 docs/specs/pci-ids.rst   |2 +
 meson.build  |1 +
 hw/ufs/trace.h   |1 +
 hw/ufs/ufs.h |  131 
 include/block/ufs.h  | 1090 +++
 include/hw/pci/pci.h |1 +
 include/hw/pci/pci_ids.h |1 +
 include/scsi/constants.h |1 +
 hw/ufs/lu.c  | 1445 
 hw/ufs/ufs.c | 1502 ++
 iothread.c   |   14 +-
 tests/qtest/ufs-test.c   |  587 +++
 hw/Kconfig   |1 +
 hw/meson.build   |1 +
 hw/ufs/Kconfig   |4 +
 hw/ufs/meson.build   |1 +
 hw/ufs/trace-events  |   58 ++
 tests/qtest/meson.build  |1 +
 19 files changed, 4843 insertions(+), 6 deletions(-)
 create mode 100644 hw/ufs/trace.h
 create mode 100644 hw/ufs/ufs.h
 create mode 100644 include/block/ufs.h
 create mode 100644 hw/ufs/lu.c
 create mode 100644 hw/ufs/ufs.c
 create mode 100644 tests/qtest/ufs-test.c
 create mode 100644 hw/ufs/Kconfig
 create mode 100644 hw/ufs/meson.build
 create mode 100644 hw/ufs/trace-events

-- 
2.41.0




Re: [PULL 0/5] Block patches

2021-07-09 Thread Peter Maydell
On Thu, 8 Jul 2021 at 14:11, Stefan Hajnoczi  wrote:
>
> The following changes since commit 711c0418c8c1ce3a24346f058b001c4c5a2f0f81:
>
>   Merge remote-tracking branch 'remotes/philmd/tags/mips-20210702' into 
> staging (2021-07-04 14:04:12 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/stefanha/qemu.git tags/block-pull-request
>
> for you to fetch changes up to 9f460c64e13897117f35ffb61f6f5e0102cabc70:
>
>   block/io: Merge discard request alignments (2021-07-06 14:28:55 +0100)
>
> 
> Pull request
>

Applied, thanks.

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

-- PMM



[PULL 0/5] Block patches

2021-07-08 Thread Stefan Hajnoczi
The following changes since commit 711c0418c8c1ce3a24346f058b001c4c5a2f0f81:

  Merge remote-tracking branch 'remotes/philmd/tags/mips-20210702' into staging 
(2021-07-04 14:04:12 +0100)

are available in the Git repository at:

  https://gitlab.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to 9f460c64e13897117f35ffb61f6f5e0102cabc70:

  block/io: Merge discard request alignments (2021-07-06 14:28:55 +0100)


Pull request



Akihiko Odaki (3):
  block/file-posix: Optimize for macOS
  block: Add backend_defaults property
  block/io: Merge discard request alignments

Stefan Hajnoczi (2):
  util/async: add a human-readable name to BHs for debugging
  util/async: print leaked BH name when AioContext finalizes

 include/block/aio.h| 31 ++---
 include/hw/block/block.h   |  3 +++
 include/qemu/main-loop.h   |  4 +++-
 block/file-posix.c | 27 --
 block/io.c |  2 ++
 hw/block/block.c   | 42 ++
 tests/unit/ptimer-test-stubs.c |  2 +-
 util/async.c   | 25 
 util/main-loop.c   |  4 ++--
 tests/qemu-iotests/172.out | 38 ++
 10 files changed, 161 insertions(+), 17 deletions(-)

-- 
2.31.1



Re: [PULL 0/5] Block patches

2020-05-14 Thread Peter Maydell
On Wed, 13 May 2020 at 15:15, Max Reitz  wrote:
>
> The following changes since commit d5c75ec500d96f1d93447f990cd5a4ef5ba27fae:
>
>   Merge remote-tracking branch 
> 'remotes/stefanberger/tags/pull-tpm-2020-05-08-1' into staging (2020-05-12 
> 17:00:10 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2020-05-13
>
> for you to fetch changes up to fc9aefc8c0d3c6392656ea661ce72c1583b70bbd:
>
>   block/block-copy: fix use-after-free of task pointer (2020-05-13 14:20:31 
> +0200)
>
> 
> Block patches:
> - zstd compression for qcow2
> - Fix use-after-free


Applied, thanks.

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

-- PMM



[PULL 0/5] Block patches

2020-05-13 Thread Max Reitz
The following changes since commit d5c75ec500d96f1d93447f990cd5a4ef5ba27fae:

  Merge remote-tracking branch 
'remotes/stefanberger/tags/pull-tpm-2020-05-08-1' into staging (2020-05-12 
17:00:10 +0100)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2020-05-13

for you to fetch changes up to fc9aefc8c0d3c6392656ea661ce72c1583b70bbd:

  block/block-copy: fix use-after-free of task pointer (2020-05-13 14:20:31 
+0200)


Block patches:
- zstd compression for qcow2
- Fix use-after-free


Denis Plotnikov (4):
  qcow2: introduce compression type feature
  qcow2: rework the cluster compression routine
  qcow2: add zstd cluster compression
  iotests: 287: add qcow2 compression type test

Vladimir Sementsov-Ogievskiy (1):
  block/block-copy: fix use-after-free of task pointer

 docs/interop/qcow2.txt   |   1 +
 configure|   2 +-
 qapi/block-core.json |  23 ++-
 block/qcow2.h|  20 ++-
 include/block/block_int.h|   1 +
 block/block-copy.c   |   2 +-
 block/qcow2-threads.c| 240 +--
 block/qcow2.c| 120 
 tests/qemu-iotests/031.out   |  14 +-
 tests/qemu-iotests/036.out   |   4 +-
 tests/qemu-iotests/049.out   | 102 ++---
 tests/qemu-iotests/060.out   |   1 +
 tests/qemu-iotests/061.out   |  34 +++--
 tests/qemu-iotests/065   |  28 ++--
 tests/qemu-iotests/080   |   2 +-
 tests/qemu-iotests/082.out   |  48 ++-
 tests/qemu-iotests/085.out   |  38 ++---
 tests/qemu-iotests/144.out   |   4 +-
 tests/qemu-iotests/182.out   |   2 +-
 tests/qemu-iotests/185.out   |   8 +-
 tests/qemu-iotests/198.out   |   2 +
 tests/qemu-iotests/206.out   |   5 +
 tests/qemu-iotests/242.out   |   5 +
 tests/qemu-iotests/255.out   |   8 +-
 tests/qemu-iotests/274.out   |  49 ---
 tests/qemu-iotests/280.out   |   2 +-
 tests/qemu-iotests/287   | 152 
 tests/qemu-iotests/287.out   |  67 +
 tests/qemu-iotests/common.filter |   3 +-
 tests/qemu-iotests/group |   1 +
 30 files changed, 825 insertions(+), 163 deletions(-)
 create mode 100755 tests/qemu-iotests/287
 create mode 100644 tests/qemu-iotests/287.out

-- 
2.26.2




Re: [PULL 0/5] Block patches for 5.0-rc2

2020-04-07 Thread Peter Maydell
On Tue, 7 Apr 2020 at 13:37, Max Reitz  wrote:
>
> The following changes since commit 53ef8a92eb04ee19640f5aad3bff36cd4a36c250:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20200406' into staging (2020-04-06 
> 12:36:45 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2020-04-07
>
> for you to fetch changes up to 36d883ba0de8a281072ded2b51e0a711fd002139:
>
>   xen-block: Fix double qlist remove and request leak (2020-04-07 13:51:09 
> +0200)
>
> 
> Block patches for 5.0-rc2:
> - Fix double QLIST_REMOVE() and potential request object leak in
>   xen-block
> - Prevent a potential assertion failure in qcow2's code for compressed
>   clusters by rejecting invalid (unaligned) requests with -EIO
> - Prevent discards on qcow2 v2 images from making backing data reappear
> - Make qemu-img convert report I/O error locations by byte offsets
>   consistently
> - Fix for potential I/O test errors (accidental globbing due to missing
>   quotes)
>
> 


Applied, thanks.

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

-- PMM



[PULL 0/5] Block patches for 5.0-rc2

2020-04-07 Thread Max Reitz
The following changes since commit 53ef8a92eb04ee19640f5aad3bff36cd4a36c250:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200406' 
into staging (2020-04-06 12:36:45 +0100)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2020-04-07

for you to fetch changes up to 36d883ba0de8a281072ded2b51e0a711fd002139:

  xen-block: Fix double qlist remove and request leak (2020-04-07 13:51:09 
+0200)


Block patches for 5.0-rc2:
- Fix double QLIST_REMOVE() and potential request object leak in
  xen-block
- Prevent a potential assertion failure in qcow2's code for compressed
  clusters by rejecting invalid (unaligned) requests with -EIO
- Prevent discards on qcow2 v2 images from making backing data reappear
- Make qemu-img convert report I/O error locations by byte offsets
  consistently
- Fix for potential I/O test errors (accidental globbing due to missing
  quotes)


Alberto Garcia (2):
  qcow2: Forbid discard in qcow2 v2 images with backing files
  qcow2: Check request size in qcow2_co_pwritev_compressed_part()

Anthony PERARD (1):
  xen-block: Fix double qlist remove and request leak

Eric Blake (1):
  qemu-img: Report convert errors by bytes, not sectors

Max Reitz (1):
  iotests/common.pattern: Quote echos

 block/qcow2.c | 11 
 hw/block/dataplane/xen-block.c| 48 +--
 qemu-img.c|  8 +--
 tests/qemu-iotests/046| 10 ++--
 tests/qemu-iotests/046.out| 12 ++--
 tests/qemu-iotests/060| 12 ++--
 tests/qemu-iotests/060.out|  2 -
 tests/qemu-iotests/177|  5 +-
 tests/qemu-iotests/244.out|  2 +-
 tests/qemu-iotests/290| 97 +++
 tests/qemu-iotests/290.out| 61 +++
 tests/qemu-iotests/common.pattern | 22 +++
 tests/qemu-iotests/group  |  1 +
 13 files changed, 224 insertions(+), 67 deletions(-)
 create mode 100755 tests/qemu-iotests/290
 create mode 100644 tests/qemu-iotests/290.out

-- 
2.25.1




Re: [PULL 0/5] Block patches for 4.2-rc0

2019-11-06 Thread Peter Maydell
On Mon, 4 Nov 2019 at 09:03, Max Reitz  wrote:
>
> The following changes since commit 36609b4fa36f0ac934874371874416f7533a5408:
>
>   Merge remote-tracking branch 
> 'remotes/palmer/tags/palmer-for-master-4.2-sf1' into staging (2019-11-02 
> 17:59:03 +)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2019-11-04
>
> for you to fetch changes up to 292d06b925b2787ee6f2430996b95651cae42fce:
>
>   block/file-posix: Let post-EOF fallocate serialize (2019-11-04 09:33:51 
> +0100)
>
> 
> Block patches for 4.2-rc0:
> - Work around XFS write-zeroes bug in file-posix block driver
> - Fix backup job with compression
> - Fix to the NVMe block driver header
>

Applied, thanks.

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

-- PMM



[PULL 0/5] Block patches for 4.2-rc0

2019-11-04 Thread Max Reitz
The following changes since commit 36609b4fa36f0ac934874371874416f7533a5408:

  Merge remote-tracking branch 'remotes/palmer/tags/palmer-for-master-4.2-sf1' 
into staging (2019-11-02 17:59:03 +)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2019-11-04

for you to fetch changes up to 292d06b925b2787ee6f2430996b95651cae42fce:

  block/file-posix: Let post-EOF fallocate serialize (2019-11-04 09:33:51 +0100)


Block patches for 4.2-rc0:
- Work around XFS write-zeroes bug in file-posix block driver
- Fix backup job with compression
- Fix to the NVMe block driver header


Klaus Jensen (1):
  nvme: fix NSSRS offset in CAP register

Max Reitz (3):
  block: Make wait/mark serialising requests public
  block: Add bdrv_co_get_self_request()
  block/file-posix: Let post-EOF fallocate serialize

Vladimir Sementsov-Ogievskiy (1):
  block/block-copy: fix s->copy_size for compressed cluster

 include/block/block_int.h |  4 
 include/block/nvme.h  |  2 +-
 block/block-copy.c|  4 ++--
 block/file-posix.c| 36 +
 block/io.c| 42 ---
 5 files changed, 73 insertions(+), 15 deletions(-)

-- 
2.21.0




Re: [Qemu-block] [PULL 0/5] Block patches for 4.1.0-rc2

2019-07-23 Thread Peter Maydell
On Mon, 22 Jul 2019 at 18:26, Max Reitz  wrote:
>
> The following changes since commit 23da9e297b4120ca9702cabec91599a44255fe96:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 
> 15:16:48 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2019-07-22
>
> for you to fetch changes up to 43eaaaef0e18817bf78d8f135993f8579cad2cc6:
>
>   block: Only the main loop can change AioContexts (2019-07-22 18:41:43 +0200)
>
> 
> Block patches for 4.1.0-rc2:
> - NVMe block driver fixes
> - Drain/AioContext fixes
>
> 


Applied, thanks.

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

-- PMM



[Qemu-block] [PULL 0/5] Block patches for 4.1.0-rc2

2019-07-22 Thread Max Reitz
The following changes since commit 23da9e297b4120ca9702cabec91599a44255fe96:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' 
into staging (2019-07-22 15:16:48 +0100)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2019-07-22

for you to fetch changes up to 43eaaaef0e18817bf78d8f135993f8579cad2cc6:

  block: Only the main loop can change AioContexts (2019-07-22 18:41:43 +0200)


Block patches for 4.1.0-rc2:
- NVMe block driver fixes
- Drain/AioContext fixes


Max Reitz (2):
  block: Dec. drained_end_counter before bdrv_wakeup
  block: Only the main loop can change AioContexts

Maxim Levitsky (3):
  block/nvme: fix doorbell stride
  block/nvme: support larger that 512 bytes sector devices
  block/nvme: don't touch the completion entries

 include/block/block.h |  8 +++
 block.c   | 13 ++-
 block/io.c|  5 ++---
 block/nvme.c  | 52 ++-
 4 files changed, 55 insertions(+), 23 deletions(-)

-- 
2.21.0




[Qemu-block] [PULL 0/5] Block patches for 2.9

2017-02-28 Thread Jeff Cody
The following changes since commit c8c0a1a784cdf70ecea50e93213137c6c89337a7:

  Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into 
staging (2017-02-28 13:41:03 +)

are available in the git repository at:

  https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request

for you to fetch changes up to 8917a12873832008749ff90832e90e105ad4d706:

  block/rbd: add support for 'mon_host', 'auth_supported' via QAPI (2017-02-28 
11:11:39 -0500)


Block patches for 2.9, for rbd blockdev-add


Jeff Cody (5):
  block/rbd: don't copy strings in qemu_rbd_next_tok()
  block/rbd: add all the currently supported runtime_opts
  block/rbd: parse all options via bdrv_parse_filename
  block/rbd: add blockdev-add support
  block/rbd: add support for 'mon_host', 'auth_supported' via QAPI

 block/rbd.c  | 568 ++-
 qapi/block-core.json |  62 +-
 2 files changed, 442 insertions(+), 188 deletions(-)

-- 
2.9.3




Re: [Qemu-block] [PULL 0/5] Block patches

2017-02-02 Thread Peter Maydell
On 1 February 2017 at 05:34, Jeff Cody  wrote:
> The following changes since commit a0def594286d9110a6035e02eef558cf3cf5d847:
>
>   Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into 
> staging (2017-01-30 10:23:20 +)
>
> are available in the git repository at:
>
>   https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request
>
> for you to fetch changes up to acf6e5f0962c4be670d4a93ede77423512521876:
>
>   sheepdog: reorganize check for overlapping requests (2017-02-01 00:17:20 
> -0500)
>
> 
> Block patches
> 
>
> Paolo Bonzini (5):
>   sheepdog: remove unused cancellation support
>   sheepdog: reorganize coroutine flow
>   sheepdog: do not use BlockAIOCB
>   sheepdog: simplify inflight_aio_head management
>   sheepdog: reorganize check for overlapping requests

Applied, thanks.

-- PMM



[Qemu-block] [PULL 0/5] Block patches

2017-01-31 Thread Jeff Cody
The following changes since commit a0def594286d9110a6035e02eef558cf3cf5d847:

  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging 
(2017-01-30 10:23:20 +)

are available in the git repository at:

  https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request

for you to fetch changes up to acf6e5f0962c4be670d4a93ede77423512521876:

  sheepdog: reorganize check for overlapping requests (2017-02-01 00:17:20 
-0500)


Block patches


Paolo Bonzini (5):
  sheepdog: remove unused cancellation support
  sheepdog: reorganize coroutine flow
  sheepdog: do not use BlockAIOCB
  sheepdog: simplify inflight_aio_head management
  sheepdog: reorganize check for overlapping requests

 block/sheepdog.c | 289 ---
 1 file changed, 84 insertions(+), 205 deletions(-)

-- 
2.9.3