File 20091-acs-filter.patch of Package xen
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1250753141 -3600
# Node ID fb2dc2506aced51ca847fdb26a2e2432360d4571
# Parent 3509276d8ad697d3d32c04316bf2ebbc7ccf7ffc
xend: Fix error caused by VT-d ACS patch.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Index: xen-3.3.1-testing/tools/python/xen/util/pci.py
===================================================================
--- xen-3.3.1-testing.orig/tools/python/xen/util/pci.py
+++ xen-3.3.1-testing/tools/python/xen/util/pci.py
@@ -708,7 +708,7 @@ class PciDevice:
if pos != 0:
ctrl = self.pci_conf_read16(pos + PCI_EXT_ACS_CTRL)
if (ctrl & PCI_EXT_CAP_ACS_ENABLED) == \
- PCI_EXT_CAP_ACS_ENABLED
+ (PCI_EXT_CAP_ACS_ENABLED):
self.acs_enabled = True
else:
if pos != 0: