Re: [PATCH] s390: Hypervisor File System

From: Andrew Morton
Date: Sat Apr 29 2006 - 04:31:11 EST


Greg KH <greg@xxxxxxxxx> wrote:
>
> On Fri, Apr 28, 2006 at 11:44:41PM -0700, Andrew Morton wrote:
> > Michael Holzheu <holzheu@xxxxxxxxxx> wrote:
> > >
> > > As mount point for the filesystem /sys/hypervisor is created.
> >
> > What does this mean, btw? I don't see code there creating a new sysfs
> > directory, and userspace cannot do this.
>
> The call to subsystem_register() does this.

Ah. It's using "hypfs". Michael was tricking us.

> > Also, "/sys/hypervisor" is probably insufficiently specific. In a few
> > years time people will be asking "Which hypervisor? We have eighteen of them!".
>
> I agree, the xen people are already clammering for some kind of sysfs
> tree and wanted to create /sys/hypervisor/xen. How about
> /sys/hypervisor/s390?

Yes, something like that. Even "hypfs" is possibly too generic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/