Re: [ PATCH 2.6.16-rc3-xen 3/3] sysfs: export Xen hypervisor attributes to sysfs
From: Heiko Carstens
Date: Wed Feb 22 2006 - 07:30:47 EST
> I'm wondering if this information couldn't be laid out in a slightly
> more generic way so that other hypervisors could use the same layout.
> Instead of:
>
> +---sys
> +---hypervisor
> +---xen
> +---version
> +---major
> +---minor
> +---extra
>
> It could be:
>
> +---sys
> +---hypervisor
> +---type
> +---version
> +---major
> +---minor
> +---extra
>
> Where cat /sys/hypervisor/type is 'xen'. That way, if there are generic
> things about hypervisors to export here, any generic tools can find them
> without having to know exactly which hypervisor is running.
>
> You can also set the standard that any other hypervisor has to
> follow! :)
I doubt that there is much that different hypervisors can share.
Why should all this be visible for user space anyway? What's the purpose?
Heiko
-
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/