[PATCH v4 1/3] tools: Modify single-domid callers of xc_domain_getinfolist()

2023-05-09 Thread Alejandro Vallejo
xc_domain_getinfolist() internally relies on a sysctl that performs a linear search for the domids. Many callers of xc_domain_getinfolist() who require information about a precise domid are much better off calling xc_domain_getinfo_single() instead, that will use the getdomaininfo domctl instead an

Re: [PATCH v4 1/3] tools: Modify single-domid callers of xc_domain_getinfolist()

2023-05-10 Thread Anthony PERARD
On Tue, May 09, 2023 at 05:07:10PM +0100, Alejandro Vallejo wrote: > xc_domain_getinfolist() internally relies on a sysctl that performs > a linear search for the domids. Many callers of xc_domain_getinfolist() > who require information about a precise domid are much better off calling > xc_domain_