Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Roger Pau Monné
On Thu, Nov 21, 2024 at 05:03:21PM +0100, Jan Beulich wrote: > On 21.11.2024 16:56, Roger Pau Monné wrote: > > On Thu, Nov 21, 2024 at 12:12:18PM +0100, Roger Pau Monne wrote: > >> The allocation of the paging structures in the per-domain area for mapping > >> the > >> guest GDT and LDT can be lim

Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Roger Pau Monné
On Thu, Nov 21, 2024 at 12:12:18PM +0100, Roger Pau Monne wrote: > The allocation of the paging structures in the per-domain area for mapping the > guest GDT and LDT can be limited to the maximum number of vCPUs the guest can > have. The maximum number of vCPUs is available at domain creation sinc

Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Jan Beulich
On 21.11.2024 16:56, Roger Pau Monné wrote: > On Thu, Nov 21, 2024 at 12:12:18PM +0100, Roger Pau Monne wrote: >> The allocation of the paging structures in the per-domain area for mapping >> the >> guest GDT and LDT can be limited to the maximum number of vCPUs the guest can >> have. The maximum

Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Roger Pau Monné
On Thu, Nov 21, 2024 at 11:26:19AM +, Andrew Cooper wrote: > On 21/11/2024 11:12 am, Roger Pau Monne wrote: > > The allocation of the paging structures in the per-domain area for mapping > > the > > guest GDT and LDT can be limited to the maximum number of vCPUs the guest > > can > > have. T

Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Jan Beulich
On 21.11.2024 12:12, Roger Pau Monne wrote: > The allocation of the paging structures in the per-domain area for mapping the > guest GDT and LDT can be limited to the maximum number of vCPUs the guest can > have. The maximum number of vCPUs is available at domain creation since > commit > 4737fa5

Re: [PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Andrew Cooper
On 21/11/2024 11:12 am, Roger Pau Monne wrote: > The allocation of the paging structures in the per-domain area for mapping the > guest GDT and LDT can be limited to the maximum number of vCPUs the guest can > have. The maximum number of vCPUs is available at domain creation since > commit > 4737

[PATCH] x86/pv: limit GDT and LDT mappings areas to max number of vCPUs

2024-11-21 Thread Roger Pau Monne
The allocation of the paging structures in the per-domain area for mapping the guest GDT and LDT can be limited to the maximum number of vCPUs the guest can have. The maximum number of vCPUs is available at domain creation since commit 4737fa52ce86. Limiting to the actual number of vCPUs avoids w