Re: [Xen-devel] [PATCH 5/5] tmem: allow tmem to be disabled with Kconfig

2016-03-16 Thread Jan Beulich
>>> On 15.03.16 at 20:04, wrote: > On 3/15/16 3:31 AM, Jan Beulich wrote: > On 14.03.16 at 21:29, wrote: >>> --- a/xen/arch/x86/hvm/hvm.c >>> +++ b/xen/arch/x86/hvm/hvm.c >>> @@ -5311,6 +5311,10 @@ typedef unsigned long hvm_hypercall_t( >>> #define compat_grant_table_op hvm_grant_table_op_co

Re: [Xen-devel] [PATCH 5/5] tmem: allow tmem to be disabled with Kconfig

2016-03-15 Thread Doug Goldstein
On 3/15/16 3:31 AM, Jan Beulich wrote: On 14.03.16 at 21:29, wrote: >> --- a/xen/arch/x86/hvm/hvm.c >> +++ b/xen/arch/x86/hvm/hvm.c >> @@ -5311,6 +5311,10 @@ typedef unsigned long hvm_hypercall_t( >> #define compat_grant_table_op hvm_grant_table_op_compat32 >> #define do_arch_1

Re: [Xen-devel] [PATCH 5/5] tmem: allow tmem to be disabled with Kconfig

2016-03-15 Thread Doug Goldstein
On 3/15/16 3:31 AM, Jan Beulich wrote: On 14.03.16 at 21:29, wrote: >> --- a/xen/arch/x86/hvm/hvm.c >> +++ b/xen/arch/x86/hvm/hvm.c >> @@ -5311,6 +5311,10 @@ typedef unsigned long hvm_hypercall_t( >> #define compat_grant_table_op hvm_grant_table_op_compat32 >> #define do_arch_1

Re: [Xen-devel] [PATCH 5/5] tmem: allow tmem to be disabled with Kconfig

2016-03-15 Thread Jan Beulich
>>> On 14.03.16 at 21:29, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -5311,6 +5311,10 @@ typedef unsigned long hvm_hypercall_t( > #define compat_grant_table_op hvm_grant_table_op_compat32 > #define do_arch_1 paging_domctl_continuation > > +#ifndef CON

[Xen-devel] [PATCH 5/5] tmem: allow tmem to be disabled with Kconfig

2016-03-14 Thread Doug Goldstein
Wrap the various tmem functions with the Kconfig generated CONFIG_TMEM option allowing users to build Xen without tmem support. Signed-off-by: Doug Goldstein --- CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Konrad Rzeszutek Wilk --- xen/arch/x86/hvm/hvm.c | 4 xen/