[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] eba088: block/parallels: Fix buffer-based wri
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] eba088: block/parallels: Fix buffer-based write call |
Date: |
Wed, 27 Jul 2022 20:10:53 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: eba088f91d21d9e42a81bef847173da30c5da961
https://github.com/qemu/qemu/commit/eba088f91d21d9e42a81bef847173da30c5da961
Author: Hanna Reitz <hreitz@redhat.com>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M block/parallels.c
Log Message:
-----------
block/parallels: Fix buffer-based write call
Commit a4072543ccdddbd241d5962d9237b8b41fd006bf has changed the I/O here
from working on a local one-element I/O vector to just using the buffer
directly (using the bdrv_co_pread()/bdrv_co_pwrite() helper functions
introduced shortly before).
However, it only changed the bdrv_co_preadv() call to bdrv_co_pread() -
the subsequent bdrv_co_pwritev() call stayed this way, and so still
expects a QEMUIOVector pointer instead of a plain buffer. We must
change that to be a bdrv_co_pwrite() call.
Fixes: a4072543ccdddbd241d5962d ("block/parallels: use buffer-based io")
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20220714132801.72464-2-hreitz@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Commit: 0c2cb3827e46dc30cd41eeb38f8e318eb665e6a4
https://github.com/qemu/qemu/commit/0c2cb3827e46dc30cd41eeb38f8e318eb665e6a4
Author: Hanna Reitz <hreitz@redhat.com>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M tests/qemu-iotests/131
M tests/qemu-iotests/131.out
Log Message:
-----------
iotests/131: Add parallels regression test
Test an allocating write to a parallels image that has a backing node.
Before HEAD^, doing so used to give me a failed assertion (when the
backing node contains only `42` bytes; the results varies with the value
chosen, for `0` bytes, for example, all I get is EIO).
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20220714132801.72464-3-hreitz@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Commit: 7b17a1a841fc2336eba53afade9cadb14bd3dd9a
https://github.com/qemu/qemu/commit/7b17a1a841fc2336eba53afade9cadb14bd3dd9a
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M VERSION
Log Message:
-----------
Update version for v7.1.0-rc0 release
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 3e4abe2c92964aadd35344a635b0f32cb487fd5c
https://github.com/qemu/qemu/commit/3e4abe2c92964aadd35344a635b0f32cb487fd5c
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-07-27 (Wed, 27 Jul 2022)
Changed paths:
M block/parallels.c
M tests/qemu-iotests/131
M tests/qemu-iotests/131.out
Log Message:
-----------
Merge tag 'pull-block-2022-07-27' of https://gitlab.com/vsementsov/qemu into
staging
Block: fix parallels block driver
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEi5wmzbL9FHyIDoahVh8kwfGfefsFAmLhi0cACgkQVh8kwfGf
# efs1Dg/7BwbaJu5uZEGhz3+KBRPk5kdYKX60bOojac27pBTVo4OyiP7QFzBt4c6+
# 4yftT2vD7yTyzKANlmIYBvmjoIEw6eB09gJ5/mnUKgxTAS+thKo0e2v1zdncliy+
# h9SEYRT3RhlePJYSssZx8lW4gfCG2JZi5xSjfqbG50X7I8RgDtMmcj7EUwkvCkaI
# WL3iZIuYPxkfFwbQ/6xVmwc6uE97tWom9Z0iyEgFIhtFGlrgV3zJrDJ2CbOXIbi+
# 9c2j4zmnMUZLwtdT2CFwyvO03iU8eMJxqnt4aSyByOAd/rqko+ugHeE53eZkND0Q
# ci4bFq9XjgxOSsIqHXemIEUnuExhMuw5i7dtwR8w7K5Kwc88/44GTUgCZrPnBLx2
# smGX0g7BiCpNYXA8DkquOsUQf8cS67M3rjdTB6SiMo0KuQHe5O0RDQAwu7f+hnTw
# vEyo8dk4xGqUvqYcOpLLBHDis1lghWwseC5gB/M6Q+KqvDF4WDpIWwPLfR1phJ0L
# kA1M9QO+NAcUtLEuT7N22QU8LMTxAX/hSYpR5Jrt5g3R26h7w7VZEvJbpQaytXTY
# VhDVWAGg9Xn3oxGTEyVqGP3Avik9OeoK9gCFiIyTEOL1jfEXqOsX8V6QkpaKP6c+
# WXWiWfV9A9D7O556Z92hUeDuWhQKb2w1dry2e7DPeSWiUmgHtyY=
# =QfFj
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 27 Jul 2022 12:00:23 PM PDT
# gpg: using RSA key 8B9C26CDB2FD147C880E86A1561F24C1F19F79FB
# gpg: Good signature from "Vladimir Sementsov-Ogievskiy
<vsementsov@yandex-team.ru>" [unknown]
# gpg: aka "Vladimir Sementsov-Ogievskiy
<vsementsov@virtuozzo.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 8B9C 26CD B2FD 147C 880E 86A1 561F 24C1 F19F 79FB
* tag 'pull-block-2022-07-27' of https://gitlab.com/vsementsov/qemu:
iotests/131: Add parallels regression test
block/parallels: Fix buffer-based write call
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/e5b6555fb8e8...3e4abe2c9296
- [Qemu-commits] [qemu/qemu] eba088: block/parallels: Fix buffer-based write call,
Richard Henderson <=