qemu-img should give reasons for failing
Bug #418112 reported by
Colin Watson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Wishlist
|
Unassigned | ||
qemu (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned | ||
qemu-kvm (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
Binary package hint: qemu
$ kvm-img create -f qcow2 disks/t.img 4000M
Formatting 'disks/t.img', fmt=qcow2, size=4096000 kB
qemu-img: Error while formatting
strace shows that the real error was "Permission denied". It should say so, using strerror.
ProblemType: Bug
Architecture: i386
Date: Mon Aug 24 13:31:45 2009
DistroRelease: Ubuntu 9.10
Package: qemu 0.10.6-1ubuntu1
ProcEnviron:
LANGUAGE=
LC_COLLATE=C
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: qemu
Uname: Linux 2.6.31-5-generic i686
Related branches
Changed in qemu (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in qemu-kvm (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in qemu: | |
status: | Confirmed → Triaged |
description: | updated |
Changed in qemu: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Confirmed:
kirkland@x200:~$ kvm-img create -f qcow2 /root/t.img 4000M
Formatting '/root/t.img', fmt=qcow2 size=4194304000 encryption=off cluster_size=0
qemu-img: Error while formatting
Should be EPERM.
Anthony-
This should be pretty reasonable to solve upstream, no?
:-Dustin