diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2017-07-15 18:48:01 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-07-16 02:29:05 +0200 |
commit | 6548b34c3f6a5d42d42fb4357e1ea26ca43fb6f7 (patch) | |
tree | 7a117c044d3b48e71ab69359da9c115c76d744d7 /target/linux/x86/64/base-files/lib | |
parent | de8370fcf242d2aff72279a5754726b5731f37d9 (diff) | |
download | upstream-6548b34c3f6a5d42d42fb4357e1ea26ca43fb6f7.tar.gz upstream-6548b34c3f6a5d42d42fb4357e1ea26ca43fb6f7.tar.bz2 upstream-6548b34c3f6a5d42d42fb4357e1ea26ca43fb6f7.zip |
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 <git@bitsofnetworks.org>
Diffstat (limited to 'target/linux/x86/64/base-files/lib')
-rw-r--r-- | target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs | 9 |
1 files changed, 9 insertions, 0 deletions
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 |