|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10/12] tools/hotplug: create XEN_LOCK_DIR at runtime
On Thu, 2014-04-24 at 10:36 +0200, Olaf Hering wrote:
> XEN_LOCK_DIR is a compile-time setting and may not exist on the target
> host.
Maybe insert some words to the affect that it might be in a tmpfs and
therefore need creating on boot (otherwise the question becomes why
isn't this done at install time)
> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
With that clarified:
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> ---
> tools/hotplug/Linux/init.d/xencommons | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/hotplug/Linux/init.d/xencommons
> b/tools/hotplug/Linux/init.d/xencommons
> index 2326a9c..0b14568 100644
> --- a/tools/hotplug/Linux/init.d/xencommons
> +++ b/tools/hotplug/Linux/init.d/xencommons
> @@ -73,6 +73,7 @@ do_start () {
> modprobe xen-acpi-processor 2>/dev/null
> modprobe blktap2 2>/dev/null || modprobe blktap 2>/dev/null
> mkdir -p ${XEN_RUN_DIR}
> + mkdir -p ${XEN_LOCK_DIR}
>
> if ! `${BINDIR}/xenstore-read -s / >/dev/null 2>&1`
> then
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |