Re: [PATCH 2/2] show hypervisor information on sysfs

From: Heiko Carstens
Date: Tue Feb 10 2009 - 08:32:21 EST


On Tue, 10 Feb 2009 11:20:23 -0200
Glauber Costa <glommer@xxxxxxxxxx> wrote:
> > Anyway, just wanted to make you aware of what might come next.
>
> Why wouldn't it be extensible? So far, I've only added an attribute. But we
> can easily add others, and directories with even more attributes if we must.

Oh, sure it's easily extensible, the question is if the first attribute
you now add will be at the right place. That is: is all information
about the 1st level hypervisor supposed to be found in /sys/hypervisor
or should it be in a subdirectory? E.g. /sys/hypervisor/level1 or
something like that.
But adding your attribute won't hurt. The worst case is that it gets
duplicated.
--
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/