Re: [Xen-devel] [PATCH v4 4/7] x86 / vmx: move teardown from domain_destroy()...

2020-01-28 Thread Jan Beulich
On 28.01.2020 09:22, Durrant, Paul wrote: >> -Original Message- >> From: Jan Beulich >> Sent: 28 January 2020 08:15 >> To: Durrant, Paul >> Cc: xen-devel@lists.xenproject.org; Jun Nakajima ; >> Kevin Tian ; Andrew Cooper >> ; Wei Liu ; Roger Pau Monné >> ; George Dunlap >> Subject: Re:

Re: [Xen-devel] [PATCH v4 4/7] x86 / vmx: move teardown from domain_destroy()...

2020-01-28 Thread Durrant, Paul
> -Original Message- > From: Jan Beulich > Sent: 28 January 2020 08:15 > To: Durrant, Paul > Cc: xen-devel@lists.xenproject.org; Jun Nakajima ; > Kevin Tian ; Andrew Cooper > ; Wei Liu ; Roger Pau Monné > ; George Dunlap > Subject: Re: [PATCH v4 4/7] x86 / vmx: move teardown from >

Re: [Xen-devel] [PATCH v4 4/7] x86 / vmx: move teardown from domain_destroy()...

2020-01-28 Thread Jan Beulich
On 24.01.2020 16:31, Paul Durrant wrote: > ... to domain_relinquish_resources(). > > The teardown code frees the APICv page. This does not need to be done late > so do it in domain_relinquish_resources() rather than domain_destroy(). For the normal domain destruction path this is fine. For the

[Xen-devel] [PATCH v4 4/7] x86 / vmx: move teardown from domain_destroy()...

2020-01-24 Thread Paul Durrant
... to domain_relinquish_resources(). The teardown code frees the APICv page. This does not need to be done late so do it in domain_relinquish_resources() rather than domain_destroy(). Signed-off-by: Paul Durrant --- Cc: Jun Nakajima Cc: Kevin Tian Cc: Jan Beulich Cc: Andrew Cooper Cc: Wei