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 16:42:50 +0100 [thread overview]
Message-ID: <20120315154250.GE7421@aepfle.de> (raw)
In-Reply-To: <1331825459.26979.137.camel@zakaz.uk.xensource.com>
On Thu, Mar 15, Ian Campbell wrote:
> On Thu, 2012-03-15 at 15:26 +0000, Olaf Hering wrote:
> > On Thu, Mar 15, Andres Lagar-Cavilla wrote:
> >
> >
> > > > libxl_domain_(set|get)_paging_target(ctx, domid, target_memkb, relative)
> > > >
> > > > Read/write whichever XS path controls the xenpaging daemon's
> > > > target. (Olaf?). I think this path should not be
> > > > under /local/domain since it should not be guest visible
> > > > (probably it already isn't).
> > > It is /local/domain/X/memory/target-tot_pages. I agree it should not be
> > > guest visible, and we're still in time to change it.
> >
> > Is it guest visible? I think the entry point for a guest is /vm/<uuid>/,
> > I'm almost sure it can not get to /local/domain/X/memory/
>
> /local/domain/X is generally considered to be part of the "guest
> visible" state and there are various guest visible things there,
> devices/* and memory/target spring to mind.
Is memory/target below /local/domain/X or /vm/<uuid> in use by the guet?
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.
What would it protect if /local/domain/X/memory (and other parts) are not accesible?
> > > /libxl/X/memory-policy/paging-target? Is there a non-libxl
> > > non-/local/domain path xenpaging could look into, should it be launched
> > > autonomously? Olaf, do you care about xenpaging in non-libxl environments?
> >
> > xenpaging needs to read its target from somewhere, I dont think this has
> > anything todo with libxl or not.
>
> Except that libxl needs to know where to write to.
Sure.
Olaf
next prev parent reply other threads:[~2012-03-15 15:42 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 [this message]
2012-03-15 15:47 ` Ian Campbell
2012-03-15 16:00 ` Olaf Hering
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=20120315154250.GE7421@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.