Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread George Dunlap
On Wed, Jul 25, 2018 at 1:29 PM, Jan Beulich wrote: On 25.07.18 at 14:18, wrote: >> On 25/07/18 13:16, Jan Beulich wrote: >> On 25.07.18 at 14:08, wrote: On 29/06/18 06:27, Jan Beulich wrote: Andrew Cooper 06/28/18 6:10 PM >>> >> On 28/06/18 14:35, Jan Beulich wrote:

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 14:18, wrote: > On 25/07/18 13:16, Jan Beulich wrote: > On 25.07.18 at 14:08, wrote: >>> On 29/06/18 06:27, Jan Beulich wrote: >>> Andrew Cooper 06/28/18 6:10 PM >>> > On 28/06/18 14:35, Jan Beulich wrote: > On 26.06.18 at 13:35, wrote: >>> --- a/xen/a

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Andrew Cooper
On 25/07/18 13:16, Jan Beulich wrote: On 25.07.18 at 14:08, wrote: >> On 29/06/18 06:27, Jan Beulich wrote: >> Andrew Cooper 06/28/18 6:10 PM >>> On 28/06/18 14:35, Jan Beulich wrote: On 26.06.18 at 13:35, wrote: >> --- a/xen/arch/x86/Kconfig >> +++ b/xen/arch/x86/

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Jan Beulich
>>> On 25.07.18 at 14:08, wrote: > On 29/06/18 06:27, Jan Beulich wrote: > Andrew Cooper 06/28/18 6:10 PM >>> >>> On 28/06/18 14:35, Jan Beulich wrote: >>> On 26.06.18 at 13:35, wrote: > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -161,3 +161,24 @@ endmenu >>

[Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-07-25 Thread Andrew Cooper
On 29/06/18 06:27, Jan Beulich wrote: Andrew Cooper 06/28/18 6:10 PM >>> >> On 28/06/18 14:35, Jan Beulich wrote: >> On 26.06.18 at 13:35, wrote: --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -161,3 +161,24 @@ endmenu source "common/Kconfig" s

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-06-28 Thread Jan Beulich
>>> Andrew Cooper 06/28/18 6:10 PM >>> >On 28/06/18 14:35, Jan Beulich wrote: > On 26.06.18 at 13:35, wrote: >>> --- a/xen/arch/x86/Kconfig >>> +++ b/xen/arch/x86/Kconfig >>> @@ -161,3 +161,24 @@ endmenu >>> source "common/Kconfig" >>> >>> source "drivers/Kconfig" >>> + >>> +menu "Depreca

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-06-28 Thread Andrew Cooper
On 28/06/18 14:35, Jan Beulich wrote: On 26.06.18 at 13:35, wrote: >> --- a/xen/arch/x86/Kconfig >> +++ b/xen/arch/x86/Kconfig >> @@ -161,3 +161,24 @@ endmenu >> source "common/Kconfig" >> >> source "drivers/Kconfig" >> + >> +menu "Deprecated Functionality" >> + >> +config LEGACY_PV_LDT_P

Re: [Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-06-28 Thread Jan Beulich
>>> On 26.06.18 at 13:35, wrote: > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -161,3 +161,24 @@ endmenu > source "common/Kconfig" > > source "drivers/Kconfig" > + > +menu "Deprecated Functionality" > + > +config LEGACY_PV_LDT_PAGING > + def_bool n > + prompt "PV LDT P

[Xen-devel] [PATCH] x86/pv: Deprecate support for paging out the LDT

2018-06-26 Thread Andrew Cooper
This code is believed to be vestigial remnant of the PV Windows XP port. It is not used by Linux, NetBSD, Solaris or MiniOS. Furthermore the implementation is incomplete; it only functions for a present => not-present transition, rather than a present => read/write transition. The for_each_vcpu(