path: root/arch/s390/include
diff options
authorChristian Borntraeger <borntraeger@de.ibm.com>2019-02-18 12:48:25 (GMT)
committerChristian Borntraeger <borntraeger@de.ibm.com>2019-02-22 10:04:35 (GMT)
commit346fa2f891c71a9b98014f8f62c15f4c7dd95ec1 (patch)
tree9c6737b3ef394f5a4613d44597340123c1dfc146 /arch/s390/include
parentb9fa6d6ee9b88eedf2d2261f931841664aa6980e (diff)
KVM: s390: implement subfunction processor calls
While we will not implement interception for query functions yet, we can and should disable functions that have a control bit based on the given CPU model. Let us start with enabling the subfunction interface. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'arch/s390/include')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index c5f5156..3369677 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -711,6 +711,7 @@ struct s390_io_adapter {
struct kvm_s390_cpu_model {
/* facility mask supported by kvm & hosting machine */
__u64 fac_mask[S390_ARCH_FAC_LIST_SIZE_U64];
+ struct kvm_s390_vm_cpu_subfunc subfuncs;
/* facility list requested by guest (in dma page) */
__u64 *fac_list;
u64 cpuid;

Privacy Policy