2006-02-21 14:38:06

by Mike D. Day

[permalink] [raw]
Subject: [ PATCH 2.6.16-rc3-xen 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.

signed-off-by: Mike D. Day <[email protected]>

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

--



2006-02-21 18:34:15

by Greg KH

[permalink] [raw]
Subject: Re: [ PATCH 2.6.16-rc3-xen 2/3] sysfs: export Xen hypervisor attributes to sysfs

On Tue, Feb 21, 2006 at 09:38:00AM -0500, Mike D. Day wrote:
> # HG changeset patch
> # User [email protected]
> # Node ID f5f32dc60121c32fab158a814c914aae3b77ba06
> # Parent d296aaf07bcb4141c6dc2a1bfa7d183f919c2167
> Add tri-state Kconfig option for building xen-sysfs module.
>
> signed-off-by: Mike D. Day <[email protected]>
>
> 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
> @@ -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
> 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
> @@ -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/
> -

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

Confused,

greg k-h