On Mon, 24 Dec 2018, Julien Grall wrote:
> Hi,
> 
> On 12/5/18 5:28 PM, Stefano Stabellini wrote:
> > We don't have a clear way to know how many virtual SPIs we need for the
> > boot domains. For simplicity, allocate as many as natively supported,
> > just like for dom0.
> 
> This will potentially allocate a lot of unused interrupts and a waste of
> memory. So is it the correct solution?
> 
> For instance, we would request the user to provide the number of interrupts.

Unfortunately, this has to happen much earlier than when we parse user
supplied device tree options. We could make it an hypervisor command
line parameter but it would be nasty.

Given that this feature is aimed at partitioning scenarios where the
number of VMs is low, the increased memory overhead is not a big issue.

(If you recall we briefly discussed this topic at the last Linaro
Connect, this was the conclusion.)

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to