KVM: s390: start using the GIB

By initializing the GIB, it will be used by the kvm host.

Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20190131085247.13826-15-mimu@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
Michael Mueller 2019-01-31 09:52:45 +01:00 committed by Christian Borntraeger
parent 9f30f62163
commit b1d1e76ed9
1 changed files with 7 additions and 0 deletions

View File

@ -435,8 +435,15 @@ int kvm_arch_init(void *opaque)
pr_err("A FLIC registration call failed with rc=%d\n", rc);
goto out_debug_unreg;
}
rc = kvm_s390_gib_init(GAL_ISC);
if (rc)
goto out_gib_destroy;
return 0;
out_gib_destroy:
kvm_s390_gib_destroy();
out_debug_unreg:
debug_unregister(kvm_s390_dbf);
return rc;