xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Bastian Blank <waldi@debian.org>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: xenfs aka /proc/xen
Date: Sat, 5 Jun 2010 18:29:47 +0200	[thread overview]
Message-ID: <20100605162947.GA31336@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <C82515C2.161B1%keir.fraser@eu.citrix.com>

On Fri, May 28, 2010 at 06:40:02AM +0100, Keir Fraser wrote:
> On 27/05/2010 23:54, "Bastian Blank" <waldi@debian.org> wrote:
> > One of the entries (capabilities) provides information about the
> > proviledge level to the hypervisor and belongs more likely into
> > /sys/hypervisor. The four other are plain old devices and belongs into
> > /dev.

Okay. I thought about it and would settle for the following:
* $SYSFS/hypervisor/properties/guest_capabilites
  It includes the same value then $XENFS/capabilities. Or should that be
  changed as the meaning of "control_d" is not really clear (like
  "control-domain")?
* $DEV/xen/xenbus
  Merge into builtin xenbus support or own module xenbus-user
* $DEV/xen/privcmd
  - Module xen-control or so
  - *Needs to check for CAP_ADMIN*
* $DEV/xen/xenstored
  - Module xen-control or so
  - Merges xsd_kva and xsd_port
  - Supports:
    - mmap, only support pagesized maps
    - ioctl: get event channel port, get size (page size may be different)
  - Security constraints needs check. What can a user with access to
    this device do?
* Core kernel may trigger loading of xen-control module by some means
  (to be defined).

> If that stuff got moved somewhere 'better', it would be fine to update the
> tools to check both new and old locations.

I would start with adding the new stuff then check the tools to work
with both and just ignore for another merge try or remove xenfs later.

Bastian

-- 
Power is danger.
		-- The Centurion, "Balance of Terror", stardate 1709.2

  reply	other threads:[~2010-06-05 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 22:54 xenfs aka /proc/xen Bastian Blank
2010-05-28  5:40 ` Keir Fraser
2010-06-05 16:29   ` Bastian Blank [this message]
2010-06-06  0:48     ` Jeremy Fitzhardinge
2010-06-06 11:21       ` Bastian Blank
2010-06-08 17:44         ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100605162947.GA31336@wavehammer.waldi.eu.org \
    --to=waldi@debian.org \
    --cc=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).