Wanpeng Li a4429e53c9 KVM: Introduce paravirtualization hints and KVM_HINTS_DEDICATED
This patch introduces kvm_para_has_hint() to query for hints about
the configuration of the guests.  The first hint KVM_HINTS_DEDICATED,
is set if the guest has dedicated physical CPUs for each vCPU (i.e.
pinning and no over-commitment).  This allows optimizing spinlocks
and tells the guest to avoid PV TLB flush.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2018-03-06 18:40:44 +01:00
..
2017-11-15 11:36:08 -08:00
2016-08-03 08:16:30 +02:00
2018-02-07 11:22:44 -08:00
2017-01-25 02:51:11 +01:00
2018-02-16 09:31:37 -08:00
2017-11-15 11:36:08 -08:00
2018-02-07 11:22:44 -08:00
2018-02-07 11:22:44 -08:00
2017-11-15 11:36:08 -08:00
2017-11-03 09:02:30 -07:00
2017-04-10 11:56:07 +02:00
2018-02-09 19:32:41 -08:00