Re: [PATCH v2 1/3] KVM: x86: add support for user wait instructions

From: Tao Xu
Date: Tue May 28 2019 - 23:15:41 EST


On 5/29/2019 10:38 AM, Paolo Bonzini wrote:
On 29/05/19 04:05, Tao Xu wrote:


Thank you Paolo, but I have another question. I was wondering if it is
appropriate to enable X86_FEATURE_WAITPKG when QEMU uses "-overcommit
cpu-pm=on"?

"-overcommit" only establishes the behavior of KVM, it doesn't change
the cpuid bits. So you'd need "-cpu" as well.

Paolo

OK I got it. Thank you for your review.