From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v6 03/18] xl / libxl: push VCPU affinity pinning down to libxl Date: Tue, 10 Jun 2014 08:59:06 +0200 Message-ID: <1402383546.25262.7.camel@Abyss> References: <1402317809-26833-1-git-send-email-wei.liu2@citrix.com> <1402317809-26833-4-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2198420103983442587==" Return-path: In-Reply-To: <1402317809-26833-4-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: ian.jackson@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============2198420103983442587== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-X7yvxWHxN6JOVpq/A6j/" --=-X7yvxWHxN6JOVpq/A6j/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2014-06-09 at 13:43 +0100, Wei Liu wrote: > This patch introduces an array of libxl_bitmap called "vcpu_affinity" in > libxl IDL to preserve VCPU to PCPU mapping. This is necessary for libxl > to preserve all information to construct a domain. >=20 > Also define LIBXL_HAVE_AFFINITY_LIST in libxl.h to mark the change in > API. >=20 > Signed-off-by: Wei Liu > Cc: Dario Faggioli > So, as far as this patch is concerned: Acked-by: Dario Faggioli This clashes (not that badly, but it does) with my soft affinity series, that I just resent yesterday night. It's not a big deal, we just need two arrays of libxl_bitmap-s instead of just one: one for hard affinity, and one for soft affinity. Probably that also means that b_info->vcpu_affinity should have to be renamed to something like b_info->vcpu_hard_affinity (or b_info->vcpu_hard_aff, or b_info->hard_affinity, if we want to try keep it a bit shorter). In any case, if this series goes in first, I'll rebase mine on top of this one and respin it. It mine goes in first, Wei, I'm up for modifying this patch of yours as described above, if you want/need it of course. Just let me know. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-X7yvxWHxN6JOVpq/A6j/ 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) iEYEABECAAYFAlOWrLoACgkQk4XaBE3IOsRhBQCff97p64LT+ciB4YIr7tSeGAs9 a28AoIYR7RRqw+r/h+ZZggrzIFP8hLNa =6FYH -----END PGP SIGNATURE----- --=-X7yvxWHxN6JOVpq/A6j/-- --===============2198420103983442587== 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 --===============2198420103983442587==--