* src/libvir.c: small change w.r.t. reboot.

Daniel
This commit is contained in:
Daniel Veillard 2006-01-18 18:58:35 +00:00
parent 34dee79f1d
commit 563d3d06d0
2 changed files with 7 additions and 1 deletions

View File

@ -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

View 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.
*/