intel/QATzip

Fail to use Intel QAT in QEMU VM

Closed this issue · 2 comments

Hi All,

I am trying to use Intel QAT in QEMU VM, but have encountered the following errors when running QATzip.

image

I then check the dmesg message but it shows no obvious errors while building the QAT driver is also smooth.

What I have done:
(a) use vfio-pci to pass QAT in the host server to QEMU VM (both host and guest are enabled IOMMU), lspci -nnk in VM shows:
image
(b) build QAT_driver for my Intel C62x Chipset QAT, and build QATzip, service qat_service status shows:
image

I also try to configure QAT_driver with --enable-icp-sriov=guest but the installation then fails ... :(
image

I am wondering that if I want to use QAT in VM, do I need to install QAT_driver in the host server? or simply passing it to VM is right.

Could anyone give me some hints if I have missed anything? Many thanks in advance!

daweiq commented

Close the issue since no reply.