xen: add xenfs to allow usermode <-> Xen interaction
authorAlex Zeffertt <alex.zeffertt@eu.citrix.com>
Thu, 8 Jan 2009 02:07:11 +0000 (18:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:30:59 +0000 (08:30 -0800)
commit1107ba885e46964316c083d441d5dd185b6c9e49
tree98cc3f81ad7ff554e10fc263abfb7727a438cc5a
parentd8220347da2a0639f5e1919a5af08f49cb37c24f
xen: add xenfs to allow usermode <-> Xen interaction

The xenfs filesystem exports various interfaces to usermode.  Initially
this exports a file to allow usermode to interact with xenbus/xenstore.

Traditionally this appeared in /proc/xen.  Rather than extending procfs,
this patch adds a backward-compat mountpoint on /proc/xen, and provides
a xenfs filesystem which can be mounted there.

Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/xen/Kconfig
drivers/xen/Makefile
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_xs.c
drivers/xen/xenfs/Makefile [new file with mode: 0644]
drivers/xen/xenfs/super.c [new file with mode: 0644]
drivers/xen/xenfs/xenbus.c [new file with mode: 0644]
drivers/xen/xenfs/xenfs.h [new file with mode: 0644]
include/linux/magic.h
include/xen/xenbus.h