|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] xenstore fs on Plan 9
 
I thought people might enjoy this. I put it together this morning
after our student (Aki) told me how to do it :-)
cpu% tar cp /n/aaa | tar tv
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/device/
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/device/vbd/
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/backend-id
--r--r--r--        4 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/virtual-device
--r--r--r--        4 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/device-type
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/state
--r--r--r--       35 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/backend
--r--r--r--        3 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/ring-ref
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/device/vbd/2048/event-channel
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/device-misc/
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/device-misc/vif/
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/device-misc/vif/nextDeviceID
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/console/
--r--r--r--        6 Dec 12 17:05 2006 ./n/aaa/console/ring-ref
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/console/port
--r--r--r--        7 Dec 12 17:05 2006 ./n/aaa/console/limit
--r--r--r--       10 Dec 12 17:05 2006 ./n/aaa/console/tty
--r--r--r--        5 Dec 12 17:05 2006 ./n/aaa/name
--r--r--r--       40 Dec 12 17:05 2006 ./n/aaa/vm
--r--r--r--        2 Dec 12 17:05 2006 ./n/aaa/domid
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/cpu/
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/cpu/0/
--r--r--r--        6 Dec 12 17:05 2006 ./n/aaa/cpu/0/availability
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/memory/
--r--r--r--        5 Dec 12 17:05 2006 ./n/aaa/memory/target
d-rwxr-xr-x        0 Dec 12 17:05 2006 ./n/aaa/store/
--r--r--r--        6 Dec 12 17:05 2006 ./n/aaa/store/ring-ref
--r--r--r--        1 Dec 12 17:05 2006 ./n/aaa/store/port
cpu% ls -l /n/aaa/device
d-r-xr-xr-x M 69 bootes  0 Dec 12 17:05 /n/aaa/device/vbd
cpu% cat /n/aaa/cpu/0/availability
online
etc. etc.
I am still not sure how to hook pcifront into all this. But i still
can't get the whole 'newslot' and 'bind' thing to work at all, so it
may be a moot point. Somehow, though, I"ve got to get device access
from plan 9 working; but nothing I've found via google and mailling
list seems to work.
Note this is all done in plan 9 style, from a 630-line user level 9p server.
One thought that occurs: a 9p interface to xenstored could really
improve the user experience ... on linux too, since we have v9fs. But
I can not tell if people would want a 9p interface in the xenstored.
ron
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] xenstore fs on Plan 9,
ron minnich <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |