All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [RFC] Cleaning up /proc/xen
@ 2005-09-08  9:28 Ian Pratt
  2005-09-08 12:54 ` Andrew Theurer
  0 siblings, 1 reply; 13+ messages in thread
From: Ian Pratt @ 2005-09-08  9:28 UTC (permalink / raw)
  To: Steven Hand; +Cc: xen-devel

 
> >Is this going to make having udev a requirement? (or would we also 
> >mknod some entries in de as part of an install?)
> >
> >I guess most distros have had udev for a while.
> 
> Yes - though it'd be good to fix udev start (which takes 
> ages, at least on redhat root filesystems). 

Yep, I'd buy a beer for whoever fixed that...
 
Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [RFC] Cleaning up /proc/xen
@ 2005-09-08  2:26 Ian Pratt
  2005-09-08  2:50 ` Adam Heath
  2005-09-08  2:51 ` Steven Hand
  0 siblings, 2 replies; 13+ messages in thread
From: Ian Pratt @ 2005-09-08  2:26 UTC (permalink / raw)
  To: Anthony Liguori, xen-devel

 
> I propose we do the following:
> 
> Change /proc/xen/{privcmd,grant,xenbus} to character devices 
> (that use random major/minors; we'll always access them by 
> name).  

Is this going to make having udev a requirement? (or would we also mknod
some entries in de as part of an install?)

I guess most distros have had udev for a while.

> We have a few options for /proc/xen/balloon.  We could:

> 1) Get rid of it completely--not sure it's a good idea but 
> it's been suggested since it's redundant (in dom0 at least).
> 2) Move it to /proc/sys/
> 3) Move it to /sys/xen

I can't decide between 2 and 3.

BTW: Anthony, as regards you directory re-organisation patch, should we
be taking the opportunity to add a version prefix e.g.
/usr/lib64/xen-3.0/bin  ?
(also, does your patch use /usr/lib64/xen on x86_64 OK?)

I wander whether /etc/xen/scripts would be better off living under
/usr/lib/xen-3.0/scripts ?

Should the default place to look for config file be /usr/lib/xen-3.0/etc
which is normally soft linked on install to /etc/xen ?

I think the above three changes would enable you to have 3.0 and 2.0
tools installed in both x86_64 and x86_32 flavours all at the same time.

Thanks,
Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [RFC] Cleaning up /proc/xen
@ 2005-09-08  1:45 Anthony Liguori
  2005-09-08  8:09 ` NAHieu
  2005-09-08 22:29 ` Daniel Stekloff
  0 siblings, 2 replies; 13+ messages in thread
From: Anthony Liguori @ 2005-09-08  1:45 UTC (permalink / raw)
  To: xen-devel

Today, in /proc/xen we have:

/proc/xen/balloon  -   displays information about memory allocations and 
allows for ballooning by echoing a byte value into file

/proc/xen/privcmd  -  allows for userspace invocation of hypercalls and 
mapping of other domains memory

/proc/xen/grant   -   allows grant table operations to be accessed from 
userspace

/proc/xen/xenbus  -   allows xenbus to be accessed from userspace (in domUs)

I propose we do the following:

Change /proc/xen/{privcmd,grant,xenbus} to character devices (that use 
random major/minors; we'll always access them by name).  We have a few 
options for /proc/xen/balloon.  We could:

1) Get rid of it completely--not sure it's a good idea but it's been 
suggested since it's redundant (in dom0 at least).
2) Move it to /proc/sys/
3) Move it to /sys/xen

I'm partial to the last option (maybe even /sys/hypervisor/xen--that 
seems to compliment /sys/firmware).

Thoughts?

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-09-09  2:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08  9:28 [RFC] Cleaning up /proc/xen Ian Pratt
2005-09-08 12:54 ` Andrew Theurer
  -- strict thread matches above, loose matches on Subject: below --
2005-09-08  2:26 Ian Pratt
2005-09-08  2:50 ` Adam Heath
2005-09-08  2:51 ` Steven Hand
2005-09-08  3:24   ` Anthony Liguori
2005-09-08 16:39     ` Chris Wright
2005-09-08 12:54   ` Vincent Hanquez
2005-09-08  1:45 Anthony Liguori
2005-09-08  8:09 ` NAHieu
2005-09-08 18:59   ` Anthony Liguori
2005-09-09  2:18     ` Jed Davis
2005-09-08 22:29 ` Daniel Stekloff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.