summaryrefslogtreecommitdiffstats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorFam Zheng2018-09-25 07:05:01 +0200
committerKevin Wolf2018-10-01 12:51:11 +0200
commitb857431d2abe3945b672b41f33690e9943a8752a (patch)
tree77204d85a5c584bc6cd3b014b479af90f390a0ba /qemu-io-cmds.c
parentMerge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180926' into staging (diff)
downloadqemu-b857431d2abe3945b672b41f33690e9943a8752a.tar.gz
qemu-b857431d2abe3945b672b41f33690e9943a8752a.tar.xz
qemu-b857431d2abe3945b672b41f33690e9943a8752a.zip
file-posix: Include filename in locking error message
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 <famz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions