From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: Re: [PATCH v2 2/2] i386/cpu: make -cpu host support monitor/mwait Date: Wed, 13 Jun 2018 18:24:47 -0300 Message-ID: <20180613212447.GH24764@localhost.localdomain> References: <20180612184616.90838-1-mst@redhat.com> <20180612184616.90838-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: <20180612184616.90838-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 Tue, Jun 12, 2018 at 09:47:13PM +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