On Thu, Sep 14, 2017 at 20:48:49 +0800, Paul Schlacter wrote: > this is my stackoverflow question: > https://stackoverflow.com/questions/46219552/host-doesnt-support-requested-feature-cpuid-01hedx-ds-bit-21-does-this-warn > > > I found a lot of warning from the VM qemu log, Does this warn affect > virtual machine performance or use? , is my libvirt.xml file problem? Or > support hot-plug will have these warnings > > This is my libvirt xml configuration: > > <domain type='kvm' id='315'> ... > <cpu mode='host-model'> > <model fallback='allow'/> > <numa> > <cell id='0' cpus='0-1' memory='2097152' unit='KiB'/> > </numa> > </cpu> ... > 2017-09-14T12:16:03.441702Z qemu-kvm: warning: CPU(s) not present in > any NUMA nodes: 2 3 4 5 6 7 > 2017-09-14T12:16:03.441773Z qemu-kvm: warning: All CPU(s) up to > maxcpus should be described in NUMA config > warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] > warning: host doesn't support requested feature: CPUID.01H:EDX.acpi [bit 22] > warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28] > warning: host doesn't support requested feature: CPUID.01H:EDX.tm [bit 29] ...
Similar warnings are expected with host-model CPUs on older libvirt which didn't know how to ask QEMU what CPU features are supported on the host. Thus libvirt just used CPUID and asked for everything and QEMU filtered a lot of them. You need a recent QEMU and libvirt to avoid these warnings. Jirka