|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] fix PV MSI-X
You haven't put brackets around what is presumably supposed to be a
multi-statement block. Did you test this patch? Please send one that at
least passes casual observation. :-)
-- Keir
On 4/9/08 12:57, "Zhao, Yu" <yu.zhao@xxxxxxxxx> wrote:
> 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
|
|
|
|
|