diff options
author | Alex Zeffertt <alex.zeffertt@eu.citrix.com> | 2009-01-07 21:07:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 11:30:59 -0500 |
commit | 1107ba885e46964316c083d441d5dd185b6c9e49 (patch) | |
tree | 98cc3f81ad7ff554e10fc263abfb7727a438cc5a /drivers/xen/Kconfig | |
parent | d8220347da2a0639f5e1919a5af08f49cb37c24f (diff) |
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>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r-- | drivers/xen/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 4b75a16de009..526187c8a12d 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -17,3 +17,27 @@ config XEN_SCRUB_PAGES | |||
17 | is not accidentally visible to other domains. Is it more | 17 | is not accidentally visible to other domains. Is it more |
18 | secure, but slightly less efficient. | 18 | secure, but slightly less efficient. |
19 | If in doubt, say yes. | 19 | If in doubt, say yes. |
20 | |||
21 | config XENFS | ||
22 | tristate "Xen filesystem" | ||
23 | depends on XEN | ||
24 | default y | ||
25 | help | ||
26 | The xen filesystem provides a way for domains to share | ||
27 | information with each other and with the hypervisor. | ||
28 | For example, by reading and writing the "xenbus" file, guests | ||
29 | may pass arbitrary information to the initial domain. | ||
30 | If in doubt, say yes. | ||
31 | |||
32 | config XEN_COMPAT_XENFS | ||
33 | bool "Create compatibility mount point /proc/xen" | ||
34 | depends on XENFS | ||
35 | default y | ||
36 | help | ||
37 | The old xenstore userspace tools expect to find "xenbus" | ||
38 | under /proc/xen, but "xenbus" is now found at the root of the | ||
39 | xenfs filesystem. Selecting this causes the kernel to create | ||
40 | the compatibilty mount point /proc/xen if it is running on | ||
41 | a xen platform. | ||
42 | If in doubt, say yes. | ||
43 | |||