kvm_init_vcpu failed: Cannot allocate memory in NUMA
Issue
- We found following phenomenon on our RHEL7 node.
- Is it possible to use a NUMA configuration for a KVM VM on RHEL 7?
If the XML has the following configuration the machine starts properly:
<numatune>
<memory mode='strict' nodeset='0'/>
</numatune>
If the XML has the following configuration the machine fails to start:
<numatune>
<memory mode='strict' nodeset='1'/>
</numatune>
root@host ~# sudo virsh start vm001
error: Failed to start domain vm001
error: internal error: process exited while connecting to monitor: kvm_init_vcpu failed: Cannot allocate memory kvm_init_vcpu failed: Cannot allocate memory in NUMA
Environment
- Red Hat Enterprise Linux (RHEL) 7.0
- libvirt-1.1.1-6.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.