mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-11 22:21:36 +00:00
We disabled msi/msix twice inside Drop trait for VfioPciDevice, which resulted in error message "Could not disable MSI-X". Eliminating this error by check whether the msi/msix capability is enabled. Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com> CC: Liu Jiang <gerry@linux.alibaba.com>