SUSE Support

Here When You Need Us

virt-manager cannot execute a guest VM with more than 255 vCPU's assigned

This document (000019723) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server 12 SP5

Situation

It is currently not possible to execute a guest virtual machine which is configured with more than 255 vCPU's on Intel x86 platform.

Resolution

Although there is already general support for  >255 vCPU's in the SUSE virtualization stack, it is not necessarily the case that all components of that virtualization stack are also enabled with that functionality. 
Currently, virt-manager does not yet have that support available even in the latest upstream version.

This is scheduled to be resolved in a future release of SUSE Linux Enterprise once the current limitations will be resolved in the upstream version of virt-manager.

As a temporary work-around, manually editing the VM's XML file, and modify the details as per the snippets outlined in the diff below :
# diff -c centos7.0-original.xml centos7.0-280-cpu.xml 
*** centos7.0-original.xml	2020-12-04 16:46:42.581626099 +0100
--- centos7.0-280-cpu.xml	2020-12-04 16:47:00.229829521 +0100
***************
*** 15,21 ****
    </metadata>
    <memory unit='KiB'>4194304</memory>
    <currentMemory unit='KiB'>4194304</currentMemory>
!   <vcpu placement='static'>64</vcpu>
    <os>
      <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
      <boot dev='hd'/>
--- 15,21 ----
    </metadata>
    <memory unit='KiB'>4194304</memory>
    <currentMemory unit='KiB'>4194304</currentMemory>
!   <vcpu placement='static'>280</vcpu>
    <os>
      <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
      <boot dev='hd'/>
***************
*** 23,28 ****
--- 23,29 ----
    <features>
      <acpi/>
      <apic/>
+     <ioapic driver='qemu'/>
    </features>
    <cpu mode='host-model' check='partial'/>
    <clock offset='utc'>
***************
*** 147,151 ****
--- 148,155 ----
        <backend model='random'>/dev/urandom</backend>
        <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </rng>
+     <iommu model='intel'>
+       <driver intremap='on' eim='on'/>
+     </iommu>
    </devices>
  </domain>

Using an XML file with the setting above, we were able to start a VM, in this sample CentOS, with 280 CPU's assigned

Cause

This is currently a limitation on Intel x86 virtualization stack

Additional Information

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019723
  • Creation Date: 22-Sep-2020
  • Modified Date:05-Jan-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.