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] [PATCH] Add check for mapping MSI pirqs

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Add check for mapping MSI pirqs
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Wed, 2 Jul 2008 16:15:11 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Jul 2008 01:16:02 -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: AcjcG79PP/QotoKRTQSWz2chjv31jw==
Thread-topic: [PATCH] Add check for mapping MSI pirqs
Hi, Keir,

This patch adds a missing check for pirq values after mapping MSI pirqs.

Normally, if mapping pirq succeeds, xen will return pirq value mapped.
However, if "msi_irq_enable = 1" is not specified, this hypercall still
succeeds, but pirq value is not valid.

Best Regards
Haitao Shan

Attachment: msi_qemu_clean_up.patch
Description: msi_qemu_clean_up.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Add check for mapping MSI pirqs, Shan, Haitao <=