On Thu, Mar 05, 2026 at 02:52:00PM +0100, Juergen Gross wrote:
> Instead of having one array for hard quotas and one for soft quotas,
> split them differently: have one array with the quota names and
> descriptions, and one with the quota values (soft and hard) and the
> maximum value so far.
> 
> This is in preparation of supporting per-domain quotas, as the layout
> of the second array elements will be reused in the domain data.
> 
> While at it add an accessor for getting a soft quota value, as this
> will be needed for per-domain quotas, too.
> 
> Signed-off-by: Juergen Gross <[email protected]>

Reviewed-by: Anthony PERARD <[email protected]>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech


Reply via email to