[Qemu-devel] [PATCH v4 2/2] i386/cpu: make -cpu host support monitor/mwait

2018-06-21 Thread Michael S. Tsirkin
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 --- target/i386/cpu.h |

Re: [Qemu-devel] [PATCH v4 2/2] i386/cpu: make -cpu host support monitor/mwait

2018-06-22 Thread Eduardo Habkost
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 th