WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] FW: Is it a correct place for VBD information?

To: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] FW: Is it a correct place for VBD information?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 26 Jun 2006 22:09:12 +0100
Cc: "'Mike D. Day'" <ncmike@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Jun 2006 14:18:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <014a01c698c4$ae88a300$4c87380a@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <014a01c698c4$ae88a300$4c87380a@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 26 Jun 2006, at 03:03, Satoshi Uchida wrote:

/sys/class means description of a type of device (see Documentation/device-model/class.txt), and each device class defines a set of semantics and programming interface. Xen is not device, so it may be bad that these information locate under /sys/class.
/sys/devices means filesystem representation of the device tree.
So, I feel that these statistical information shouldn't locate under /sys/devices
There's all kinds of device-specific metadata under device directories 
in /sys/devices. So placing statistics under there seems fine to me as 
it keeps device-specific data together in one place -- the vbd 
directories can then get symlinked from /sys/class or 
/sys/hypervisor/xen in future if that is deemed to make sense, and all 
vbd-specific info is at once available at those new locations.
 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel