qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Denemark <jdenemar@redhat.com>
To: Paul Schlacter <wlfightup@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] Does this warn affect virtual machine performance or use?
Date: Fri, 15 Sep 2017 09:58:14 +0200	[thread overview]
Message-ID: <20170915075814.GC5256@orkuz.home> (raw)
In-Reply-To: <CADak6y79L+eUYg3LmO2MGTf5BKxHZ8rG5zHBJ9UKPhKHNxsFkQ@mail.gmail.com>

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

      reply	other threads:[~2017-09-15  7:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-14 12:48 [Qemu-devel] host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] Does this warn affect virtual machine performance or use? Paul Schlacter
2017-09-15  7:58 ` Jiri Denemark [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170915075814.GC5256@orkuz.home \
    --to=jdenemar@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wlfightup@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).