]> git.karo-electronics.de Git - linux-beck.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)
commit13211ea7b47db3d8ee2ff258a9a973a6d3aa3d43
treebbaabf7f0ff3f8df71c38c0d507315b2aed14993
parentbc17de7c966504b287a1dceb76a523d8b7816731
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