KVM: s390: enable IBS for single running VCPUs
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 14 Mar 2014 10:00:21 +0000 (11:00 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 29 Apr 2014 13:01:54 +0000 (15:01 +0200)
commit8ad357551797b1edc184fb9f6a4f80a6fa626459
tree3700cdc96803f5be483cd79453b240c73b522f3a
parent6852d7b69b4949234c3a8ae1f279f6a4c6563662
KVM: s390: enable IBS for single running VCPUs

This patch enables the IBS facility when a single VCPU is running.
The facility is dynamically turned on/off as soon as other VCPUs
enter/leave the stopped state.

When this facility is operating, some instructions can be executed
faster for single-cpu guests.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/trace-s390.h
include/linux/kvm_host.h