All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: "viets@work.de" <viets@work.de>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: RE: [PATCH] xenballoond (memory overcommit) scripts
Date: Tue, 1 Jul 2008 08:19:25 -0600	[thread overview]
Message-ID: <20080701081925000.00000003744@djm-pc> (raw)
In-Reply-To: <486A1DB3.7050308@work.de>

[-- Attachment #1: Type: text/plain, Size: 2631 bytes --]

Hi Viets --

A guest can't be ballooned without its "permission".
The original implementation had the selfballooning
in the guest's balloon driver, which could be rmmod'd
inside the guest, so I don't think the old model
was more secure than the new, which puts the selfballooning
in a daemon.  The worst that a malicious guest can do in
either case is ensure it always gets all the memory that's
assigned to it.

Or have you thought of a different attack scenario?

Thanks for the testing.  Make sure you try running
"watch -d xenballoond-monitor" in domain0.

Thanks,
Dan

> -----Original Message-----
> From: viets@work.de [mailto:viets@work.de]
> Sent: Tuesday, July 01, 2008 6:06 AM
> To: dan.magenheimer@oracle.com
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] [PATCH] xenballoond (memory 
> overcommit) scripts
> 
> 
> Hello,
> 
> is it a good idea to run a memory balloon process in a domU? 
> As you know
> I've tested your xenbus selfballooning, I've thought this 
> make more sense?
> 
> I thought it would be more secure and better for policing 
> reasons to run
> in dom0?
> 
> I've just tested the script and it works fine, now i will try it for a
> short periode...
> 
> greetings
> Viets
> 
> Dan Magenheimer wrote:
> > Attached is the current xenballoond script-set I
> > talked about at Xen Summit 2008 that supports
> > memory overcommit.
> >
> > I've had a number of requests for the scripts and,
> > though more polishing would be nice, it makes sense
> > to push them upstream so that others in the community
> > can try/test them and improve on them.
> >
> > Note that there is no impact on any xen installation
> > or on any guest unless the scripts are intentionally
> > installed and configured on one or more guests.
> >
> > See the README and conf files for more info.
> >
> > All files are new so, in addition to the patch,
> > these hg add commands will need to be done in
> > the main tree.
> >
> > hg add tools/xenballoond
> > hg add tools/xenballoond/xenballoond.init
> > hg add tools/xenballoond/xenballoond
> > hg add tools/xenballoond/xenballoon.conf
> > hg add tools/xenballoond/xenballoon.README
> > hg add tools/xenballoond/xenballoon-monitor
> >
> > Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
> >
> > Thanks,
> > Dan
> >
> >
> > 
> --------------------------------------------------------------
> ----------
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
> 
> 

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2008-07-01 14:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01  0:01 [PATCH] xenballoond (memory overcommit) scripts Dan Magenheimer
2008-07-01 12:06 ` viets
2008-07-01 14:19   ` Dan Magenheimer [this message]
2008-07-01 15:05     ` viets

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=20080701081925000.00000003744@djm-pc \
    --to=dan.magenheimer@oracle.com \
    --cc=viets@work.de \
    --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 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.