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: "'Mike D. Day'" <ncmike@xxxxxxxxxx>
Subject: RE: [Xen-devel] FW: Is it a correct place for VBD information?
From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
Date: Mon, 26 Jun 2006 11:03:13 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 25 Jun 2006 19:03:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <449C12D5.9000800@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaW38j0VV5gU2WgRsmLCHgTidYv4wB3VShA
Thanks for comment, Mike.

>> 
>> I think that it is good to handle such information at one partial tree for 
>> management.
>> My idea is to take a kind of following structure for store such information.
>> 
>>    sys -- class -- xen --+-- domain0 --- balloon ( symlink to 
>> /sys/class/mem/balloon ?)
>>                                  |
>>                                 +-- domain1 --+-- vbd --+-- 
>> vbd-x-xxxx(symlink?) 
>>                                                      |            |
>>                                                      |            +-- total 
>> information file.
>>                                                      |
>>                                                     +-- vif --  
>> vif-x-xxxx(symlink)
>>  

>What about /sys/hypervisor/xen/domain/1/vbd

In Xen, devices is not handled with hypervisor but is handled with Domain0 (or 
the privileged domain).
So, Shouldn't these information locate under /sys/hypervisor ?

What does /sys/hypervisor mean?
For example, I feel /sys/firmware means structure in namespace.
If /sys/hypervisor is similar to these information,
these information shouldn't locate under /sys/hypervisor.
If /sys/hypervisor create as new tree which is to handle total information for 
virtual system,
It may be good that these information locate under /sys/hypervisor.

/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

I can not find reasonable answer.
Please help.

How about making a new tree -- /sys/xen ?


>/sys/hypervisor is going into upstream linux, and that leaves 
>/sys/hypervisor/xen/ as our namespace for info.

Good.
But I hesitate by above reason for /sys/hypervisor/xen.


Satoshi UCHIDA

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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