Received: from eggs.gnu.org ([208.118.235.92]:40971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjqBX-0001oD-AI for qemu-devel@nongnu.org; Sat, 15 Dec 2012 06:45:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjqBS-0003Q9-FN for qemu-devel@nongnu.org; Sat, 15 Dec 2012 06:45:39 -0500 Received: from indium.canonical.com ([91.189.90.7]:37759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjqBS-0003Q5-9h for qemu-devel@nongnu.org; Sat, 15 Dec 2012 06:45:34 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TjqBR-0002aN-68 for ; Sat, 15 Dec 2012 11:45:33 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1D1CE2E807D for ; Sat, 15 Dec 2012 11:45:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Dec 2012 11:36:22 -0000 From: Stefan Weil <1090600@bugs.launchpad.net> Sender: bounces@canonical.com References: <20121214234951.12946.61278.malonedeb@wampee.canonical.com> Message-Id: <20121215113623.23961.80185.launchpad@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1090600] Re: Improve error reporting when -drive format= is incorrect Reply-To: Bug 1090600 <1090600@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Assignee: (unassigned) =3D> Stefan Weil (ubuntu-weilnetz) ** Changed in: qemu Status: New =3D> In Progress -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1090600 Title: Improve error reporting when -drive format=3D is incorrect Status in QEMU: In Progress Bug description: With qemu.git as of e376a788ae130454ad5e797f60cb70d0308babb6 $ qemu-img create -f raw test.raw 1M Formatting 'test.raw', fmt=3Draw size=3D1048576 = $ ./x86_64-softmmu/qemu-system-x86_64 -drive file=3D./test.raw,format=3Dq= cow2 qemu-system-x86_64: -drive file=3D./test.raw,format=3Dqcow2: could not op= en disk image ./test.raw: Invalid argument $ ./x86_64-softmmu/qemu-system-x86_64 -drive file=3D./test.raw,format=3Dv= di qemu-system-x86_64: -drive file=3D./test.raw,format=3Dvdi: could not open= disk image ./test.raw: Operation not permitted Ideally we'd get something like could not open disk image ./test.raw: not a qcow2 format file (this was kicking around in Fedora bugzilla for a long time at https://bugzilla.redhat.com/show_bug.cgi?id=3D556482 ) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1090600/+subscriptions