|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Exit if xen_setup fails.
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 0922c82a4bf3f60d33d2e2ac84746a3f5eaf921e
# Parent 513ba63787fe3f891284e0502fb1dc4cdeb605d7
Exit if xen_setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r 513ba63787fe -r 0922c82a4bf3 tools/console/daemon/main.c
--- a/tools/console/daemon/main.c Tue Sep 6 18:15:06 2005
+++ b/tools/console/daemon/main.c Tue Sep 6 18:18:56 2005
@@ -26,8 +26,6 @@
#include <sys/types.h>
#include "xenctrl.h"
-#include "xen/io/domain_controller.h"
-#include "xcs_proto.h"
#include "utils.h"
#include "io.h"
@@ -83,7 +81,8 @@
daemonize("/var/run/xenconsoled.pid");
}
- xen_setup();
+ if (!xen_setup())
+ exit(1);
enum_domains();
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Exit if xen_setup fails.,
Xen patchbot -unstable <=
|
|
|
|
|