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

[Xen-devel] xenstore fs on Plan 9

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xenstore fs on Plan 9
From: "ron minnich" <rminnich@xxxxxxxxx>
Date: Tue, 12 Dec 2006 14:24:10 -0700
Delivery-date: Tue, 12 Dec 2006 13:24:07 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FH1VGN5yhjDQqoIjTlL5UhLsMhbWWz65FwLEjbOWs+NplZ0N3S3lyFsbJmV6h5+xXkIeaw6nJLJrNgPJ30W91YSQ5StxMBm6fyANzS+RdpwzdrHnoAdlBFsHOoXsbDKMZ9WwhtzQkm8HmbK5XyychU0tz+B3jiZzj202IjrZtrw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
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 <=