From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: Re: [PATCH v4 2/2] i386/cpu: make -cpu host support monitor/mwait Date: Fri, 22 Jun 2018 15:35:16 -0300 Message-ID: <20180622183516.GC7451@localhost.localdomain> References: <20180622003140.164613-1-mst@redhat.com> <20180622003140.164613-3-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paolo Bonzini , Marcelo Tosatti , qemu-devel@nongnu.org, kvm@vger.kernel.org, Richard Henderson To: "Michael S. Tsirkin" Return-path: Content-Disposition: inline In-Reply-To: <20180622003140.164613-3-mst@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On Fri, Jun 22, 2018 at 03:31:48AM +0300, Michael S. Tsirkin wrote: > When guest CPU PM is enabled, and with -cpu host, expose the host CPU > MWAIT leaf in the CPUID so guest can make good PM decisions. > > Note: the result is 100% CPU utilization reported by host as host > no longer knows that the CPU is halted. > > Signed-off-by: Michael S. Tsirkin Reviewed-by: Eduardo Habkost -- Eduardo