mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() The vring call fd is set even when the guest does not use MSI-X (e.g., in the case of virtio PMD), leading to unnecessary CPU overhead for processing interrupts. The commit 96a3d98d2c("vhost: don't set vring call if no vector") optimized the case where MSI-X is enabled but the queue vector is unset. However, there's an additional case where the guest uses INTx and the INTx_DISABLED bit in the PCI config is set, meaning that no interrupt notifier will actually be used. In such cases, the vring call fd should also be cleared to avoid redundant interrupt handling. Fixes: 96a3d98d2c("vhost: don't set vring call if no vector") Reported-by: Zhiyuan Yuan <yuanzhiyuan@chinatelecom.cn> Signed-off-by: Jidong Xia <xiajd@chinatelecom.cn> Signed-off-by: Huaitong Han <hanht2@chinatelecom.cn> Message-Id: <20250522100548.212740-1-hanht2@chinatelecom.cn> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
5 days ago | |
---|---|---|
.. | ||
msi.h | 2 years ago | |
msix.h | 3 years ago | |
pci.h | 5 days ago | |
pci_bridge.h | 7 months ago | |
pci_bus.h | 2 years ago | |
pci_device.h | 7 days ago | |
pci_host.h | 3 weeks ago | |
pci_ids.h | 3 months ago | |
pci_regs.h | 3 years ago | |
pcie.h | 7 days ago | |
pcie_aer.h | 1 year ago | |
pcie_doe.h | 11 months ago | |
pcie_host.h | 2 months ago | |
pcie_port.h | 8 months ago | |
pcie_regs.h | 7 days ago | |
pcie_sriov.h | 4 weeks ago | |
shpc.h | 2 months ago | |
slotid_cap.h | 6 years ago |