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

[Xen-devel] [PATCH] [VTD] Move dom0 RMRR check to intel_iommu_remove_device()


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Wed, 30 Jul 2008 14:09:51 +0800
  • Delivery-date: Tue, 29 Jul 2008 23:10:16 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjyCt7xkg9Gj3k2RNS8reUitegyeA==
  • Thread-topic: [Xen-devel] [PATCH] [VTD] Move dom0 RMRR check to intel_iommu_remove_device()

If put dom0 RMRR check in domain_context_unmap_one(), the devices with
RMRR cannot be assigned to other domain, becuase
domain_context_unmap_one() won't unmap context for them, and dom0 always
owns them. This patch moves the check to intel_iommu_remove_device()
which is only called by dom0 hypercall.  This not olny guarantees
keeping RMRR mappings for dom0 during its booting, but also won't impact
device assignment.

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

Attachment: dom0-rmrr.patch
Description: dom0-rmrr.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®.