The patch titled Add /sys/hypervisor subsystem has been added to the -mm tree. Its filename is add-sys-hypervisor-subsystem.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Michael Holzheu <holzheu@xxxxxxxxxx> To have a home for all hypervisors, this patch creates /sys/hypervisor. Acked-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Signed-off-by: Michael Holzheu <holzheu@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/kobject.h | 2 ++ kernel/ksysfs.c | 26 +++++++++++++++++++++----- 2 files changed, 23 insertions(+), 5 deletions(-) diff -puN include/linux/kobject.h~add-sys-hypervisor-subsystem include/linux/kobject.h --- devel/include/linux/kobject.h~add-sys-hypervisor-subsystem 2006-05-10 01:39:59.000000000 -0700 +++ devel-akpm/include/linux/kobject.h 2006-05-10 01:39:59.000000000 -0700 @@ -190,6 +190,8 @@ struct subsystem _varname##_subsys = { \ /* The global /sys/kernel/ subsystem for people to chain off of */ extern struct subsystem kernel_subsys; +/* The global /sys/hypervisor/ subsystem */ +extern struct subsystem hypervisor_subsys; /** * Helpers for setting the kset of registered objects. diff -puN kernel/ksysfs.c~add-sys-hypervisor-subsystem kernel/ksysfs.c --- devel/kernel/ksysfs.c~add-sys-hypervisor-subsystem 2006-05-10 01:39:59.000000000 -0700 +++ devel-akpm/kernel/ksysfs.c 2006-05-10 01:39:59.000000000 -0700 @@ -50,6 +50,8 @@ KERNEL_ATTR_RW(uevent_helper); decl_subsys(kernel, NULL, NULL); EXPORT_SYMBOL_GPL(kernel_subsys); +decl_subsys(hypervisor, NULL, NULL); +EXPORT_SYMBOL_GPL(hypervisor_subsys); static struct attribute * kernel_attrs[] = { #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) @@ -65,12 +67,26 @@ static struct attribute_group kernel_att static int __init ksysfs_init(void) { - int error = subsystem_register(&kernel_subsys); - if (!error) - error = sysfs_create_group(&kernel_subsys.kset.kobj, - &kernel_attr_group); + int rc; - return error; + rc = subsystem_register(&hypervisor_subsys); + if (rc) + goto fail_hyp; + rc = subsystem_register(&kernel_subsys); + if (rc) + goto fail_kernel; + rc = sysfs_create_group(&kernel_subsys.kset.kobj, + &kernel_attr_group); + if (rc) + goto fail_group; + return 0; + +fail_group: + subsystem_unregister(&kernel_subsys); +fail_kernel: + subsystem_unregister(&hypervisor_subsys); +fail_hyp: + return rc; } core_initcall(ksysfs_init); _ Patches currently in -mm which might be from holzheu@xxxxxxxxxx are s390-hypervisor-file-system.patch s390-hypervisor-file-system-fixes.patch s390-hypervisor-file-system-rename-hypfs-to-s390-hypfs.patch add-sys-hypervisor-subsystem.patch add-sys-hypervisor-s390-as-mount-point-for-s390-hypfs.patch strstrip-api.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html