[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xl: log domain suspension.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1310750008 -3600
# Node ID 2fab3b0306164a3d341ef1c47c5c64ecb6ba8042
# Parent  5e1032229546c2d5640dc05205303d91d78a92c3
xl: log domain suspension.

Other shutdown reasons all end up saying something useful while
suspend does not. With this patch the log looks like:
  Domain 670 is dead
  Domain has suspended.
  Done. Exiting now

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 5e1032229546 -r 2fab3b030616 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Fri Jul 15 18:12:55 2011 +0100
+++ b/tools/libxl/xl_cmdimpl.c  Fri Jul 15 18:13:28 2011 +0100
@@ -1104,6 +1104,7 @@
         action = d_config->on_reboot;
         break;
     case SHUTDOWN_suspend:
+        LOG("Domain has suspended.");
         return 0;
     case SHUTDOWN_crash:
         action = d_config->on_crash;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.