[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 08/15] libxl: introduce helper to initialise Dom0



This incremental patch fixes the issue

---8<---
From a72585eb8e57de1555c7b60a4740759a5b9dfd8f Mon Sep 17 00:00:00 2001
From: Wei Liu <wei.liu2@xxxxxxxxxx>
Date: Tue, 9 Sep 2014 12:01:15 +0100
Subject: [PATCH] hotplug script: subsume xenstore-write in *BSD scripts

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/hotplug/FreeBSD/rc.d/xencommons |    5 ++---
 tools/hotplug/NetBSD/rc.d/xencommons  |    5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/tools/hotplug/FreeBSD/rc.d/xencommons 
b/tools/hotplug/FreeBSD/rc.d/xencommons
index a797016..2d9034c 100644
--- a/tools/hotplug/FreeBSD/rc.d/xencommons
+++ b/tools/hotplug/FreeBSD/rc.d/xencommons
@@ -64,9 +64,8 @@ xen_startcmd()
 
        printf "\n"
 
-       printf "Setting domain 0 name and domid.\n"
-       ${BINDIR}/xenstore-write "/local/domain/0/name" "Domain-0"
-       ${BINDIR}/xenstore-write "/local/domain/0/domid" 0
+       printf "Setting domain 0 name, domid and JSON config...\n"
+       ${PRIVATE_BINDIR}/xen-init-dom0
 }
 
 xen_stop()
diff --git a/tools/hotplug/NetBSD/rc.d/xencommons 
b/tools/hotplug/NetBSD/rc.d/xencommons
index b1c3531..7ac87e2 100644
--- a/tools/hotplug/NetBSD/rc.d/xencommons
+++ b/tools/hotplug/NetBSD/rc.d/xencommons
@@ -68,9 +68,8 @@ xen_startcmd()
 
        printf "\n"
 
-       printf "Setting domain 0 name and domid.\n"
-       ${BINDIR}/xenstore-write "/local/domain/0/name" "Domain-0"
-       ${BINDIR}/xenstore-write "/local/domain/0/domid" 0
+       printf "Setting domain 0 name, domid and JSON config...\n"
+       ${PRIVATE_BINDIR}/xen-init-dom0
 }
 
 xen_stop()
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.