From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 1/2] tools/libxc: Introduce XC_CPUPOOL_POOLID_ANY Date: Wed, 8 Feb 2017 17:03:04 +0100 Message-ID: <1486569784.3042.0.camel@citrix.com> References: <1486565506-8541-1-git-send-email-george.dunlap@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0252114439374990036==" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbUin-0001zq-78 for xen-devel@lists.xenproject.org; Wed, 08 Feb 2017 16:03:53 +0000 In-Reply-To: <1486565506-8541-1-git-send-email-george.dunlap@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: George Dunlap , xen-devel@lists.xenproject.org Cc: Juergen Gross , Ian Jackson , Wei Liu , Ronald Rojas List-Id: xen-devel@lists.xenproject.org --===============0252114439374990036== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-ECVY3fNc7PJSn8Qaq+ej" --=-ECVY3fNc7PJSn8Qaq+ej Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2017-02-08 at 14:51 +0000, George Dunlap wrote: > Callers to xc_cpupool_create() can either request a specific pool id, > or request that Xen do it for them.=C2=A0=C2=A0But at the moment, the > "automatic" selection is indicated by using a magic value, 0.=C2=A0=C2=A0= This > is > undesirable both because it doesn't obviously have meaning, but also > because '0' is a valid cpupool (albeit one which at the moment can't > be changed). >=20 > Introduce a constant, XC_CPUPOOL_POOLID_ANY, to indicate this > instead. > Have it be the default for the python bindings. >=20 > Manually translate it, even though it's the same underlying value, > because we don't yet have a relaible way of enforcing that these > values are the same. >=20 > Signed-off-by: George Dunlap > Reviewed-by: Dario Faggioli Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-ECVY3fNc7PJSn8Qaq+ej 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 iQIcBAABCAAGBQJYm0E6AAoJEBZCeImluHPuGv4P/A9GEWhQjy3ILor6y6TgxaNW 7/Mvmj9lGG6wzAZPIPpJ8quuivJL2+5lNBYvtxJRtxL8vQKt4QNc/bZA/Kw6NC6a r6WtNs5a9TntlkMbvhMjpc5/fHsuNbUeySgGgkZv9ely4fsqkQV9Vkl8+zkad02V Ze9+wpzVfwFDXEaudjoZc4BG1oj60nb42Z1NfOTb9TWyvjzq3ytLCwUwBXYniftR eVq1ZyLxmMgWu57VeXrNJkktbN/W3DWPAjVoukmIFz8vj5eMdozJ3GR6yECL4TwH or68s8lHCIcB9703o8DqSmg/4CfGqZWGkAsXugZOioPtA9eHmBT6wJWwShxDU3zS KOpK0gODQ6fe8GahSm5lFAx+xCTKTtQgAeHovjr5jV2PFOXFJLJiTjwyr2IjsS0F /WRp5PHAaoRfXjwdgZTTYKZLKKzTe01AZW2EHDEzKeHaU0VLo6H8h5N7JgidhZYR IJ6rm9qKA4y5geTsihbb+leqaYX/PgXLXBpL1+qjzGP7NafDvYuxMBsb2eZWdyyB CjyGs0JUus6ebsKZ27qRtb658mRVh6yloJOx3so3s7B0xLiL525Pc8Liay88ax9R TC9QQpPPw6swWaXndvqGhLJXaAOL7ZAsxfYX4RPeG8STEIBhMQysyl698l8ZvNyS bUWxcCWi4/UCJMPxTiSS =0nf2 -----END PGP SIGNATURE----- --=-ECVY3fNc7PJSn8Qaq+ej-- --===============0252114439374990036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============0252114439374990036==--