Paolo Bonzini 76abe4071d block: do not abuse EMEDIUMTYPE
Returning "Wrong medium type" for an image that does not have a valid
header is a bit weird.  Improve the error by mentioning what format
was trying to open it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-02-21 21:02:24 +01:00
..
2014-02-21 21:02:24 +01:00
2013-12-20 16:26:16 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:23 +01:00
2014-02-21 21:02:23 +01:00
2013-12-16 10:12:20 +01:00
2014-02-21 21:02:22 +01:00
2014-02-09 09:12:38 +01:00
2014-02-21 21:02:24 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:24 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:22 +01:00
2014-02-21 21:02:24 +01:00
2014-01-31 22:05:03 +01:00
2014-02-21 21:02:23 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:23 +01:00