[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Satoshi Uchida wrote:
 A little while ago, I send modified VBD information patch.

However, I does not sit well with location.
I does not find statistical information under 'device' directory, and see them 
under 'class' directory for vif. (/sys/class/net) But, there are not 
appropriate location. (/sys/class/vbd or /sys/class/block)

Is it a correct place for such type of information?
Is it necessary to make symbolic links to other places?
Where is appropriate place?
Please comment.


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

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

Mike

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.