Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xen/pciback: Save the number of MSI-X entries to be copied later.
Commit 8135cf8 (xen/pciback: Save xen_pci_op commands before processing it) broke enabling MSI-X because it would never copy the resulting vectors into the response. The number of vectors requested was being overwritten by the return value (typically zero for success). Save the number of vectors before processing the op, so the correct number of vectors are copied afterwards. Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> Cc: <[email protected]> Reviewed-by: Jan Beulich <[email protected]> Signed-off-by: David Vrabel <[email protected]>
- Loading branch information