Hi, I have been trying to apply libcrypto (openssl) patch to a virtual function (VF) of QAT that is assigned to a qemu/kvm virtual machine.
First, I successfully created 32 virtual functions of QAT through SR-IOV as instructed on Using Intel VT with Intel QuickAssist Technology. Then, I assigned one of the virtual function to qemu/kvm virtual machine I created. Here is the spec of both host and vm I created:
HOST
OS: CentOS Linux release 7.2.1511
kernel: 3.10.0-327.22.2.el7.x86_64
CPU: Intel(R) Xeon(R) CPU E5-2699 v3
QAT driver version: 2.6.0-60
VM
OS: CentOS Linux release 7.2.1511
kernel: 3.10.0-327.28.2.el7.x86_64
CPU: copied host cpu info
QAT driver version: 2.6.0-60
libcrypto patch version: 0.4.9-009
After installing the QAT virtual function driver on the VM, I can see the driver running on the vm:
Then, I followed Libcrypto Patch for Intel QuickAssist Technology to apply the patch.
And then I tried to verify the installation with openssl speed test, but I got the following error:
Seems like openssl cannot find QAT.
I've tried doing the exact same thing with QAT using pci-passthrough (i.e., assigning physical function to the vm instead of virtual function) and did not have any problem.
My guess is that it does not support virtual function but I'm not sure.
Did anybody have the same or similar problem? I cannot pinpoint the root cause because there is no reason for it to fail. I really need your help. Thanks a lot!!
Regards,
skyung