[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1090600] Re: Improve error reporting when -drive forma
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [Bug 1090600] Re: Improve error reporting when -drive format= is incorrect |
Date: |
Sat, 15 Dec 2012 11:36:22 -0000 |
** Changed in: qemu
Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz)
** Changed in: qemu
Status: New => 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= 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=raw size=1048576
$ ./x86_64-softmmu/qemu-system-x86_64 -drive file=./test.raw,format=qcow2
qemu-system-x86_64: -drive file=./test.raw,format=qcow2: could not open disk
image ./test.raw: Invalid argument
$ ./x86_64-softmmu/qemu-system-x86_64 -drive file=./test.raw,format=vdi
qemu-system-x86_64: -drive file=./test.raw,format=vdi: 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=556482 )
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1090600/+subscriptions