-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: validate amount of sockets equal to that of numa nodes
When running a VM with 'Resize and Pin' CPU pinning policy, the algorithm expects the host to have the same number of sockets and NUMA nodes. That way the algorithm fits the topology and leaves the first core on each socket free to the host. This patch filters out hosts that don't have an equal number of sockets and NUMA nodes or the host doesn't have NUMA support in the NUMA filter policy when trying to run a VM with CPU pinning policy `Resize and Pin`. Change-Id: Icdc1ac910eb733f6edd861d0505fb90a581224b5 Bug-Url: https://bugzilla.redhat.com/1955388 Bug-Url: https://bugzilla.redhat.com/2056950 Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
- Loading branch information
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters