[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate |
Date: |
Tue, 28 Mar 2017 11:07:27 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Mon, Mar 27, 2017 at 05:38:08PM +0300, Denis V. Lunev wrote:
> Parallels driver should not call bdrv_truncate if the image was opened
> in the read-only mode. Without the patch
> qemu-img check harddisk.hds
> asserts with
> bdrv_truncate: Assertion `child->perm & BLK_PERM_RESIZE' failed.
>
> Parameters used on the write path are not needed if the image is opened
> in the read-only mode.
>
> Signed-off-by: Denis V. Lunev <address@hidden>
> Reported-by: Edgar Kaziahmedov <address@hidden>
> CC: Stefan Hajnoczi <address@hidden>
> ---
> block/parallels.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Denis V. Lunev, 2017/03/27
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate,
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Kevin Wolf, 2017/03/28
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Denis V. Lunev, 2017/03/28
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Kevin Wolf, 2017/03/29
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Denis V. Lunev, 2017/03/29
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Kevin Wolf, 2017/03/29
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Denis V. Lunev, 2017/03/29
- Re: [Qemu-devel] [PATCH 1/1] parallels: wrong call to bdrv_truncate, Kevin Wolf, 2017/03/29