The second is msi.c. I don't understand it very well, and need to
figure what to do for PVH. Would appreciate suggestions if anyone knows.
Thanks for your time,
Mukesh
diff -r ba5e9253d04d xen/arch/x86/msi.c
--- a/xen/arch/x86/msi.c Thu Nov 01 16:53:31 2012 -0700
+++ b/xen/arch/x86/msi.c Fri Dec 07 17:45:07 2012 -0800
@@ -766,6 +766,9 @@ static int msix_capability_init(struct p
WARN_ON(rangeset_overlaps_range(mmio_ro_ranges, dev->msix_pba.first,
dev->msix_pba.last));
+/* PVH: fixme: not a clue what to do here :) */
+if (is_pvh_domain(dev->domain) && dev->domain->domain_id != 0)
+{
if ( rangeset_add_range(mmio_ro_ranges, dev->msix_table.first,
dev->msix_table.last) )
WARN();
@@ -793,6 +796,7 @@ static int msix_capability_init(struct p
/* XXX How to deal with existing mappings? */
}
}
+}
}
WARN_ON(dev->msix_nr_entries != nr_entries);
WARN_ON(dev->msix_table.first != (table_paddr >> PAGE_SHIFT));
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
figure what to do for PVH. Would appreciate suggestions if anyone knows.
Thanks for your time,
Mukesh
diff -r ba5e9253d04d xen/arch/x86/msi.c
--- a/xen/arch/x86/msi.c Thu Nov 01 16:53:31 2012 -0700
+++ b/xen/arch/x86/msi.c Fri Dec 07 17:45:07 2012 -0800
@@ -766,6 +766,9 @@ static int msix_capability_init(struct p
WARN_ON(rangeset_overlaps_range(mmio_ro_ranges, dev->msix_pba.first,
dev->msix_pba.last));
+/* PVH: fixme: not a clue what to do here :) */
+if (is_pvh_domain(dev->domain) && dev->domain->domain_id != 0)
+{
if ( rangeset_add_range(mmio_ro_ranges, dev->msix_table.first,
dev->msix_table.last) )
WARN();
@@ -793,6 +796,7 @@ static int msix_capability_init(struct p
/* XXX How to deal with existing mappings? */
}
}
+}
}
WARN_ON(dev->msix_nr_entries != nr_entries);
WARN_ON(dev->msix_table.first != (table_paddr >> PAGE_SHIFT));
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel