qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About MONITOR/MWAIT in i386 CPU model


From: Tao Xu
Subject: Re: About MONITOR/MWAIT in i386 CPU model
Date: Thu, 14 Nov 2019 08:50:49 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1

On 11/14/2019 6:47 AM, Eduardo Habkost wrote:
On Wed, Nov 13, 2019 at 04:42:25PM +0800, Tao Xu wrote:
Hi Eduardo,

After kvm use "-overcommit cpu-pm=on" to expose MONITOR/MWAIT
(commit id 6f131f13e68d648a8e4f083c667ab1acd88ce4cd), the MONITOR/MWAIT
feature in CPU model (phenom core2duo coreduo n270 Opteron_G3 EPYC Snowridge
Denverton) may be unused. For example, when we boot a guest with Denverton
cpu model, guest cannot detect MONITOR and boot with no warning. Should we
remove this feature from some CPU model?

Good catch, thanks!

Yes, we should remove them from Opteron_G3, EPYC, Snowridge, and
Denverton, at least.  The other older CPU models can be left
alone: they are more useful for use with TCG than with KVM, and
TCG supports MONITOR/MWAIT.

I would like to understand why this wasn't detected during
testing by Intel.  I suggest always testing CPU models using the
"enforce" flag to make sure warnings don't go unnoticed.


OK we will improve the testing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]