Radim Krčmář 431f5d4443 KVM: x86: simplify kvm_mwait_in_guest()
If Intel/AMD implements MWAIT, we expect that it works well and only
reject known bugs;  no reason to do it the other way around for minor
vendors.  (Not that they are relevant ATM.)

This allows further simplification of kvm_mwait_in_guest().
And use boot_cpu_has() instead of "cpu_has(&boot_cpu_data," while at it.

Reviewed-by: Alexander Graf <agraf@suse.de>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-12-14 09:26:43 +01:00
..
2017-12-14 09:26:40 +01:00
2017-12-14 09:26:40 +01:00
2017-04-12 20:17:15 +02:00
2017-04-12 20:17:13 +02:00
2017-11-16 13:00:24 -08:00
2017-12-14 09:26:39 +01:00
2017-12-14 09:26:40 +01:00
2017-12-14 09:26:38 +01:00
2017-12-14 09:26:43 +01:00