[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1090600] [NEW] Improve error reporting when -drive for
From: |
Cole Robinson |
Subject: |
[Qemu-devel] [Bug 1090600] [NEW] Improve error reporting when -drive format= is incorrect |
Date: |
Fri, 14 Dec 2012 23:49:51 -0000 |
Public bug reported:
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 )
** Affects: qemu
Importance: Undecided
Status: New
--
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:
New
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