diff mbox

Re: KVM developer call minutes (Jan 19)

Message ID d9c105ea1001191311s6bdc136o6a6f754d978f5380@mail.gmail.com
State New
Headers show

Commit Message

Dustin Kirkland Jan. 19, 2010, 9:11 p.m. UTC
On Wed, Jan 20, 2010 at 6:31 AM, Chris Wright <chrisw@redhat.com> wrote:
> how is stable branch working (both qemu and kvm)?
> - qemu 0.12 cherry picking pretty aggressively
>  - could use more community involvement
>  - any distro patches for qemu/kvm packages?
>    - doesn't sound like it

I'm currently testing a merge of qemu-kvm-0.12.1.2 for Ubuntu.

We're carrying the 3 patches attached here.  All of these have been
submitted upstream.  One of them is critical to fix our static arm
build.  The other two are relatively minor fixes requested by our
users.

Cheers,
:-Dustin
diff mbox

Patch

qemu-img: improve error reporting

Use strerror to provide a better error message when qemu-img fails.

https://bugs.edge.launchpad.net/ubuntu/+source/qemu-kvm/+bug/418112

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

diff -uprN qemu-kvm-0.11.0~rc2/qemu-img.c qemu-kvm-0.11.0~rc2.new/qemu-img.c
--- qemu-kvm-0.11.0~rc2/qemu-img.c	2009-08-30 04:10:59.000000000 -0500
+++ qemu-kvm-0.11.0~rc2.new/qemu-img.c	2009-09-10 22:30:32.572211443 -0500
@@ -368,7 +368,7 @@  static int img_create(int argc, char **a
         } else if (ret == -EFBIG) {
             error("The image size is too large for file format '%s'", fmt);
         } else {
-            error("Error while formatting");
+            error("Error while formatting (%s)", strerror(-ret));
         }
     }
     return 0;