From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [v7 PATCH 07/10] libxl: get and set soft affinity Date: Wed, 11 Jun 2014 09:13:04 +0200 Message-ID: <1402470784.16827.66.camel@Solace> References: <20140610002959.16660.44334.stgit@Solace> <20140610004518.16660.71324.stgit@Solace> <1402408955.1250.138.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3113700659035269652==" Return-path: In-Reply-To: <1402408955.1250.138.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: keir@xen.org, Andrew.Cooper3@citrix.com, George.Dunlap@citrix.com, xen-devel@lists.xen.org, JBeulich@suse.com, Ian.Jackson@citrix.com List-Id: xen-devel@lists.xenproject.org --===============3113700659035269652== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oqN3DYL1/vNSTyMCVtZg" --=-oqN3DYL1/vNSTyMCVtZg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On mar, 2014-06-10 at 15:02 +0100, Ian Campbell wrote: > On Tue, 2014-06-10 at 02:45 +0200, Dario Faggioli wrote: > > Make space for two new cpumap-s, one in vcpu_info (for getting > > soft affinity) and build_info (for setting it) and amend the > > API for setting vCPU affinity. > >=20 > > libxl_set_vcpuaffinity() now takes two cpumaps, one for hard > > and one for soft affinity (LIBXL_API_VERSION is exploited to > > retain source level backword compatibility). Either of the > > two cpumap can be NULL, in which case, only the affinity > > corresponding to the non-NULL cpumap will be affected. > >=20 > > Signed-off-by: Dario Faggioli > > Reviewed-by: George Dunlap >=20 > This relies indirectly on a patch of Wei's to add 0x040500 to the list > of valid versions in libxl.h, but other than that. >=20 Right! Sorry I missed it. :-P BTW, since Wei's series is probably taking a bit more time, I'm adding that myself in v8 of this patch. Thanks and Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-oqN3DYL1/vNSTyMCVtZg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEABECAAYFAlOYAYAACgkQk4XaBE3IOsTIyACfRbqRAAJR8lLT1/jwaE8mqsOA hVYAn20EvzQr9nMZmKer74/hgG0BK8qR =oRpf -----END PGP SIGNATURE----- --=-oqN3DYL1/vNSTyMCVtZg-- --===============3113700659035269652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3113700659035269652==--