From: Chris <hap10@tycho.ncsc.mil>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, "George S. Coker,
II" <gscoker@alpha.ncsc.mil>
Subject: Re: [PATCH 0/8] Domain Groups: Introduction
Date: Wed, 21 Feb 2007 12:17:07 -0500 [thread overview]
Message-ID: <45DC7E93.10107@tycho.ncsc.mil> (raw)
In-Reply-To: <C2013383.2570%Keir.Fraser@cl.cam.ac.uk>
Keir Fraser wrote:
> On 20/2/07 23:01, "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> wrote:
>> It's certainly useful to be able to pause groups of domains e.g. when
>> debugging cluster filesystems etc.
>
> That doesn't require Xen to be aware of the groups. If the domains need to
> be paused as instantaneously as possible then a multicall of domctls may
> well suffice.
Using multicall is a different, but reasonable approach to operate on a
set of domains with a similar level of atomicity to what's currently in
the domgrps patch. That said, I stopped well short of absolute
atomicity in the domgrps implementation to avoid being offensively
intrusive. By extending the domgrps approach to work with the scheduler
it's possible to provide group operations with a level of atomicity not
achievable from the current mutlicall implementation. However, deciding
what degree of atomicity is necessary falls into what I believe should
be a separate (but important) discussion.
> I think we need to decide whether the benefits of supporting
> this concept down to the hypervisor make it worth adding significant
> extra management code at ring 0.
This is the part of the discussion I most wanted to have. Whatever
mechanism you use to operate on a set of domains, life is better when
the hypervisor is aware of the group abstraction. With a group-aware
hypervisor there is a robustness gain because even if the entire control
stack falls over, group data can be re-populated from the hypervisor.
Also, having group data managed in the hypervisor provides a level of
separation between the group policy in the control stack and the
management mechanism in the VMM. However, most interesting are the
opportunities gained with integration of XSM/ACM. There are new
opportunities for isolation of domain groups, dom0 decomposition, and
more powerful primitives for the XSM policy language. We can get into
more detail here if this high-level overview doesn't do enough to
justify the ~650 lines (including comments and whitespace) of additional
ring 0 code.
> There may be a more compelling argument for groups as a security
> abstraction, but I think we need to stand back and work out the overall
> story there with XSM and all.
Although both Domain Groups and XSM can stand on their own merits we've
been aiming for integration of two from the start. The integration is
planned, but not yet started because we want to incorporate community
feedback on each project individually. Improvements are in progress for
XSM and I'm certainly willing to discuss revisions for Domain Groups.
-Chris
next prev parent reply other threads:[~2007-02-21 17:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 19:55 [PATCH 0/8] Domain Groups: Introduction Chris
2007-02-20 20:45 ` Daniel P. Berrange
2007-02-20 21:32 ` Chris
2007-02-20 22:56 ` Keir Fraser
2007-02-20 23:01 ` Ian Pratt
2007-02-20 23:23 ` Keir Fraser
2007-02-21 17:17 ` Chris [this message]
2007-02-21 17:27 ` Keir Fraser
2007-02-22 20:39 ` Chris
2007-02-22 21:01 ` Keir Fraser
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=45DC7E93.10107@tycho.ncsc.mil \
--to=hap10@tycho.ncsc.mil \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=gscoker@alpha.ncsc.mil \
--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.