Commit b1d1e76e authored by Michael Mueller's avatar Michael Mueller Committed by Christian Borntraeger

KVM: s390: start using the GIB

By initializing the GIB, it will be used by the kvm host.
Signed-off-by: default avatarMichael Mueller <mimu@linux.ibm.com>
Reviewed-by: default avatarPierre Morel <pmorel@linux.ibm.com>
Reviewed-by: default avatarHalil Pasic <pasic@linux.ibm.com>
Message-Id: <20190131085247.13826-15-mimu@linux.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent 9f30f621
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment