[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/5] block: Fix error report for wrong file f
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/5] block: Fix error report for wrong file format |
Date: |
Thu, 17 Jan 2013 14:28:45 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 01/17/2013 01:45 PM, Stefan Weil wrote:
> These patches improve the error report if the file format was
> specified explicitly (example: -drive file=myfile,format=qcow2)
> and the given format does not match the real format.
>
> They fix those bugs:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=556482
> https://bugs.launchpad.net/qemu/+bug/1090600
>
> Changes in v2:
>
> * Use error code EMEDIUMTYPE instead of inventing a new one.
Alas, EMEDIUMTYPE is non-standard, and doesn't exist outside of Linux.
If you are providing fallbacks for half the platforms because you don't
want to use a standard errno value, then why not go all the way and use
a fallback for all platforms.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 1/5] block: Add special error code for wrong format, (continued)
- [Qemu-devel] [PATCH v2 1/5] block: Add special error code for wrong format, Stefan Weil, 2013/01/17
- [Qemu-devel] [PATCH v2 3/5] block/vdi: Improve debug output for signature, Stefan Weil, 2013/01/17
- [Qemu-devel] [PATCH v2 5/5] block/vdi: Check for bad signature, Stefan Weil, 2013/01/17
- [Qemu-devel] [PATCH v2 4/5] block/vdi: Improved return values from vdi_open, Stefan Weil, 2013/01/17
- [Qemu-devel] [PATCH v2 2/5] block: Use error code EMEDIUMTYPE for wrong format in some block drivers, Stefan Weil, 2013/01/17
Re: [Qemu-devel] [PATCH v2 0/5] block: Fix error report for wrong file format,
Eric Blake <=
Re: [Qemu-devel] [PATCH v2 0/5] block: Fix error report for wrong file format, Kevin Wolf, 2013/01/22