xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH 0/3] libxl stubdom API cleanup
Date: Thu, 8 Jul 2010 18:18:23 +0100	[thread overview]
Message-ID: <4C36085F.6010206@eu.citrix.com> (raw)
In-Reply-To: <1278598709.28432.589.camel@zakaz.uk.xensource.com>

On 08/07/10 15:18, Ian Campbell wrote:
> On Thu, 2010-07-08 at 15:03 +0100, Stefano Stabellini wrote:
>> On Thu, 8 Jul 2010, Vincent Hanquez wrote:
>>> On 07/07/10 17:53, Stefano Stabellini wrote:
>>>> I though we wanted to make stubdoms transparent to libxenlight users,
>>>> why do you want to expose them now?
>>>>
>>>    From the users yes, from the libxenlight users (aka developers) no.
>>> It's also a good way to get the policy out of libxenlight. For example the
>>> 32mb value which might or might not change in future.
>>
>> Fair enough.
>> I ack the whole series then.
>
> Is it necessary to pull the mechanism out along with the policy though?

Necessary is quite a strong word.

> Could the libxl user not specify one of nostubdom, stubdom or
> libxlchooses (the default?) and let the internals of libxl take care of
> actually starting it etc?

Starting a stubdom or not, imply 2 very different side effects (e.g. 
memory wise). Separating the API give better error reporting, more room 
for action (e.g. creating a domain without stubdom if you don't have 
those N mb to spare), and it also simplify the ocaml bindings not having 
to encode complex semantics on the ocaml side.

-- 
Vincent

  parent reply	other threads:[~2010-07-08 17:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 13:00 [PATCH 0/3] libxl stubdom API cleanup Vincent Hanquez
2010-07-07 13:00 ` [PATCH 1/3] move stubdom make into a proper function Vincent Hanquez
2010-07-07 13:00 ` [PATCH 2/3] let the user of libxenlight choose explicitely if it want to start a stubdom or not Vincent Hanquez
2010-07-07 13:00 ` [PATCH 3/3] stubdom_create returns stubdomain domid so that unpause is done by the user of libxenlight Vincent Hanquez
2010-07-07 16:53 ` [PATCH 0/3] libxl stubdom API cleanup Stefano Stabellini
2010-07-08 11:17   ` Vincent Hanquez
2010-07-08 14:03     ` Stefano Stabellini
2010-07-08 14:18       ` Ian Campbell
2010-07-08 16:27         ` Ian Jackson
2010-07-08 17:18         ` Vincent Hanquez [this message]
2010-07-09  7:52           ` Ian Campbell
2010-07-09  8:17         ` Tim Deegan
2010-07-09 10:44           ` Vincent Hanquez
2010-07-09 10:51             ` Tim Deegan
2010-07-09 10:59               ` Stefano Stabellini
2010-07-09 14:44                 ` Tim Deegan
2010-07-09 11:05               ` Vincent Hanquez
2010-07-09 17:04                 ` Ian Jackson
2010-07-09 17:58                   ` Stefano Stabellini
2010-07-12 16:46                     ` Ian Jackson
2010-07-11 22:14                   ` Vincent Hanquez

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=4C36085F.6010206@eu.citrix.com \
    --to=vincent.hanquez@eu.citrix.com \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=Stefano.Stabellini@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).