diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-10 17:39:59 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 12:27:06 -0400 |
commit | cff7e81b3dd7c25cd2248cd7a04c5764552d5d55 (patch) | |
tree | 797984cb2d3b162003dba11f752000ce22e0e75d /drivers/xen/Kconfig | |
parent | 6d02c42698f99eccb290ac53d4f10ca883b9f90c (diff) |
xen: add /sys/hypervisor support
Adds support for Xen info under /sys/hypervisor. Taken from Novell 2.6.27
backport tree.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r-- | drivers/xen/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 526187c8a12d..88bca1c42db4 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -41,3 +41,13 @@ config XEN_COMPAT_XENFS | |||
41 | a xen platform. | 41 | a xen platform. |
42 | If in doubt, say yes. | 42 | If in doubt, say yes. |
43 | 43 | ||
44 | config XEN_SYS_HYPERVISOR | ||
45 | bool "Create xen entries under /sys/hypervisor" | ||
46 | depends on XEN && SYSFS | ||
47 | select SYS_HYPERVISOR | ||
48 | default y | ||
49 | help | ||
50 | Create entries under /sys/hypervisor describing the Xen | ||
51 | hypervisor environment. When running native or in another | ||
52 | virtual environment, /sys/hypervisor will still be present, | ||
53 | but will have no xen contents. \ No newline at end of file | ||