From 6548b34c3f6a5d42d42fb4357e1ea26ca43fb6f7 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Sat, 15 Jul 2017 18:48:01 +0200 Subject: x86/64: add xen DomU support Xen support for x86/generic was added in 1d6879ee. This commit also enables it for x86/64. This was successfully tested with Xen 4.5, although the serial console is broken in the same way as x86/generic (see FS#787) Signed-off-by: Baptiste Jonglez --- target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs (limited to 'target/linux/x86/64/base-files') diff --git a/target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs b/target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs new file mode 100644 index 0000000000..ac484f6210 --- /dev/null +++ b/target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs @@ -0,0 +1,9 @@ +#!/bin/sh +# Copyright (C) 2010 OpenWrt.org + +do_mount_xenfs() { + grep -q xenfs /proc/filesystems && \ + mount -o noatime -t xenfs none /proc/xen +} + +boot_hook_add preinit_mount_root do_mount_xenfs -- cgit v1.2.3