[libvirt] [PATCH] virConfSaveValue: protect against a NULL pointer reference

2017-03-27 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Fix xlconfigtest runs build for --enable-test-oom on Xen XL-2-XML Parse channel-pty Program received signal SIGSEGV, Segmentation fault. #0 0x73c2b373 in __strchr_sse2 () from /lib64/libc.so.6 ==> #1 0x7ff

[libvirt] [PATCH] xenFormatXLDomainDisks: avoid double free on OOM testing

2017-03-27 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Fix xlconfigtest runs build for --enable-test-oom on Xen XL-2-XML Parse new-disk #0 0x73bd791f in raise () from /lib64/libc.so.6 #1 0x73bd951a in abort () from /lib64/libc.so.6 #2 0x73

[libvirt] [PATCH] xenFormatXLDomainDisks: avoid double free on OOM testing

2017-03-27 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch fixes a double free that exposed under OOM testing xlconfigtest per DO_TEST("new-disk"); VIR_TEST_OOM=1 VIR_TEST_RANGE=5 ./tests/xlconfigtest Wim ten Have (1): xenFormatXLDomainDisks: avoid double free on OOM testing

[libvirt] [PATCH] virConfSaveValue: protect against a NULL pointer reference

2017-03-27 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch protects against a NULL pointer dereference leading to a SEGV under xlconfigtest per DO_TEST("channel-pty"); VIR_TEST_OOM=1 VIR_TEST_RANGE=29 ./tests/xlconfigtest Wim ten Have (1): virConfSaveValue: protect agains

[libvirt] [PATCH v2 2/3] xenconfig: add conversions for xen-xl

2017-03-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Per xen-xl conversions from and to native under host-passthrough mode we take care for Xen (nestedhvm = mode) applied and inherited settings generating or processing correct feature policy: [On Intel (VT-x) architectures] or [On AMD

[libvirt] [PATCH v2 1/3] libxl: set nestedhvm for mode host-passthrough

2017-03-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Xen feature nestedhvm is the option on Xen 4.4+ which enables nested virtualization when mode host-passthrough is applied. Virtualization on target domain can be disabled by specifying such under feature policy rule on target name; [On Intel

[libvirt] [PATCH v2 0/3] libxl: nestedhvm support

2017-03-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch enhances host-passthrough capability to advertise the required vendor CPU virtualization feature which will be used to enable 'nestedhvm' in the libxl driver. Wim ten Have (3): libxl: set nestedhvm for mode host-passthrough xen

[libvirt] [PATCH v2 3/3] xlconfigtest: add tests for 'nestedhvm' support

2017-03-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Testing various configuration schemas targeting postive, negative and undefined nestedhvm under libvirt configuration. Mode "host-passthrough" generates nestedhvm=1 in/from xl format where Intel virtualization (VT-x): or AM

Re: [libvirt] [PATCH] virConfSaveValue: protect against a NULL pointer reference

2017-04-13 Thread Wim ten Have
On Thu, 13 Apr 2017 11:12:36 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > Sorry for the delay. I've not had time to work on upstream libvirt activities > recently... Understood. Ther

Re: [libvirt] [PATCH v3 1/3] libxl: set nestedhvm for mode host-passthrough

2017-04-20 Thread Wim ten Have
On Thu, 20 Apr 2017 14:28:11 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Xen feature nestedhvm is the option on Xen 4.4+ which enables > > nested virtualization when mode host-

Re: [libvirt] [PATCH v2 0/3] libxl: nestedhvm support

2017-04-16 Thread Wim ten Have
-xl % Subject: [PATCH v2 3/3] xlconfigtest: add tests for 'nestedhvm' support Regards, - Wim. On Fri, 24 Mar 2017 22:02:33 +0100 Wim Ten Have <wim.ten.h...@oracle.com> wrote: > From: Wim ten Have <wim.ten.h...@oracle.com> > > This patch enhances host-passthrough ca

[libvirt] [PATCH v3 0/3] libxl: nestedhvm support

2017-04-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch enhances host-passthrough capability to advertise the required vendor CPU virtualization feature which will be used to enable 'nestedhvm' in the libxl driver. Wim ten Have (3): libxl: set nestedhvm for mode host-passthrough xen

[libvirt] [PATCH v3 3/3] xlconfigtest: add tests for 'nestedhvm' support

2017-04-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Testing various configuration schemas targeting postive and negative nestedhvm under libvirt configuration. Mode "host-passthrough" generates nestedhvm=1 in/from xl format where Intel virtualization (VT-x): or AMD virtu

[libvirt] [PATCH v3 2/3] xenconfig: add conversions for xen-xl

2017-04-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Per xen-xl conversions from and to native under host-passthrough mode we take care for Xen (nestedhvm = mode) applied and inherited settings generating or processing correct feature policy: [On Intel (VT-x) architectures] or [On AMD

[libvirt] [PATCH v3 1/3] libxl: set nestedhvm for mode host-passthrough

2017-04-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Xen feature nestedhvm is the option on Xen 4.4+ which enables nested virtualization when mode host-passthrough is applied. nested HVM is enabled by adding below on the target domain; Virtualization on target domain can be disabled by spec

Re: [libvirt] [PATCH v3 2/3] xenconfig: add conversions for xen-xl

2017-04-23 Thread Wim ten Have
On Thu, 20 Apr 2017 15:40:22 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Per xen-xl conversions from and to native under host-passthrough > > mode we take care for Xen (

[libvirt] [PATCH v1 0/3] libxl: nestedhvm support

2017-03-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch enhances host-passthrough capability to advertise the required vendor CPU virtualization feature which will be used to enable 'nestedhvm' in the libxl driver. For Intel virtualization (VT-x) .. For AMD virtualization

[libvirt] [PATCH v1 2/3] xenconfig: add conversion of domxml nestedhvm

2017-03-08 Thread Wim Ten Have
racle.com> Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- src/xenconfig/xen_xl.c | 41 + 1 file changed, 41 insertions(+) diff --git a/src/xenconfig/xen_xl.c b/src/xenconfig/xen_xl.c index 74f68b3..738dcd0 100644 --- a/src/xenconfig/

[libvirt] [PATCH v1 1/3] libxl: set nestedhvm when vmx|svm is required

2017-03-08 Thread Wim Ten Have
racle.com> Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- src/libxl/libxl_conf.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c index f5b788b..8c4c511 100644 --- a/src/libxl/libxl_conf.c +++ b/src/libxl/libxl_conf.c

[libvirt] [PATCH v1 3/3] xlconfigtest: add test and data for 'nestedhvm' support

2017-03-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Configurations containing (within its CPU element) following: Intel virtualization (VT-x): AMD virtualization (AMD-V): generate nestedhvm=1 in/from xl format. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- tests/xlcon

Re: [libvirt] [PATCH v2 1/3] libxl: set nestedhvm for mode host-passthrough

2017-04-18 Thread Wim ten Have
On Mon, 17 Apr 2017 12:04:53 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 03/24/2017 03:02 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Xen feature nestedhvm is the option on Xen 4.4+ which enables > > nested vi

Re: [libvirt] [PATCH v2 2/3] xenconfig: add conversions for xen-xl

2017-04-18 Thread Wim ten Have
On Mon, 17 Apr 2017 14:22:20 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 03/24/2017 03:02 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Per xen-xl conversions from and to native under host-passthrough > > mode we take

Re: [libvirt] [PATCH v2 3/3] xlconfigtest: add tests for 'nestedhvm' support

2017-04-18 Thread Wim ten Have
On Mon, 17 Apr 2017 14:25:13 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 03/24/2017 03:02 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Testing various configuration schemas targeting postive, negative > >

Re: [libvirt] [RFC PATCH v2 1/4] numa: describe siblings distances within cells

2017-07-18 Thread Wim ten Have
On Wed, 28 Jun 2017 15:21:29 +0100 "Daniel P. Berrange" <berra...@redhat.com> wrote: > On Wed, Jun 28, 2017 at 03:56:36PM +0200, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Add libvirtd NUMA cell domain administration fu

Re: [libvirt] [PATCH v1] numa: compute and set matching vcpus for numa domains

2017-07-20 Thread Wim ten Have
On Thu, 20 Jul 2017 11:10:31 +0100 "Daniel P. Berrange" <berra...@redhat.com> wrote: > On Thu, Jul 20, 2017 at 11:29:26AM +0200, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > The QEMU driver can erroneously allocate mo

[libvirt] [PATCH v1] numa: compute and set matching vcpus for numa domains

2017-07-20 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> The QEMU driver can erroneously allocate more vpus to a domain than there are cpus in the domain if the element is used to describe element topology. Fix this by calculating the number of cpus described in the element of a element and com

[libvirt] [PATCH v1] numa: compute and set matching vcpus for numa domains

2017-07-20 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> The QEMU driver can erroneously allocate more vpus to a domain than there are cpus in the domain if the element is used to describe element topology. Wim ten Have (1): numa: compute and set matching vcpus for numa domains

Re: [libvirt] [RFC PATCH v2 1/4] numa: describe siblings distances within cells

2017-07-03 Thread Wim ten Have
/cpu) assignment under directive. Such in a way brings intelligence into libvirt and therefor not wanted. Perhaps this is up to s/w stack utilizing guests per libvirt. If there are thoughts on such matter then i am very interested to hear about them. > On Wed, Jun 28, 2017 at 03:56:36PM

Re: [libvirt] [RFC PATCH v1 1/4] numa: describe siblings distances within cells

2017-06-27 Thread Wim ten Have
On Wed, 21 Jun 2017 21:08:30 +0200 Wim ten Have <wim.ten.h...@oracle.com> wrote: > On Mon, 19 Jun 2017 12:26:20 -0600 > Jim Fehlig <jfeh...@suse.com> wrote: > > > On 06/12/2017 12:54 PM, Wim Ten Have wrote: > > > From: Wim ten Have <wim.ten.h...@oracle.

[libvirt] [RFC PATCH v2 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-06-28 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for numa support administration as brought under this patch series. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- .../test-fullvirt-vnuma-nodistances.cfg

[libvirt] [RFC PATCH v2 3/4] xenconfig: add domxml conversions for xen-xl

2017-06-28 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain configu

[libvirt] [RFC PATCH v2 0/4] numa: describe sibling nodes distances

2017-06-28 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extents guest domain administration adding support to advertise node sibling distances when configuring HVM numa guests. NUMA (non-uniform memory access), a method of configuring a cluster of nodes within a single multiprocessing

[libvirt] [RFC PATCH v2 1/4] numa: describe siblings distances within cells

2017-06-28 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add libvirtd NUMA cell domain administration functionality to describe underlying cell id sibling distances in full fashion when configuring HVM guests. [below is an example of a 4 node

[libvirt] [RFC PATCH v2 2/4] libxl: vnuma support

2017-06-28 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

[libvirt] [PATCH v4 0/3] libxl: nestedhvm support

2017-04-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch enhances host-passthrough capability to advertise the required vendor CPU virtualization feature which will be used to enable 'nestedhvm' in the libxl driver. Wim ten Have (3): libxl: set nestedhvm for mode host-passthrough xen

[libvirt] [PATCH v4 1/3] libxl: set nestedhvm for mode host-passthrough

2017-04-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Xen feature nestedhvm is the option on Xen 4.4+ which enables nested virtualization when mode host-passthrough is applied. nested HVM is enabled by adding below on the target domain; Virtualization on target domain can be disabled by spec

[libvirt] [PATCH v4 3/3] xlconfigtest: add tests for 'nestedhvm' support

2017-04-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Testing various configuration schemas targeting postive and negative nestedhvm under libvirt configuration. Mode "host-passthrough" generates nestedhvm=1 in/from xl format where Intel virtualization (VT-x): or AMD virtu

[libvirt] [PATCH v4 2/3] xenconfig: add conversions for xen-xl

2017-04-24 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Per xen-xl conversions from and to native under host-passthrough mode we take care for Xen (nestedhvm = mode) applied and inherited settings generating or processing correct feature policy: [On Intel (VT-x) architectures] or [On AMD

[libvirt] [PATCH v2] libxl: report numa sibling distances on host capabilities

2017-05-09 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When running on a NUMA machine, populate the sibling node and distance information using data supplied by Xen. Wim ten Have (1): libxl: report numa sibling distances on host capabilities src/libxl/libxl_capabilities.c | 19

[libvirt] [PATCH v2] libxl: report numa sibling distances on host capabilities

2017-05-09 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When running on a NUMA machine, populate the sibling node and distance information using data supplied by Xen. With locality distances information, under Xen, new host capabilities would like: 263

[libvirt] [RFC PATCH v1 0/4] numa: describe sibling nodes distances

2017-06-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extents guest domain administration adding support to advertise node sibling distances when configuring HVM numa guests. NUMA (non-uniform memory access), a method of configuring a cluster of nodes within a single multiprocessing

[libvirt] [RFC PATCH v1 3/4] xenconfig: add domxml conversions for xen-xl

2017-06-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain configu

[libvirt] [RFC PATCH v1 1/4] numa: describe siblings distances within cells

2017-06-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add libvirtd NUMA cell domain administration functionality to describe underlying cell id sibling distances in full fashion when configuring HVM guests. [below is an example of a 4 node

[libvirt] [RFC PATCH v1 2/4] libxl: vnuma support

2017-06-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

[libvirt] [RFC PATCH v1 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-06-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for numa support administration as brought under this patch series. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- .../test-fullvirt-vnuma-nodistances.cfg

Re: [libvirt] [RFC PATCH v1 1/4] numa: describe siblings distances within cells

2017-06-21 Thread Wim ten Have
On Mon, 19 Jun 2017 12:26:20 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 06/12/2017 12:54 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Add libvirtd NUMA cell domain administration functionality to > > describe under

Re: [libvirt] [RFC PATCH v1 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-06-23 Thread Wim ten Have
On Thu, 22 Jun 2017 16:16:16 +0100 Joao Martins <joao.m.mart...@oracle.com> wrote: > On 06/12/2017 07:54 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Test a bidirectional xen-xl domxml to and from native for numa > >

[libvirt] [PATCH v1] xenParseXLDiskSrc: protect against a NULL pointer reference

2017-05-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch protects against a NULL pointer dereference leading to a SEGV and that way taking out libvirtd while performing domain conversion requests per domxml-from-native xen-xl xl.cfg within xenParseXLDiskSrc() when partial disk para

[libvirt] [PATCH v1] xenParseXLDiskSrc: protect against a NULL pointer reference

2017-05-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Working larger code changes whilst testing functionality and domxml conversion methodology for xen-xl (xenconfig) a cumbersome caveat surfaced that potentially can take libvirtd out with a SEGV when parsing complex disk xl.cfg directives. This

[libvirt] [PATCH v2] xenconfig: fix handling of NULL disk source

2017-05-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> It is possible to crash libvirtd when converting xl native config to domXML when the xl config contains an empty disk source, e.g. an empty CDROM. Fix by checking that the disk source is non-NULL before parsing it. Wim ten Have (1): xenconfi

Re: [libvirt] [PATCH v1] xenParseXLDiskSrc: protect against a NULL pointer reference

2017-05-19 Thread Wim ten Have
On Fri, 19 May 2017 08:12:08 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 05/19/2017 06:38 AM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Working larger code changes whilst testing functionality and domxml > > conve

[libvirt] [PATCH v2] xenconfig: fix handling of NULL disk source

2017-05-19 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> It is possible to crash libvirtd when converting xl native config to domXML when the xl config contains an empty disk source, e.g. an empty CDROM. Fix by checking that the disk source is non-NULL before parsing it. Signed-off-by: Wim te

[libvirt] [PATCH v1] libxl: report numa sibling distances on host capabilities

2017-05-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When running on a NUMA machine, populate the sibling node and distance information using data supplied by Xen. With locality distances information, under Xen, new host capabilities would like: 263

[libvirt] [PATCH v1] libxl: report numa sibling distances on host capabilities

2017-05-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When running on a NUMA machine, populate the sibling node and distance information using data supplied by Xen. Wim ten Have (1): libxl: report numa sibling distances on host capabilities src/libxl/libxl_capabilities.c | 20 +

[libvirt] [RFC PATCH] build: isolate core libvirt libs deps from xen runtime

2017-10-05 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Generating libvirt packages per make rpm, "with_libxl=1" and "with_xen=1", adds strict runtime dependencies per libxenlight for xen-libs package from core libvirt-libs package. This is not necessary and unfortunate since tho

Re: [libvirt] [PATCH v4 2/5] numa: describe siblings distances within cells

2017-10-12 Thread Wim ten Have
On Fri, 6 Oct 2017 08:49:46 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 09/08/2017 08:47 AM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Add libvirtd NUMA cell domain administration functionality to > > describe under

[libvirt] [PATCH v5 0/4] numa: describe sibling nodes distances

2017-10-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extends guest domain administration adding support to advertise node sibling distances when configuring NUMA guests also referred to as vNUMA (Virtual NUMA). NUMA (Non-Uniform Memory Access), a method of configuring a cluster of

[libvirt] [PATCH v5 2/4] xenconfig: add domxml conversions for xen-xl

2017-10-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain on a 4 node (2 cores/socket) configu

[libvirt] [PATCH v5 3/4] libxl: vnuma support

2017-10-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

[libvirt] [PATCH v5 1/4] numa: describe siblings distances within cells

2017-10-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add support for describing NUMA distances in a domain's XML description. Below is an example of a 4 node

[libvirt] [PATCH v5 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-10-12 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for numa support administration as brought under this patch series. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- .../test-fullvirt-vnuma-autocomplete.cfg

[libvirt] [PATCH v4 0/5] numa: describe sibling nodes distances

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extends guest domain administration adding support to advertise node sibling distances when configuring HVM numa guests. NUMA (non-uniform memory access), a method of configuring a cluster of nodes within a single multiprocessing

[libvirt] [PATCH v4 3/5] xenconfig: add domxml conversions for xen-xl

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain configu

[libvirt] [PATCH v4 4/5] libxl: vnuma support

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

[libvirt] [PATCH v4 5/5] xlconfigtest: add tests for numa cell sibling distances

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for numa support administration as brought under this patch series. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- .../test-fullvirt-vnuma-autocomplete.cfg

Re: [libvirt] [PATCH v3 1/4] numa: describe siblings distances within cells

2017-09-08 Thread Wim ten Have
On Mon, 4 Sep 2017 08:49:33 +0200 Martin Kletzander <mklet...@redhat.com> wrote: > On Fri, Sep 01, 2017 at 04:31:50PM +0200, Wim ten Have wrote: > >On Thu, 31 Aug 2017 16:36:58 +0200 > >Martin Kletzander <mklet...@redhat.com> wrote: > > > >> On Thu,

[libvirt] [PATCH v4 1/5] numa: rename function virDomainNumaDefCPUFormat

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch renames virDomainNumaDefCPUFormat(), by adding XML, into virDomainNumaDefCPUFormatXML(). So that it meets its peer Parse sibling virDomainNumaDefCPUParseXML() and matches vir*XML() function naming conventions. Signed-off-by: Wim te

[libvirt] [PATCH v4 2/5] numa: describe siblings distances within cells

2017-09-08 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add libvirtd NUMA cell domain administration functionality to describe underlying cell id sibling distances in full fashion when configuring HVM guests. Schema updates are made to docs/schemas/cputypes.rng enforcing domain administration to

[libvirt] [PATCH v3 0/4] numa: describe sibling nodes distances

2017-08-31 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extents guest domain administration adding support to advertise node sibling distances when configuring HVM numa guests. NUMA (non-uniform memory access), a method of configuring a cluster of nodes within a single multiprocessing

[libvirt] [PATCH v3 1/4] numa: describe siblings distances within cells

2017-08-31 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add libvirtd NUMA cell domain administration functionality to describe underlying cell id sibling distances in full fashion when configuring HVM guests. [below is an example of a 4 node

[libvirt] [PATCH v3 2/4] libxl: vnuma support

2017-08-31 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

[libvirt] [PATCH v3 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-08-31 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for numa support administration as brought under this patch series. Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- .../test-fullvirt-vnuma-nodistances.cfg

[libvirt] [PATCH v3 3/4] xenconfig: add domxml conversions for xen-xl

2017-08-31 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain configu

Re: [libvirt] [PATCH v3 1/4] numa: describe siblings distances within cells

2017-09-01 Thread Wim ten Have
On Thu, 31 Aug 2017 16:36:58 +0200 Martin Kletzander <mklet...@redhat.com> wrote: > On Thu, Aug 31, 2017 at 04:02:38PM +0200, Wim Ten Have wrote: > >From: Wim ten Have <wim.ten.h...@oracle.com> > > > I haven't seen the previous versions, so sorry if I point ou

Re: [libvirt] [PATCH v3 1/4] numa: describe siblings distances within cells

2017-09-04 Thread Wim ten Have
On Mon, 4 Sep 2017 08:49:33 +0200 Martin Kletzander <mklet...@redhat.com> wrote: > On Fri, Sep 01, 2017 at 04:31:50PM +0200, Wim ten Have wrote: > >On Thu, 31 Aug 2017 16:36:58 +0200 > >Martin Kletzander <mklet...@redhat.com> wrote: > > > >> &g

[libvirt] [PATCH v1] build: isolate core libvirt libs deps from xen runtime

2017-10-06 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Generating libvirt packages per make rpm, "with-libxl=1" and "with-xen=1", adds strict runtime dependencies per libxenlight for xen-libs package from core libvirt-libs package. This is not necessary and unfortunate since tho

Re: [libvirt] [PATCH v6 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-11-11 Thread Wim ten Have
On Fri, 10 Nov 2017 13:59:25 -0700 Jim Fehlig <jfeh...@suse.com> wrote: > On 11/10/2017 01:55 PM, Jim Fehlig wrote: > > On 11/02/2017 09:47 AM, Wim Ten Have wrote: > >> From: Wim ten Have <wim.ten.h...@oracle.com> > >> > >> Test a bidirect

Re: [libvirt] [PATCH v5 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-11-01 Thread Wim ten Have
On Thu, 26 Oct 2017 17:51:34 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 10/12/2017 01:31 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > Test a bidirectional xen-xl domxml to and from native for numa > > support adm

Re: [libvirt] [PATCH v5 2/4] xenconfig: add domxml conversions for xen-xl

2017-11-01 Thread Wim ten Have
On Thu, 26 Oct 2017 16:46:33 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 10/12/2017 01:31 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > This patch converts NUMA configurations between the Xen libxl > > configurati

Re: [libvirt] [PATCH v5 3/4] libxl: vnuma support

2017-11-01 Thread Wim ten Have
On Thu, 26 Oct 2017 17:40:37 -0600 Jim Fehlig <jfeh...@suse.com> wrote: > On 10/12/2017 01:31 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > This patch generates a NUMA distance-aware libxl description from the > > inf

[libvirt] [PATCH v6 2/4] xenconfig: add domxml conversions for xen-xl

2017-11-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch converts NUMA configurations between the Xen libxl configuration file format and libvirt's XML format. XML HVM domain on a 4 node (2 cores/socket) configu

[libvirt] [PATCH v6 0/4] numa: describe sibling nodes distances

2017-11-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch extends guest domain administration adding support to advertise node sibling distances when configuring NUMA guests also referred to as vNUMA (Virtual NUMA). NUMA (Non-Uniform Memory Access), a method of configuring a cluster of

[libvirt] [PATCH v6 1/4] numa: describe siblings distances within cells

2017-11-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Add support for describing NUMA distances in a domain's XML description. Below is an example of a 4 node

[libvirt] [PATCH v6 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-11-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Test a bidirectional xen-xl domxml to and from native for vnuma support administration as brought under this patch series. Added tests for the libxl_domain_config generator determining vnuma conversion for XML-2-json and json-2-XML. Sign

[libvirt] [PATCH v6 3/4] libxl: vnuma support

2017-11-02 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch generates a NUMA distance-aware libxl description from the information extracted from a NUMA distance-aware libvirt XML file. By default, if no NUMA node distance information is supplied in the libvirt XML file, this patc

Re: [libvirt] [PATCH v5 4/4] xlconfigtest: add tests for numa cell sibling distances

2017-11-02 Thread Wim ten Have
On Wed, 1 Nov 2017 20:45:46 +0100 Wim ten Have <wim.ten.h...@oracle.com> wrote: > On Thu, 26 Oct 2017 17:51:34 -0600 > Jim Fehlig <jfeh...@suse.com> wrote: > > > On 10/12/2017 01:31 PM, Wim Ten Have wrote: > > > From: Wim ten Have <wim.ten.h...@oracle.com

Re: [libvirt] Libvirt config converter can't handle file not ending with new line

2017-11-07 Thread Wim ten Have
On Tue, 7 Nov 2017 12:20:05 + Wei Liu wrote: > On Mon, Nov 06, 2017 at 09:41:01PM -0700, Jim Fehlig wrote: > > On 10/30/2017 06:17 AM, Wei Liu wrote: > > > Hi Jim > > > > > > I discover a problem when using xen_xl converter. When the file in > > > question doesn't end

[libvirt] [PATCH v2 1/1] storage: extend preallocation flags support for qemu-img

2018-04-09 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch adds support to qcow2 formatted filesystem object storage by instructing qemu-img to build them with preallocation=falloc whenever the XML described storage matches its . For all other cases the filesystem stored objects are

[libvirt] [PATCH v2 0/1] Fix qcow2 fully allocated filesystem objects.

2018-04-09 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When tools like virt-install request to create a fully allocated filesystem object storage by setting the parameter sparse=no, libvirt doesn't allow that to happen for qcow2 formatted files. Regardless of its XML instuction request libvirt

Re: [libvirt] [PATCH v1 1/2] storage: extend preallocation flags support for qemu-img

2018-04-09 Thread Wim ten Have
On Wed, 4 Apr 2018 13:31:39 +0200 Michal Privoznik <mpriv...@redhat.com> wrote: > On 04/03/2018 04:14 PM, Wim Ten Have wrote: > > From: Wim ten Have <wim.ten.h...@oracle.com> > > > > This patch adds support to qcow2 formatted filesystem object storage by >

[libvirt] [PATCH libvirt sparse files under format=qcow2 v1 0/2] Problem: libvirt fails to create fully allocated qcow2 storage objects.

2018-03-29 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When virt-install requests to create fully allocated storage object when the parameter sparse=no is set, libvirt doesn't allow that to happen for qcow2 formatted files. Regardless of its XML instuction request libvirt always targets its file

[libvirt] [PATCH libvirt sparse files under format=qcow2 v1 1/2] libvirt can't create fully allocated qcow2 formatted storage objects.

2018-03-29 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch adds support to qcow2 formatted storage objects by instructing qemu-img to build them with preallocation=falloc whenever the XML described storage matches its . For all other cases the objects are built with preallocation=metadata.

[libvirt] [PATCH libvirt sparse files under format=qcow2 v1 2/2] Adjust qemu-img test required to target with preallocation=falloc.

2018-03-29 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- tests/storagevolxml2argvdata/qcow2-nocapacity-convert-prealloc.argv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/storagevolxml2argvdata/qcow2-nocapa

[libvirt] [PATCH v1 0/2] Fix qcow2 fully allocated filesystem objects.

2018-04-03 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> When tools like virt-install request to create a fully allocated filesystem object storage by setting the parameter sparse=no, libvirt doesn't allow that to happen for qcow2 formatted files. Regardless of its XML instuction request libvirt

[libvirt] [PATCH v1 1/2] storage: extend preallocation flags support for qemu-img

2018-04-03 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> This patch adds support to qcow2 formatted filesystem object storage by instructing qemu-img to build them with preallocation=falloc whenever the XML described storage matches its . For all other cases the filesystem stored objects are

[libvirt] [PATCH v1 2/2] tests: add qemu-img test for preallocation=falloc

2018-04-03 Thread Wim Ten Have
From: Wim ten Have <wim.ten.h...@oracle.com> Signed-off-by: Wim ten Have <wim.ten.h...@oracle.com> --- tests/storagevolxml2argvdata/qcow2-nocapacity-convert-prealloc.argv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/storagevolxml2argvdata/qcow2-nocapa

Re: [libvirt] [RFC PATCH auto partition NUMA guest domains v1 0/2] auto partition guests providing the host NUMA topology

2018-10-15 Thread Wim ten Have
On Tue, 25 Sep 2018 14:37:15 +0200 Jiri Denemark wrote: > On Tue, Sep 25, 2018 at 12:02:40 +0200, Wim Ten Have wrote: > > From: Wim ten Have > > > > This patch extends the guest domain administration adding support > > to automatically advertise the host NUMA

[libvirt] [RFC PATCH auto partition NUMA guest domains v1 0/2] auto partition guests providing the host NUMA topology

2018-09-25 Thread Wim Ten Have
From: Wim ten Have This patch extends the guest domain administration adding support to automatically advertise the host NUMA node capabilities obtained architecture under a guest by creating a vNUMA copy. The mechanism is enabled by setting the check='numa' attribute under the CPU 'host

[libvirt] [RFC PATCH auto partition NUMA guest domains v1 2/2] qemuxml2argv: add tests that exercise vNUMA auto partition topology

2018-09-25 Thread Wim Ten Have
From: Wim ten Have Add tests to ensure that the virDomainNumaAutoconfig() routine to auto- partition vNUMA topology generates correct KVM/QEMU cmdline arguments under applicable setup. Signed-off-by: Wim ten Have --- .../cpu-host-passthrough-nonuma.args | 25

[libvirt] [RFC PATCH auto partition NUMA guest domains v1 1/2] domain: auto partition guests providing the host NUMA topology

2018-09-25 Thread Wim Ten Have
From: Wim ten Have Add a mechanism to auto partition the host NUMA topology under the guest domain. This patch adds a framework to automatically partition the host into a small vNUMA subset defined by the guest XML given and description when are in effect and the hypervisor indicates per

  1   2   >