Re: [PATCH v5 11/13] KVM: s390: implement mediated device open callback

From: Halil Pasic
Date: Mon Jun 11 2018 - 12:50:53 EST




On 06/11/2018 06:26 PM, Tony Krowiak wrote:
@Janosch:ÂDoesÂcoreÂKVMÂshareÂmyÂopinion?
AtÂleastÂIÂdo.

KVMÂdoesÂnotÂcareÂaboutÂwhoÂhasÂwhichÂcryptoÂqueue/card.
I'dÂlikeÂtoÂhaveÂaÂdriverÂthatÂdoesÂinternalÂbookkeepingÂandÂthen
registersÂtheÂcrycbÂwithÂKVM,ÂsoÂtheÂVMÂcanÂuseÂit.

IÂamÂnotÂsureÂwhatÂyouÂmeanÂbyÂ"registersÂtheÂcrycbÂwithÂKVM".
CanÂyouÂprovideÂmoreÂdetail?


I'm pretty sure he means copy the masks form the internal bookkeeping
in the mdev device to the CRYCB fields. Please work on this assumption.

Halil