WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] fix PV MSI-X
From: "Zhao, Yu" <yu.zhao@xxxxxxxxx>
Date: Thu, 4 Sep 2008 20:00:43 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 04 Sep 2008 05:01:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckOhWnJYvgtpfkCTiGEGe/mxpsNlwAAFHBg
Thread-topic: [PATCH] fix PV MSI-X
Sorry, missed following again:

Signed-off-by: Yu Zhao <yu.zhao@xxxxxxxxx>

>-----Original Message-----
>From: Zhao, Yu
>Sent: Thursday, September 04, 2008 7:58 PM
>To: Keir.Fraser@xxxxxxxxxxxx
>Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] RE: [PATCH] fix PV MSI-X, Zhao, Yu <=