QAT_Engine icon indicating copy to clipboard operation
QAT_Engine copied to clipboard

Failed to start qat_service in VM

Open xhuan28 opened this issue 2 years ago • 4 comments

I pass through a QAT VF to TDVM and try to install QAT driver in TD guest for it. However, it is failed to start qat_service as it can't find any QAT devices.

The vQAT can be found in VM. image I build the QAT out-of-tree driver by following steps without obvious errors.

./configure --enable-icp-sriov=guest
make install

image

When I try to start qat_service, it prompts "There is 0 QAT device". image

xhuan28 avatar Feb 22 '23 15:02 xhuan28

Can you please check if there is any error in dmesg. If so can you please share it. @jdschuet Can you please here ?

Yogaraj-Alamenda avatar Feb 23 '23 09:02 Yogaraj-Alamenda

There is no obvious errors in dmesg. Please find the attached log for double check. Thanks. dmesg.log

xhuan28 avatar Feb 23 '23 09:02 xhuan28

In dmesg, the only QAT related message appears to be QAT: Stopping all acceleration devices.

Can you confirm which QAT package is used in the host and the guest?

jdschuet avatar Feb 23 '23 14:02 jdschuet

In dmesg, the only QAT related message appears to be QAT: Stopping all acceleration devices.

Can you confirm which QAT package is used in the host and the guest?

QAT.L.4.20.0-00001 is used in the host and the guest.

xhuan28 avatar Feb 23 '23 14:02 xhuan28