All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <raistlin@linux.it>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH v2] xl: introduce specific VCPU to PCPU mapping in config file
Date: Mon, 14 May 2012 19:03:49 +0200	[thread overview]
Message-ID: <1337015029.28326.51.camel@Solace> (raw)
In-Reply-To: <1336988060.31817.51.camel@zakaz.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]

On Mon, 2012-05-14 at 10:34 +0100, Ian Campbell wrote:
> On Mon, 2012-05-14 at 10:26 +0100, Dario Faggioli wrote:
> > xm supports the following syntax (in the config file) for
> > specific VCPU to PCPU mapping:
> > 
> > cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
> > 
> > Allow for the same in xl.
> > 
> > Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> > 
> > ...
> > +
> > +=item "0-3,5,^1"
> > +
> > +To allow all the vcpus of the guest to run on cpus 0,2,3,5.
> > +
> > +=item [2, 3]
> 
> Is this [2, 3] or ["2", "3"] as you used in the commit message? (would
> it be confusing the make those distinct, represent the current xl
> behaviour and xm behaviour respectively?)
> 
Well, tools/examples/xmexample.hvm says xm supports `cpus=["2", "3"]`,
while on xl both syntax (with or without the inner `"`) are recognized
by xlu_get_list[item]().

TBH, I don't think it's worth distinguishing between the two, especially
considering we have the string syntax (i.e., `cpus="2,3") to achieve the
current behaviour.

> I think you missed my review on the v1 code when preparing this posting
> (we probably passed in mid-air)?
> 
Indeed! :-)

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

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

      parent reply	other threads:[~2012-05-14 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14  9:26 [PATCH v2] xl: introduce specific VCPU to PCPU mapping in config file Dario Faggioli
2012-05-14  9:34 ` Ian Campbell
2012-05-14 13:56   ` Ian Jackson
2012-05-14 17:05     ` Dario Faggioli
2012-05-14 17:03   ` Dario Faggioli [this message]

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=1337015029.28326.51.camel@Solace \
    --to=raistlin@linux.it \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --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.