x86/generic: add xen DomU support

Copy the relevant config options from the xen_domu subtarget

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2017-01-13 15:03:24 +01:00
parent 00144d2730
commit 1d6879eedd
3 changed files with 67 additions and 4 deletions

View File

@@ -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