[Xen-devel] [PATCH v5] xen: get rid of paravirt op adjust_exception_frame

2017-08-31 Thread Juergen Gross
From: Juergen Gross <jgr...@suse.com> When running as Xen pv-guest the exception frame on the stack contains %r11 and %rcx additional to the other data pushed by the processor. Instead of having a paravirt op being called for each exception type prepend the Xen specific code to each exc

Re: [Xen-devel] linux-next: manual merge of the xen-tip tree with the tip tree

2017-08-31 Thread Juergen Gross
h below. > > Juergen, can you please check the result? > > Thanks, > > tglx > > 8<--------- > Subject: xen: Get rid of paravirt op adjust_exception_frame > From: Juergen Gross <jgr...@suse.com> > Date: Fri, 11 Aug 2017 16:54:48 +0200 >

Re: [Xen-devel] [PATCH] libxc: increase maximum migration stream record length

2017-08-30 Thread Juergen Gross
On 10/08/17 14:26, Andrew Cooper wrote: > On 10/08/17 12:24, Juergen Gross wrote: >> Today the maximum record lenth in a migration stream is 8MB. This >> limits the size of a PV domain to a little bit less than 1TB in the >> migration case, as the P2M frame list will ex

Re: [Xen-devel] [RFC PATCH v2 1/7] x86/paravirt: Add pv_idle_ops to paravirt ops

2017-08-30 Thread Juergen Gross
On 29/08/17 15:55, Konrad Rzeszutek Wilk wrote: > On Tue, Aug 29, 2017 at 11:46:35AM +, Yang Zhang wrote: >> So far, pv_idle_ops.poll is the only ops for pv_idle. .poll is called in >> idle path which will polling for a while before we enter the real idle >> state. >> >> In virtualization,

[Xen-devel] [PATCH] xen: fix boolean parameter handling

2017-08-28 Thread Juergen Gross
Commit 63e8a1e5ffa7a7fdbde887805f673fea7e8d2e94 ("xen: check parameter validity when parsing command line") introduced a bug for the case when a boolean parameter was specified by its keyword only (no value). It would set just the wrong boolean value for that parameter. Signed-off-b

[Xen-devel] [PATCH v5 08/15] xen/common/sched_credit2.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
itrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Dario Faggioli <dario.faggi...@citrix.com> --- xen/common/sched_credit2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 9b1db1351f..2da9cc2ffb

[Xen-devel] [PATCH v5 15/15] xen: make some console related parameters settable at runtime

2017-08-28 Thread Juergen Gross
Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Wei Liu <wei.l...@citrix.com> Reviewed-by: Jan Beulich

[Xen-devel] [PATCH v5 07/15] xen/common/kexec.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
ed-off-by: Juergen Gross <jgr...@suse.com> --- xen/common/kexec.c | 5 - 1 file changed, 5 deletions(-) diff --git a/xen/common/kexec.c b/xen/common/kexec.c index fcc68bd4d8..e0f1e3eafa 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -213,7 +213,6 @@ static int __init parse_low_crashinf

[Xen-devel] [PATCH v5 03/15] xen/arch/x86/apic.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/apic.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c index 325b48074a..2638414e08 100644 --- a/xen/arch/x86/apic.c +

[Xen-devel] [PATCH v5 00/15] Support for modifying parameters at runtime

2017-08-28 Thread Juergen Gross
c: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Juergen Gross (15): xen/arch/x86/psr.c: let custom parameter parsing routines return errno xen: check parameter validity when parsing command line xen/arch/x86/ap

[Xen-devel] [PATCH v5 04/15] xen/arch/x86/cpu/mcheck/mce.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/cpu/mcheck/mce.c | 4 1 file changed, 4 deletions(-) diff --git a/xen/arch/x86/cpu/mcheck/mce.c b/xen/arch/x86/cpu/mcheck/mce.c index 8015dff8c4..7affe2591e 100644 --- a/xen/arch/x8

[Xen-devel] [PATCH v5 12/15] libxc: add function to set hypervisor parameters

2017-08-28 Thread Juergen Gross
Add a new libxc function to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citri

[Xen-devel] [PATCH v5 01/15] xen/arch/x86/psr.c: let custom parameter parsing routines return errno

2017-08-28 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/psr.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V5: - rena

[Xen-devel] [PATCH v5 09/15] xen: carve out a generic parsing function from _cmdline_parse()

2017-08-28 Thread Juergen Gross
itrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-

[Xen-devel] [PATCH v5 05/15] xen/arch/x86/hvm/viridian.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
ndrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Paul Durrant <paul.durr...@citrix.com> --- xen/arch/x86/hvm/viridian.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/hvm/viridian.c

[Xen-devel] [PATCH v5 11/15] xen: add hypercall for setting parameters at runtime

2017-08-28 Thread Juergen Gross
i Liu <wei.l...@citrix.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim De

[Xen-devel] [PATCH v5 14/15] xl: add new xl command set-parameters

2017-08-28 Thread Juergen Gross
Add a new xl command "set-parameters" to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by:

[Xen-devel] [PATCH v5 13/15] libxl: add libxl_set_parameters() function

2017-08-28 Thread Juergen Gross
Add a new libxl function to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l.

[Xen-devel] [PATCH v5 02/15] xen: check parameter validity when parsing command line

2017-08-28 Thread Juergen Gross
ni <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Wei Liu <wei.l...@citrix.com> --- V4: - removed test for empty string from parse_bool() again, avoid calling

[Xen-devel] [PATCH v5 06/15] xen/arch/x86/io_apic.c: remove custom_param() error messages

2017-08-28 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/io_apic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/arch/x86/io_apic.c b/xen/arch/x86/io_apic.c index f767c4560c..f959090ca0 100644 --- a/xen/arch/x86/io_apic.c +++

[Xen-devel] [PATCH v5 10/15] xen: add basic support for runtime parameter changing

2017-08-28 Thread Juergen Gross
Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@

Re: [Xen-devel] [PATCH v8 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-08-27 Thread Juergen Gross
On 28/08/17 06:25, Juergen Gross wrote: > On 28/08/17 05:20, Dou Liyang wrote: >> XEN PV overrides smp_prepare_cpus(). xen_pv_smp_prepare_cpus() >> initializes interrupts in the XEN PV specific way and does not invoke >> native_smp_prepare_cpus(). As a consequence, x8

Re: [Xen-devel] [PATCH v8 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-08-27 Thread Juergen Gross
On 28/08/17 05:20, Dou Liyang wrote: > XEN PV overrides smp_prepare_cpus(). xen_pv_smp_prepare_cpus() > initializes interrupts in the XEN PV specific way and does not invoke > native_smp_prepare_cpus(). As a consequence, x86_init.intr_mode_init() is > not invoked either. > > The invocation of

Re: [Xen-devel] [PATCH] common/gnttab: Introduce command line feature controls

2017-08-25 Thread Juergen Gross
On 25/08/17 18:21, George Dunlap wrote: > On 08/25/2017 01:31 PM, Jan Beulich wrote: >>>>> On 25.08.17 at 14:10, <andrew.coop...@citrix.com> wrote: >>> On 25/08/17 10:57, Jan Beulich wrote: >>>>>>> On 24.08.17 at 17:16, <andrew.coop...@

[Xen-devel] [PATCH] xen: fix parse_bool() with empty string

2017-08-25 Thread Juergen Gross
t;xen: add an optional string end parameter to parse_bool()") Signed-off-by: Juergen Gross <jgr...@suse.com> --- xen/common/kernel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/common/kernel.c b/xen/common/kernel.c index ec7714961a..71bc547d17 100644

Re: [Xen-devel] [PATCH] common/gnttab: Introduce command line feature controls

2017-08-25 Thread Juergen Gross
On 25/08/17 14:29, Jan Beulich wrote: On 25.08.17 at 14:05, wrote: >> On 25/08/17 10:49, Jan Beulich wrote: >> On 24.08.17 at 16:50, wrote: --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown

Re: [Xen-devel] [PATCH] common/gnttab: Introduce command line feature controls

2017-08-25 Thread Juergen Gross
On 25/08/17 14:10, Andrew Cooper wrote: > On 25/08/17 10:57, Jan Beulich wrote: >>>>> On 24.08.17 at 17:16, <andrew.coop...@citrix.com> wrote: >>> On 24/08/17 16:01, Juergen Gross wrote: >>>> On 24/08/17 16:50, Andrew Cooper wrote: >>>>>

Re: [Xen-devel] [PATCH 5/5] xen: add new hypercall to get grant table limits

2017-08-25 Thread Juergen Gross
On 25/08/17 13:58, Jan Beulich wrote: On 25.08.17 at 13:40, wrote: >> So what about the following idea: >> >> - Set the default max number of grant frames to 32 on "small" hosts >> (max. physical memory address below 16TB) and to 64 on "large" >> hosts > > This looks

Re: [Xen-devel] [PATCH 5/5] xen: add new hypercall to get grant table limits

2017-08-25 Thread Juergen Gross
On 24/08/17 17:20, Jan Beulich wrote: On 24.08.17 at 17:13, wrote: >> On 24/08/17 17:04, Jan Beulich wrote: >> On 24.08.17 at 16:48, wrote: How would the guest know whether using v2 grants is no disadvantage? >>> >>> As said - it's always going to

Re: [Xen-devel] [PATCH v4 19/53] xen/arch/x86/psr.c: let custom parameter parsing routines return errno

2017-08-25 Thread Juergen Gross
On 25/08/17 10:17, Jan Beulich wrote: On 24.08.17 at 18:27, wrote: >> On 24/08/17 17:35, Jan Beulich wrote: >> On 23.08.17 at 19:34, wrote: --- a/xen/arch/x86/psr.c +++ b/xen/arch/x86/psr.c @@ -418,50 +418,66 @@ static const struct

Re: [Xen-devel] [PATCH v4 01/53] xen: add an optional string end parameter to parse_bool()

2017-08-25 Thread Juergen Gross
On 24/08/17 17:43, Andrew Cooper wrote: > On 23/08/17 18:33, Juergen Gross wrote: >> Add a parameter to parse_bool() to specify the end of the to be >> parsed string. Specifying it as NULL will preserve the current >> behavior to parse until the end of the input string, while

Re: [Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-08-25 Thread Juergen Gross
On 24/08/17 18:12, Julien Grall wrote: > Hello, > > I was expecting to be CCed on this patch. Oops, sorry for that. > > On 21/08/17 19:05, Juergen Gross wrote: >> The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly >> identical. Mo

Re: [Xen-devel] [PATCH] common/gnttab: Introduce command line feature controls

2017-08-24 Thread Juergen Gross
On 24/08/17 17:16, Andrew Cooper wrote: > On 24/08/17 16:01, Juergen Gross wrote: >> On 24/08/17 16:50, Andrew Cooper wrote: >>> This patch was originally a workaround for XSA-226. Since then, transitive >>> grants are believed to be functioning properly, and the

Re: [Xen-devel] [PATCH v4 01/53] xen: add an optional string end parameter to parse_bool()

2017-08-24 Thread Juergen Gross
On 24/08/17 17:33, Jan Beulich wrote: On 23.08.17 at 19:33, wrote: >> @@ -163,20 +163,24 @@ void __init cmdline_parse(const char *cmdline) >> #endif >> } >> >> -int __init parse_bool(const char *s) >> +int __init parse_bool(const char *s, const char *e) >> { >> -if

Re: [Xen-devel] [PATCH v4 19/53] xen/arch/x86/psr.c: let custom parameter parsing routines return errno

2017-08-24 Thread Juergen Gross
On 24/08/17 17:35, Jan Beulich wrote: On 23.08.17 at 19:34, wrote: >> --- a/xen/arch/x86/psr.c >> +++ b/xen/arch/x86/psr.c >> @@ -418,50 +418,66 @@ static const struct feat_props l2_cat_props = { >> .write_msr = l2_cat_write_msr, >> }; >> >> -static void __init

Re: [Xen-devel] [PATCH 4/5] xen: support different gnttab_max_frames for grant v1 and v2

2017-08-24 Thread Juergen Gross
On 24/08/17 17:01, Jan Beulich wrote: On 24.08.17 at 16:54, wrote: >> OTOH I think there should be a default especially on huge hosts >> allowing to use v2 grants without reducing the number of allowed >> grants, which doesn't need adding another parameter to the domain >>

Re: [Xen-devel] [PATCH 5/5] xen: add new hypercall to get grant table limits

2017-08-24 Thread Juergen Gross
On 24/08/17 17:04, Jan Beulich wrote: On 24.08.17 at 16:48, wrote: >> On 24/08/17 16:28, Jan Beulich wrote: >> On 21.08.17 at 20:05, wrote: Today a guest can get the maximum grant table frame number for the currently selected grant table

Re: [Xen-devel] [PATCH 5/5] xen: add new hypercall to get grant table limits

2017-08-24 Thread Juergen Gross
On 24/08/17 16:48, Juergen Gross wrote: > On 24/08/17 16:28, Jan Beulich wrote: >>>>> On 21.08.17 at 20:05, <jgr...@suse.com> wrote: >>> Today a guest can get the maximum grant table frame number for the >>> currently selected grant table interface versio

Re: [Xen-devel] [PATCH] common/gnttab: Introduce command line feature controls

2017-08-24 Thread Juergen Gross
On 24/08/17 16:50, Andrew Cooper wrote: > This patch was originally a workaround for XSA-226. Since then, transitive > grants are believed to be functioning properly, and the defaults have changed > appropriately. > > However, for those people who chose to use the workaround (especially from an

Re: [Xen-devel] [PATCH 4/5] xen: support different gnttab_max_frames for grant v1 and v2

2017-08-24 Thread Juergen Gross
wo values separated by a comma to set both limits to dedicated >> values. >> >> Add some sanity checks to make sure the maximum number of frames isn't >> lower than the initial number, as this leads to rather strange crashes. >> >> Signed-off-by: Juergen Gr

Re: [Xen-devel] [PATCH 5/5] xen: add new hypercall to get grant table limits

2017-08-24 Thread Juergen Gross
On 24/08/17 16:28, Jan Beulich wrote: On 21.08.17 at 20:05, wrote: >> Today a guest can get the maximum grant table frame number for the >> currently selected grant table interface version (1 or 2) only. Add >> a new grant table operation to get the limits of both variants

Re: [Xen-devel] [PATCH 3/5] xen: clean up grant_table.h

2017-08-24 Thread Juergen Gross
On 24/08/17 16:17, Jan Beulich wrote: On 21.08.17 at 20:05, wrote: >> @@ -118,6 +154,18 @@ struct grant_mapping { >> uint32_t pad; /* round size to a power of 2 */ >> }; >> >> +/* Number of grant table frames. Caller must hold d's grant table lock. */ >>

Re: [Xen-devel] [PATCH] xen: Don't try to call xen_alloc_p2m_entry() on autotranslating guests

2017-08-24 Thread Juergen Gross
uests. > > However, alloc_xenballooned_pages() may make this call on a PVH guest. > Prevent this from happening by adding XENFEAT_auto_translated_physmap > check there. > > Signed-off-by: Boris Ostrovsky <boris.ostrov...@oracle.com> > Fixes: aba831a69632 ("xen: remove tests for pvh mode

[Xen-devel] [PATCH v4 10/53] xen/arch/x86/hvm/viridian.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
urr...@citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Paul Durrant <paul.durr...@citrix.com> --- V3: - dont modify option value in parsing function - fix error in parsing

[Xen-devel] [PATCH v4 51/53] libxl: add libxl_set_parameters() function

2017-08-23 Thread Juergen Gross
Add a new libxl function to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l.

[Xen-devel] [PATCH v4 31/53] xen/drivers/char/console.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
t; Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei

[Xen-devel] [PATCH v4 35/53] xen/drivers/passthrough/pci.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/passthrough/pci.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4: - differentiate error return values (Jan Beu

[Xen-devel] [PATCH v4 07/53] xen/arch/x86/cpu/vpmu.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/cpu/vpmu.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 11/53] xen/arch/x86/hvm/vmx/vmcs.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
ooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V3: - dont modify option value in parsing function --- xen/arch/x86/hvm/vmx/vmcs.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen

[Xen-devel] [PATCH v4 40/53] xen: check parameter validity when parsing command line

2017-08-23 Thread Juergen Gross
ni <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4: - removed test for empty string from parse_bool() again, avoid calling parse_bool() in that case (Jan Beulich) - print error numb

[Xen-devel] [PATCH v4 19/53] xen/arch/x86/psr.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/psr.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4: - pas

[Xen-devel] [PATCH v4 17/53] xen/arch/x86/numa.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/numa.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 37/53] xen/drivers/passthrough/vtd/quirks.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/passthrough/vtd/quirks.c to indicate whether the parameter value was parsed successfully. Cc: Kevin Tian <kevin.t...@intel.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citrix.com>

[Xen-devel] [PATCH v4 32/53] xen/drivers/cpufreq/cpufreq.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/cpufreq/cpufreq.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4: - add __initdata (Jan Beulich) - adapt parse_boo

[Xen-devel] [PATCH v4 53/53] xen: make some console related parameters settable at runtime

2017-08-23 Thread Juergen Gross
Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Wei Liu <wei.l...@citrix.com> Reviewed-by: Jan Beulich

[Xen-devel] [PATCH v4 47/53] xen: carve out a generic parsing function from _cmdline_parse()

2017-08-23 Thread Juergen Gross
itrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-

[Xen-devel] [PATCH v4 41/53] xen/arch/x86/apic.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/apic.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c index 325b48074a..2638414e08 100644 --- a/xen/arch/x86/apic.c +

[Xen-devel] [PATCH v4 02/53] xen/arch/arm/acpi/boot.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/arm/acpi/boot.c to indicate whether the parameter value was parsed successfully. Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> Signed-off-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v4 03/53] xen/arch/arm/domain_build.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/arm/domain_build.c to indicate whether the parameter value was parsed successfully. Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> Signed-off-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v4 00/53] Support for modifying parameters at runtime

2017-08-23 Thread Juergen Gross
l De Graaf) - patch 50 (libxl: add libxl_set_parameters() function): corrected coding style (Wei Liu) Juergen Gross (53): xen: add an optional string end parameter to parse_bool() xen/arch/arm/acpi/boot.c: let custom parameter parsing routines return errno xen/arch/arm/domain_build.c:

[Xen-devel] [PATCH v4 15/53] xen/arch/x86/mm.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/mm.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 22/53] xen/arch/x86/time.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/time.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 44/53] xen/arch/x86/io_apic.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/io_apic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/arch/x86/io_apic.c b/xen/arch/x86/io_apic.c index f767c4560c..f959090ca0 100644 --- a/xen/arch/x86/io_apic.c +++

[Xen-devel] [PATCH v4 52/53] xl: add new xl command set-parameters

2017-08-23 Thread Juergen Gross
Add a new xl command "set-parameters" to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by:

[Xen-devel] [PATCH v4 25/53] xen/common/domain.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei

[Xen-devel] [PATCH v4 04/53] xen/arch/arm/traps.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/arm/traps.c to indicate whether the parameter value was parsed successfully. Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 18/53] xen/arch/x86/oprofile/nmi_int.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/oprofile/nmi_int.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v4 12/53] xen/arch/x86/io_apic.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/io_apic.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 46/53] xen/common/sched_credit2.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
itrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Dario Faggioli <dario.faggi...@citrix.com> --- xen/common/sched_credit2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 9b1db1351f..2da9cc2ffb

[Xen-devel] [PATCH v4 48/53] xen: add basic support for runtime parameter changing

2017-08-23 Thread Juergen Gross
Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@

[Xen-devel] [PATCH v4 16/53] xen/arch/x86/nmi.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/nmi.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 50/53] libxc: add function to set hypervisor parameters

2017-08-23 Thread Juergen Gross
Add a new libxc function to set hypervisor parameters at runtime similar to boot time parameters via command line. Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citri

[Xen-devel] [PATCH v4 06/53] xen/arch/x86/cpu/mcheck/mce.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/cpu/mcheck/mce.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v4 43/53] xen/arch/x86/hvm/viridian.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
ndrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Paul Durrant <paul.durr...@citrix.com> --- xen/arch/x86/hvm/viridian.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/hvm/viridian.c

[Xen-devel] [PATCH v4 30/53] xen/drivers/acpi/tables.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/acpi/tables.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citrix.com> Acked-by:

[Xen-devel] [PATCH v4 28/53] xen/common/memory.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei

[Xen-devel] [PATCH v4 29/53] xen/common/sched_credit2.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/common/sched_credit2.c to indicate whether the parameter value was parsed successfully. Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Dario Faggioli <dario.faggi...@citrix.com> Signed-off-by: Juergen Gross <jgr...@

[Xen-devel] [PATCH v4 34/53] xen/drivers/passthrough/iommu.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Beulich <jbeul...@suse.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4: - adapt parse_bool() call (Jan Beulich) V3: - dont modify option value in parsing function --- xen/drivers/passthrough/iommu.c | 52 +++-- 1 file changed, 29 inser

[Xen-devel] [PATCH v4 08/53] xen/arch/x86/dom0_build.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/dom0_build.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Review

[Xen-devel] [PATCH v4 14/53] xen/arch/x86/microcode.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/microcode.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 45/53] xen/common/kexec.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
ed-off-by: Juergen Gross <jgr...@suse.com> --- xen/common/kexec.c | 5 - 1 file changed, 5 deletions(-) diff --git a/xen/common/kexec.c b/xen/common/kexec.c index fcc68bd4d8..e0f1e3eafa 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -213,7 +213,6 @@ static int __init parse_low_crashinf

[Xen-devel] [PATCH v4 42/53] xen/arch/x86/cpu/mcheck/mce.c: remove custom_param() error messages

2017-08-23 Thread Juergen Gross
; Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Jan Beulich <jbeul...@suse.com> --- xen/arch/x86/cpu/mcheck/mce.c | 4 1 file changed, 4 deletions(-) diff --git a/xen/arch/x86/cpu/mcheck/mce.c b/xen/arch/x86/cpu/mcheck/mce.c index 8015dff8c4..7affe2591e 100644 --- a/xen/arch/x8

[Xen-devel] [PATCH v4 20/53] xen/arch/x86/setup.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/setup.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 21/53] xen/arch/x86/shutdown.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/shutdown.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> --- V4:

[Xen-devel] [PATCH v4 38/53] xen/drivers/video/vesa.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
t; Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei

[Xen-devel] [PATCH v4 24/53] xen/common/core_parking.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
t; Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei

[Xen-devel] [PATCH v4 01/53] xen: add an optional string end parameter to parse_bool()

2017-08-23 Thread Juergen Gross
Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Cc: Kevin Tian &l

[Xen-devel] [PATCH v4 49/53] xen: add hypercall for setting parameters at runtime

2017-08-23 Thread Juergen Gross
i Liu <wei.l...@citrix.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim De

[Xen-devel] [PATCH v4 27/53] xen/common/kexec.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/common/kexec.c to indicate whether the parameter value was parsed successfully. Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citrix.com> --- xen/c

[Xen-devel] [PATCH v4 39/53] xen/xsm/flask/flask_op.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/xsm/flask/flask_op.c to indicate whether the parameter value was parsed successfully. Cc: Daniel De Graaf <dgde...@tycho.nsa.gov> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Daniel De Graaf <dgde...@tycho.nsa.gov

[Xen-devel] [PATCH v4 26/53] xen/common/efi/boot.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/common/efi/boot.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Jan Beulich <jbeul...@suse.com> --- V3:

[Xen-devel] [PATCH v4 05/53] xen/arch/x86/apic.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/apic.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 09/53] xen/arch/x86/genapic/probe.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/genapic/probe.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v4 23/53] xen/arch/x86/x86_64/mmconfig-shared.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/x86_64/mmconfig-shared.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@s

[Xen-devel] [PATCH v4 13/53] xen/arch/x86/irq.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/irq.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-

[Xen-devel] [PATCH v4 36/53] xen/drivers/passthrough/vtd/dmar.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/passthrough/vtd/dmar.c to indicate whether the parameter value was parsed successfully. Cc: Kevin Tian <kevin.t...@intel.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: Wei Liu <wei.l...@citrix.com>

[Xen-devel] [PATCH v4 33/53] xen/drivers/passthrough/amd/iommu_acpi.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/drivers/passthrough/amd/iommu_acpi.c to indicate whether the parameter value was parsed successfully. Cc: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com> Signed-off-by: Juergen Gross <jgr...@suse.com> Acked-by: We

Re: [Xen-devel] [PATCH v3 39/52] xen: check parameter validity when parsing command line

2017-08-23 Thread Juergen Gross
On 23/08/17 15:18, Jan Beulich wrote: On 23.08.17 at 14:42, wrote: >> On 23/08/17 11:38, Jan Beulich wrote: >> On 23.08.17 at 11:30, wrote: On 22/08/17 13:24, Jan Beulich wrote: On 16.08.17 at 14:52, wrote: >> @@

Re: [Xen-devel] [PATCH v3 39/52] xen: check parameter validity when parsing command line

2017-08-23 Thread Juergen Gross
On 23/08/17 11:38, Jan Beulich wrote: On 23.08.17 at 11:30, wrote: >> On 22/08/17 13:24, Jan Beulich wrote: >> On 16.08.17 at 14:52, wrote: @@ -176,7 +210,8 @@ int __init parse_bool(const char *s) !strcmp("on", s) ||

Re: [Xen-devel] [PATCH v3 22/52] xen/arch/x86/x86_64/mmconfig-shared.c: let custom parameter parsing routines return errno

2017-08-23 Thread Juergen Gross
On 22/08/17 11:55, Jan Beulich wrote: On 16.08.17 at 14:51, wrote: >> --- a/xen/arch/x86/x86_64/mmconfig-shared.c >> +++ b/xen/arch/x86/x86_64/mmconfig-shared.c >> @@ -28,22 +28,35 @@ >> >> unsigned int pci_probe = PCI_PROBE_CONF1 | PCI_PROBE_MMCONF; >> >> -static void

<    1   2   3   4   5   6   7   8   9   10   >