[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/11] tools/xenstored: rework hard_quotas and soft_quotas arrays



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 <jgross@xxxxxxxx>

Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.