[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 1/6] tools/cpupools: Give a name to unnamed cpupools
- To: Luca Fancellu <luca.fancellu@xxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Fri, 8 Apr 2022 10:54:00 +0100
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <bertrand.marquis@xxxxxxx>, <wei.chen@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
- Delivery-date: Fri, 08 Apr 2022 09:54:22 +0000
- Ironport-data: A9a23:0idMjqLE5sNrj6w8FE+RFJUlxSXFcZb7ZxGr2PjKsXjdYENShmcPm mscX2+FP/aIa2b0e4h+Ot/gpEJX75bUyNAxG1ZlqX01Q3x08seUXt7xwmUcns+xwm8vaGo9s q3yv/GZdJhcokf0/0vrav67xZVF/fngqoDUUYYoAQgsA148IMsdoUg7wbRh3tY42YHR7z6l4 rseneWOYDdJ5BYsWo4kw/rrRMRH5amaVJsw5zTSVNgT1LPsvyB94KE3fMldG0DQUIhMdtNWc s6YpF2PEsE1yD92Yj+tuu6TnkTn2dc+NyDW4pZdc/DKbhSvOkXee0v0XRYRQR4/ttmHozx+4 I1PmJaITQcqBKKPwMcMekMBLA8uObITrdcrIVDn2SCS50jPcn+qyPRyFkAme4Yf/46bA0kXq 6ZecmpUKEne2aTmm9pXScE17ignBMDtIIMYvGAm1TzDBOwqaZvCX7/L9ZlT2zJYasVmQ6aFO ZRFOGEHgBLoTkdjJnxQKb0HjMCHnGHlSx8CqVi4qv9ii4TU5FMoi+W8WDbPQfSVSMQTlUaVo ErP5WG/CRYfXPSAzRKV/3TqgfXA9Qv5V5gVD6aQ7eNxjRuYwWl7IBkLXlL9r/C/gUO6X893I lYRvCEpqMAa5EGtC9XwQRC8iHqFpQIHHcpdFfUg7wOAwbaS5ByWbkAOQyRdctUguIkzTCYzy 16St9rzAHpkt7j9dJ6G3u7K93XoY3FTdDJcI39fJecY3zX9iNkxoxj3StZgKqH21v7kMGup/ B7aqDdr0t3/kvU3/6m8+FnGhRelqZ7IUhM5623rY4610u9qTNX7PtL1sDA3+d4Fdd/EFQfZ4 BDojuDEtIgz4YexeDthqQnnNJWg/L67PTLVmjaD9LFxpm32qxZPkW29iQySxXuF0O5ZIVcFg 2eJ4Gu9AaO/2lPwMMebhKrrVqwXIVDIT4iNaxwtRoMmjmJNXAGG5jpyQkWbwnrglkMh+YlmZ 8vKK5bxUCZFVv0+pNZTewv7+eV2rszZ7TmNLa0XMjz9iebODJJrYelt3KSyghARs/rf/VS9H yd3PMqW0RRPONASkQGMmbP/2WsidCBhbbiv8pQ/XrfafmJORTFwY9eMkOhJU9E0wMxoehLgo yjVtrlwkwGk2xUq6GyiNxheVV8Ydcon9iJkYHZ0ZD5FGRELOO6S0UvWTLNvFZFPyQCp5acco yUtEylYPslydw==
- Ironport-hdrordr: A9a23:OUDvBqi6qWC0uKEDUS+sulKLSXBQXt4ji2hC6mlwRA09TyX+rb HIoB17726RtN91YhodcL+7VJVoLUmyyXcX2+ks1NWZMjUO0VHAROsO0WKI+VzdMhy72ulB1b pxN4hSYeeAaGSSVPyKgzVQxexQouW6zA==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, Apr 08, 2022 at 09:45:12AM +0100, Luca Fancellu wrote:
> With the introduction of boot time cpupools, Xen can create many
> different cpupools at boot time other than cpupool with id 0.
>
> Since these newly created cpupools can't have an
> entry in Xenstore, create the entry using xen-init-dom0
> helper with the usual convention: Pool-<cpupool id>.
>
> Given the change, remove the check for poolid == 0 from
> libxl_cpupoolid_to_name(...).
>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> ---
> Changes in v6:
> - Reworked loop to have only one error path (Anthony)
Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Thanks,
--
Anthony PERARD
|