This attribute doesn't set pinning to host CPUs, it configures which guest vCPUs should belong to that guest NUMA node. If a guest has more vCPUs than host you wouldn't be able to configure all guest vCPUs to the NUMA nodes for guest. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- virtinst/cpu.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/virtinst/cpu.py b/virtinst/cpu.py index cd9fa68e..468853f5 100644 --- a/virtinst/cpu.py +++ b/virtinst/cpu.py @@ -17,7 +17,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301 USA. -from .domainnumatune import DomainNumatune from .xmlbuilder import XMLBuilder, XMLProperty, XMLChildProperty @@ -28,11 +27,8 @@ class _CPUCell(XMLBuilder): _XML_ROOT_NAME = "cell" _XML_PROP_ORDER = ["id", "cpus", "memory"] - def _validate_cpuset(self, val): - DomainNumatune.validate_cpuset(self.conn, val) - id = XMLProperty("./@id", is_int=True) - cpus = XMLProperty("./@cpus", validate_cb=_validate_cpuset) + cpus = XMLProperty("./@cpus") memory = XMLProperty("./@memory", is_int=True) -- 2.12.2 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list