]> git.ipfire.org Git - thirdparty/qemu.git/commit - block.c
block: Improve "Block node is read-only" message
authorMax Reitz <mreitz@redhat.com>
Wed, 15 May 2019 20:15:00 +0000 (22:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 May 2019 15:08:57 +0000 (17:08 +0200)
commit481e0eeef4fdf7e2ed42425e38d0a30ffd0e9b54
treecb0b13e8cd6bcce96cf16f9df251999c7836c908
parent4db4390ef31648be28626dff51e87e3647485a46
block: Improve "Block node is read-only" message

This message does not make any sense when it appears as the response to
making an R/W node read-only.  We should detect that case and emit a
different message, then.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c