[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix PV MSI-X



MSI-X for PV was broken, make it work again.

diff -r 8566781df55e drivers/xen/pciback/conf_space_capability_msi.c
--- a/drivers/xen/pciback/conf_space_capability_msi.c   Mon Sep 01 10:46:19 
2008 +0100
+++ b/drivers/xen/pciback/conf_space_capability_msi.c   Thu Sep 04 19:26:31 
2008 -0400
@@ -51,6 +51,11 @@
                }
 
                result = pci_enable_msix(dev, entries, op->value);
+
+               for (i = 0; i < op->value; i++)
+                       op->msix_entries[i].entry = entries[i].entry;
+                       op->msix_entries[i].vector = entries[i].vector;
+
                op->value = result;
        }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.