Mailinglist Archive: opensuse-bugs (4174 mails)

< Previous Next >
[Bug 515220] qemu-img-xen snapshot Segmentation fault
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 23 Jun 2009 01:39:20 -0600
  • Message-id: <20090623073920.7FE94CC704@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=515220

User wkong@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=515220#c3


wei kong <wkong@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED




--- Comment #3 from wei kong <wkong@xxxxxxxxxx> 2009-06-23 01:39:19 MDT ---
fixed,


--- xen-3.3.1-testing.orig/tools/ioemu-remote/qemu-img.c
+++ xen-3.3.1-testing/tools/ioemu-remote/qemu-img.c
@@ -765,14 +766,14 @@ static void img_snapshot(int argc, char
ret = bdrv_snapshot_goto(bs, snapshot_name);
if (ret)
error("Could not apply snapshot '%s': %d (%s)",
- snapshot_name, strerror(ret), ret);
+ snapshot_name, ret, strerror(-ret));
break;

case SNAPSHOT_DELETE:
ret = bdrv_snapshot_delete(bs, snapshot_name);
if (ret)
error("Could not delete snapshot '%s': %d (%s)",
- snapshot_name, strerror(ret), ret);
+ snapshot_name, ret, strerror(-ret));
break;
}



patch has been submit into sles11 xen svn

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References