From: Wei Liu Subject: Re: [PATCH for-4.6] xl/libxl: disable PV vNUMA Date: Thu, 30 Jul 2015 16:45:02 +0100 Message-ID: <20150730154502.GI26074@zion.uk.xensource.com> References: <1438269159-29519-1-git-send-email-wei.liu2@citrix.com> <55BA4332.2060208@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZKq1k-0005V8-2C for xen-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:45:48 +0000 Content-Disposition: inline In-Reply-To: <55BA4332.2060208@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: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Xen-devel , Dario Faggioli , Wei Liu , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Thu, Jul 30, 2015 at 05:30:58PM +0200, Roger Pau Monn=E9 wrote: > El 30/07/15 a les 17.12, Wei Liu ha escrit: > > Update xl manual and disable PV vNUMA in libxl. > > = > > Signed-off-by: Wei Liu > > --- > > Cc: Ian Campbell > > Cc: Ian Jackson > > Cc: Dario Faggioli > > --- > > docs/man/xl.cfg.pod.5 | 4 ++++ > > tools/libxl/libxl_create.c | 9 +++++++++ > > 2 files changed, 13 insertions(+) > > = > > diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 > > index c78c3ba..782106c 100644 > > --- a/docs/man/xl.cfg.pod.5 > > +++ b/docs/man/xl.cfg.pod.5 > > @@ -261,6 +261,10 @@ Specify virtual NUMA configuration with positional= arguments. The > > nth B in the list specifies the configuration of nth > > virtual node. > > = > > +Note that virtual NUMA for PV guest is not yet supported, because > > +there is issue with regard to cpuid handling that affects PV virtual > ^ an ^regarding Added "an", but "with regard to" is a commonly used phrase. Did I miss anything? Wei. > > +NUMA. > > + > > Each B is a list, which has a form of > > "[VNODE_CONFIG_OPTION,VNODE_CONFIG_OPTION, ... ]" (without quotes). > > = > > diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c > > index 4f2f50b..4f4273d 100644 > > --- a/tools/libxl/libxl_create.c > > +++ b/tools/libxl/libxl_create.c > > @@ -860,6 +860,15 @@ static void initiate_domain_create(libxl__egc *egc, > > goto error_out; > > } > > = > > + /* PV vNUMA is not yet supported because there is issue with > > + * regard to cpuid handling. > = > Same. > = > > + */ > > + if (d_config->c_info.type =3D=3D LIBXL_DOMAIN_TYPE_PV && > > + d_config->b_info.num_vnuma_nodes) { > > + LOG(ERROR, "PV vNUMA not yet supported"); > > + goto error_out; > > + } > > + > > ret =3D libxl__domain_create_info_setdefault(gc, &d_config->c_info= ); > > if (ret) { > > LOG(ERROR, "Unable to set domain create info defaults"); > > =