diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-30 09:49:27 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 18:02:22 -0400 |
commit | e1e43813e7908b063938a3d01f172f88f6190c80 (patch) | |
tree | 350d443879b5340499f424571123e65d0d1b25cd /linux-headers | |
parent | c0c8445255b2b5b440c355431c8b01b7b7b7c8cf (diff) | |
download | qemu-e1e43813e7908b063938a3d01f172f88f6190c80.zip qemu-e1e43813e7908b063938a3d01f172f88f6190c80.tar.gz qemu-e1e43813e7908b063938a3d01f172f88f6190c80.tar.bz2 |
KVM: x86: believe what KVM says about WAITPKG
Currently, QEMU is overriding KVM_GET_SUPPORTED_CPUID's answer for
the WAITPKG bit depending on the "-overcommit cpu-pm" setting. This is a
bad idea because it does not even check if the host supports it, but it
can be done in x86_cpu_realizefn just like we do for the MONITOR bit.
This patch moves it there, while making it conditional on host
support for the related UMWAIT MSR.
Cc: qemu-stable@nongnu.org
Reported-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions