From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Andres Lagar-Cavilla <andres@lagarcavilla.org>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: libxl/xl memory paging/sharing/ballooning/etc proposal.
Date: Thu, 15 Mar 2012 17:00:50 +0100 [thread overview]
Message-ID: <20120315160050.GA9200@aepfle.de> (raw)
In-Reply-To: <1331826459.26979.144.camel@zakaz.uk.xensource.com>
On Thu, Mar 15, Ian Campbell wrote:
> > Is memory/target below /local/domain/X or /vm/<uuid> in use by the guet?
>
> /local/domain/X. The is no such key under /vm/<uuid>
Its just "/vm/<uuid>/memory", after 'xm mem-set dom 2G'. This what I had
in mind.
> > I'm sure the latter can only be used to set a watch for example (dont
> > have a guest at hand to verify).
> > Also the guest would have to proactivly parse the "links" to find its
> > domid, to later browse /local/domain/X.
>
> No, /local/domain/X is the domains "home directory", it is what relative
> paths are relative to -- so to access /local/domain/X/memory/target a
> domain just accesses "memory/target"
Hmm, really?
When I worked on xenbus_reset_state() for kdump the guest started in
/vm/<uuid> for relative paths.
> > What would it protect if /local/domain/X/memory (and other parts) are not accesible?
>
> XS has a permissions scheme which allows per domain r/w, r/o or none.
>
> Something like the paging target should not even be r/o for the guest
> IMHO. In general we try to keep stuff which the domain should not even
> be looking at separate from the stuff which it should.
The target could very well go below /local/domain/X/xenpaging, and this
directory can get the proper permissions to be r/w only for the tools.
Olaf
next prev parent reply other threads:[~2012-03-15 16:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 10:01 libxl/xl memory paging/sharing/ballooning/etc proposal Ian Campbell
2012-03-15 14:12 ` Andres Lagar-Cavilla
2012-03-15 14:35 ` Ian Campbell
2012-03-15 14:40 ` Andres Lagar-Cavilla
2012-03-15 14:47 ` Ian Campbell
2012-03-15 14:50 ` Andres Lagar-Cavilla
2012-03-15 15:26 ` Olaf Hering
2012-03-15 15:30 ` Ian Campbell
2012-03-15 15:42 ` Olaf Hering
2012-03-15 15:47 ` Ian Campbell
2012-03-15 16:00 ` Olaf Hering [this message]
2012-03-15 17:11 ` Ian Campbell
2012-03-15 15:14 ` Olaf Hering
2012-03-15 15:29 ` Ian Campbell
2012-03-19 16:10 ` Ian Jackson
2012-03-19 16:17 ` Andres Lagar-Cavilla
2012-03-19 16:30 ` Ian Campbell
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=20120315160050.GA9200@aepfle.de \
--to=olaf@aepfle.de \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andres@lagarcavilla.org \
--cc=xen-devel@lists.xen.org \
/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 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.