[libvirt] [PATCH] fix a error message and coding-style cleanup
Richard W.M. Jones
rjones at redhat.com
Fri Aug 29 12:51:34 UTC 2008
Here's just the fix to virDomainMemoryPeek.
+1 from me.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
-------------- next part --------------
Index: src/qemu_driver.c
===================================================================
RCS file: /data/cvs/libvirt/src/qemu_driver.c,v
retrieving revision 1.112
diff -u -r1.112 qemu_driver.c
--- src/qemu_driver.c 27 Aug 2008 11:42:52 -0000 1.112
+++ src/qemu_driver.c 29 Aug 2008 05:07:01 -0000
@@ -3525,7 +3595,7 @@
snprintf (cmd, sizeof cmd, "memsave %llu %zi \"%s\"", offset, size, tmp);
if (qemudMonitorCommand (driver, vm, cmd, &info) < 0) {
qemudReportError (dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
- "%s", _("'info blockstats' command failed"));
+ "%s", _("'memsave' command failed"));
goto done;
}
More information about the libvir-list
mailing list