Re: [Qemu-devel] [PATCH] block: better error message for read only format name

2013-08-22 Thread Stefan Hajnoczi
On Thu, Aug 22, 2013 at 03:36:59PM +0800, Fam Zheng wrote: > When user tries to use read-only whitelist format in the command line > option, failure message was "'foo' invalid format". It might be invalid > only for writable, but valid for read-only, so it is confusing. Give the > user easier to un

[Qemu-devel] [PATCH] block: better error message for read only format name

2013-08-22 Thread Fam Zheng
When user tries to use read-only whitelist format in the command line option, failure message was "'foo' invalid format". It might be invalid only for writable, but valid for read-only, so it is confusing. Give the user easier to understand information. Signed-off-by: Fam Zheng --- blockdev.c |