]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Enable vector support for capable guest
authorEric Farman <farman@linux.vnet.ibm.com>
Wed, 30 Apr 2014 17:39:46 +0000 (13:39 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Mar 2015 12:49:35 +0000 (13:49 +0100)
commita46da2de2cf1787a35970f47279763119ccd7757
treebbaabf7f0ff3f8df71c38c0d507315b2aed14993
parentcd2fe3e39f86c19f6c8fe7e3fd438bef9455d1f3
KVM: s390: Enable vector support for capable guest

We finally have all the pieces in place, so let's include the
vector facility bit in the mask of available hardware facilities
for the guest to recognize.  Also, enable the vector functionality
in the guest control blocks, to avoid a possible vector data
exception that would otherwise occur when a vector instruction
is issued by the guest operating system.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c