From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCHv3 0 of 2] libxl: Extend CPU affinity syntax and enable for specifying it in config file. Date: Wed, 25 Jan 2012 15:15:20 +0100 Message-ID: <1327500920.2723.11.camel@Abyss> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1113084775177027250==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: "Ian.Campbell" , George Dunlap , Juergen Gross , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============1113084775177027250== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-nh8llEmFPFy2BfVh1v74" --=-nh8llEmFPFy2BfVh1v74 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Everyone, This series slightly extends the current support for specifying CPU affinity, basically adding the support for "^" kind of entries (i.e., "^6", meaning "not on CPU#6), and enables doing so in a VM's config file, like it (probably?) was possible with `xm'. With respect to v1: * Syntax made even more general, now "0-4,^1-2" is supported * Avoid touching printf_info (dryrun case of domain creation) * Remove another fwd decl that survived to the last round With respect to v1: * Reworked (hopefully improved) the parsing of the cpu-pin string * Removed forward declarations (as asked during review) * Added some helper functions (as asked during review) * Put a saner default for cpu-pinning for libxl (as asked during review) Regards, Dario -- generalize-vcpupin-parsig.patch support-cpus-par-in-config-file.patch --=20 tools/libxl/libxl.c | 15 +++++++++++++++ tools/libxl/libxl.h | 2 ++ tools/libxl/libxl_create.c | 3 +++ tools/libxl/libxl_dom.c | 1 + tools/libxl/libxl_types.idl | 1 + tools/libxl/libxl_utils.h | 14 ++++++++++++++ tools/libxl/xl_cmdimpl.c | 117 +++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++--------------------------= --- 7 files changed, 124 insertions(+), 29 deletions(-) --=20 <> (Raistlin Majere) ------------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-nh8llEmFPFy2BfVh1v74 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 v1.4.11 (GNU/Linux) iEYEABECAAYFAk8gDngACgkQk4XaBE3IOsQHrgCgnzSpVN5egdog1vis8vM2Y54/ Q1kAniYnkv4OWLMDHWb57Vod0CRrZQPi =Pa45 -----END PGP SIGNATURE----- --=-nh8llEmFPFy2BfVh1v74-- --===============1113084775177027250== 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.xensource.com http://lists.xensource.com/xen-devel --===============1113084775177027250==--