[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] file-posix: Include filename in locking error m
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH] file-posix: Include filename in locking error message |
Date: |
Wed, 26 Sep 2018 11:39:03 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 25.09.2018 um 07:05 hat Fam Zheng geschrieben:
> Image locking errors happening at device initialization time doesn't say
> which file cannot be locked, for instance,
>
> -device scsi-disk,drive=drive-1: Failed to get shared "write" lock
> Is another process using the image?
>
> could refer to either the overlay image or its backing image.
>
> Hoist the error_append_hint to the caller of raw_check_lock_bytes where
> file name is known, and include it in the error hint.
>
> Signed-off-by: Fam Zheng <address@hidden>
Thanks, applied to the block branch.
Kevin