Skip to contentSkip to conversation

sysfs: export Xen hypervisor attributes to sysfs

PATCH In review Mike D. Day 2 participants 2 messages Feb 21, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 sysfs: export Xen hypervisor attributes to sysfs

# HG changeset patch
# User [email protected]
# Node ID f5f32dc60121c32fab158a814c914aae3b77ba06 # Parent d296aaf07bcb4141c6dc2a1bfa7d183f919c2167 Add tri-state Kconfig option for building xen-sysfs module.

linux-2.6-xen-sparse/drivers/xen/Kconfig +0 -0
diff -r d296aaf07bcb -r f5f32dc60121 linux-2.6-xen-sparse/drivers/xen/Kconfig
@@ -173,12 +173,20 @@ config XEN_SCRUB_PAGES

saying N.

config XEN_DISABLE_SERIAL
- bool "Disable serial port drivers"
+ bool "Disable serial port drivers"
default y
help
Disable serial port drivers, allowing the Xen console driver to provide a serial console at ttyS0.

+config XEN_SYSFS
+ tristate "Export Xen attributes in sysfs"
+ depends on XEN
+ depends on SYSFS
+ default y
+ help
+ Xen hypervisor attributes will show up under /sys/hypervisor/.
+
endmenu

config HAVE_ARCH_ALLOC_SKB

linux-2.6-xen-sparse/drivers/xen/Makefile +0 -0
diff -r d296aaf07bcb -r f5f32dc60121 linux-2.6-xen-sparse/drivers/xen/Makefile
@@ -19,4 +19,3 @@ obj-$(CONFIG_XEN_TPMDEV_FRONTEND)	+= tpm

obj-$(CONFIG_XEN_TPMDEV_FRONTEND) += tpmfront/
obj-$(CONFIG_XEN_PCIDEV_BACKEND) += pciback/
obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += pcifront/
-

#1 lore raw
Quoted 44 lines · Mike D. Day

# HG changeset patch
# User [email protected]
# Node ID f5f32dc60121c32fab158a814c914aae3b77ba06 # Parent d296aaf07bcb4141c6dc2a1bfa7d183f919c2167 Add tri-state Kconfig option for building xen-sysfs module.

diff -r d296aaf07bcb -r f5f32dc60121
linux-2.6-xen-sparse/drivers/xen/Kconfig
--- a/linux-2.6-xen-sparse/drivers/xen/Kconfig Tue Feb 21 08:11:03 2006
-0500
+++ b/linux-2.6-xen-sparse/drivers/xen/Kconfig Tue Feb 21 08:12:11 2006
-0500

(quoted diff) +0 -0
@@ -173,12 +173,20 @@ config XEN_SCRUB_PAGES
 	  saying N.
 

config XEN_DISABLE_SERIAL

(quoted diff) +1 -1
-	bool "Disable serial port drivers"
+	bool "Disable serial port drivers"	

default y
help
Disable serial port drivers, allowing the Xen console driver to provide a serial console at ttyS0.

(quoted diff) +7 -0
+config XEN_SYSFS
+	tristate "Export Xen attributes in sysfs"
+	depends on XEN
+	depends on SYSFS
+	default y
+	help
+		Xen hypervisor attributes will show up under 

/sys/hypervisor/.
+
endmenu

config HAVE_ARCH_ALLOC_SKB
diff -r d296aaf07bcb -r f5f32dc60121
linux-2.6-xen-sparse/drivers/xen/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/Makefile Tue Feb 21 08:11:03
2006 -0500
+++ b/linux-2.6-xen-sparse/drivers/xen/Makefile Tue Feb 21 08:12:11
2006 -0500

(quoted diff) +0 -0
@@ -19,4 +19,3 @@ obj-$(CONFIG_XEN_TPMDEV_FRONTEND)	+= tpm
Quoted 4 lines

obj-$(CONFIG_XEN_TPMDEV_FRONTEND) += tpmfront/
obj-$(CONFIG_XEN_PCIDEV_BACKEND) += pciback/
obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += pcifront/
-

This patch is line-wrapped, and nothing is changed in this file based on the above portion of the patch.

Confused,

greg k-h