]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
* src/libvir.c: small change w.r.t. reboot.
authorDaniel Veillard <veillard@redhat.com>
Wed, 18 Jan 2006 18:58:35 +0000 (18:58 +0000)
committerDaniel Veillard <veillard@redhat.com>
Wed, 18 Jan 2006 18:58:35 +0000 (18:58 +0000)
Daniel

ChangeLog
src/libvir.c

index 4fd73d748e07fe021517860764e3b4c1525a0704..2b66a6a1d84305e75be52bad5030dca785c40208 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>
+
+       * src/libvir.c: small change w.r.t. reboot.
+
 Wed Jan 18 11:32:04 CET 2006 Daniel Veillard <veillard@redhat.com>
 
        * include/libvir.h include/libvir.h.in src/libvir.c: more integration
index f74df38af775a886201f9e8417cd5cb44edcf76d..60c3338076c29df8e444d20a8099acc9d1487e01 100644 (file)
@@ -909,10 +909,12 @@ virDomainShutdown(virDomainPtr domain) {
      * try first with the xend daemon
      */
     ret = xend_shutdown(domain->conn, domain->name);
+    /* disabled as this seems to not work ...
     if (ret == 0)
         return(0);
-
+     */
     /*
+
      * this is very hackish, the domU kernel probes for a special 
      * node in the xenstore and launch the shutdown command if found.
      */