From 563d3d06d0961dec96ded9a5888f417fbfe2e985 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 18 Jan 2006 18:58:35 +0000 Subject: [PATCH] * src/libvir.c: small change w.r.t. reboot. Daniel --- ChangeLog | 4 ++++ src/libvir.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4fd73d748..2b66a6a1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jan 18 19:57:53 CET 2006 Daniel Veillard + + * src/libvir.c: small change w.r.t. reboot. + Wed Jan 18 11:32:04 CET 2006 Daniel Veillard * include/libvir.h include/libvir.h.in src/libvir.c: more integration diff --git a/src/libvir.c b/src/libvir.c index f74df38af..60c333807 100644 --- a/src/libvir.c +++ b/src/libvir.c @@ -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. */ -- 2.39.5