85b996c375
This includes stub domains support, but it should be considered experimental at this time. Stub domains hangs with serial ports, or more more than one virual disk (multiple virtual ethernet have not been tested).
22 lines
669 B
C
22 lines
669 B
C
$NetBSD: patch-tools_console_daemon_utils.c,v 1.1 2017/03/30 09:15:10 bouyer Exp $
|
|
|
|
--- tools/console/daemon/utils.c.orig 2015-06-22 13:41:35.000000000 +0000
|
|
+++ tools/console/daemon/utils.c
|
|
@@ -113,13 +113,15 @@ bool xen_setup(void)
|
|
xs = xs_daemon_open();
|
|
if (xs == NULL) {
|
|
dolog(LOG_ERR,
|
|
- "Failed to contact xenstore (%m). Is it running?");
|
|
+ "Failed to contact xenstore (%s). Is it running?",
|
|
+ strerror(errno));
|
|
goto out;
|
|
}
|
|
|
|
xc = xc_interface_open(0,0,0);
|
|
if (!xc) {
|
|
- dolog(LOG_ERR, "Failed to contact hypervisor (%m)");
|
|
+ dolog(LOG_ERR, "Failed to contact hypervisor (%s)",
|
|
+ strerror(errno));
|
|
goto out;
|
|
}
|
|
|