Re: [Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2019-01-02 Thread Razvan Cojocaru
On 1/2/19 2:29 PM, Andrew Cooper wrote: > On 02/01/2019 11:50, Wei Liu wrote: >> On Tue, Dec 18, 2018 at 05:11:44PM +0200, Razvan Cojocaru wrote: >>> Allow altp2m users to disable #VE/VMFUNC alone. Currently it is >>> only possible to disable this functionality when we disable altp2m >>> completely

Re: [Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2019-01-02 Thread Andrew Cooper
On 02/01/2019 11:50, Wei Liu wrote: > On Tue, Dec 18, 2018 at 05:11:44PM +0200, Razvan Cojocaru wrote: >> Allow altp2m users to disable #VE/VMFUNC alone. Currently it is >> only possible to disable this functionality when we disable altp2m >> completely; #VE/VMFUNC can only be enabled once per altp

Re: [Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2019-01-02 Thread Razvan Cojocaru
On 1/2/19 1:50 PM, Wei Liu wrote: > On Tue, Dec 18, 2018 at 05:11:44PM +0200, Razvan Cojocaru wrote: >> Allow altp2m users to disable #VE/VMFUNC alone. Currently it is >> only possible to disable this functionality when we disable altp2m >> completely; #VE/VMFUNC can only be enabled once per altp2m

Re: [Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2019-01-02 Thread Wei Liu
On Tue, Dec 18, 2018 at 05:11:44PM +0200, Razvan Cojocaru wrote: > Allow altp2m users to disable #VE/VMFUNC alone. Currently it is > only possible to disable this functionality when we disable altp2m > completely; #VE/VMFUNC can only be enabled once per altp2m session. > > In addition to making th

Re: [Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2018-12-24 Thread Andrew Cooper
On 18/12/2018 15:11, Razvan Cojocaru wrote: > Allow altp2m users to disable #VE/VMFUNC alone. Currently it is > only possible to disable this functionality when we disable altp2m > completely; #VE/VMFUNC can only be enabled once per altp2m session. > > In addition to making things complete, disabli

[Xen-devel] [PATCH V3] x86/altp2m: add altp2m_vcpu_disable_notify

2018-12-18 Thread Razvan Cojocaru
Allow altp2m users to disable #VE/VMFUNC alone. Currently it is only possible to disable this functionality when we disable altp2m completely; #VE/VMFUNC can only be enabled once per altp2m session. In addition to making things complete, disabling #VE is also a workaround for CFW116 ("When Virtual