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

[Xen-devel] [PATCH] Add check for mapping MSI pirqs


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

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