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

[Xen-devel] [PATCH] [VTD] Fix some dmar bugs


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Tue, 29 Jul 2008 17:12:39 +0800
  • Delivery-date: Tue, 29 Jul 2008 02:13:03 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjxWz9+Sfz1dN5nSh6c60kTGKjHbw==
  • Thread-topic: [Xen-devel] [PATCH] [VTD] Fix some dmar bugs

In acpi_parse_one_drhd(), remove return directly when only one
INCLUDE_ALL check fails, so that avoid memory leak. In addition, remove
"dmaru->scope.devices_cnt == 0 && !dmaru->include_all" check, due to
PCI-PCI bridges are not counted. 

BTW, this patch fixes bug #1307.


Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: dmar-fix.patch
Description: dmar-fix.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®.