WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [VTD] Move dom0 RMRR check to intel_iommu_remove_dev

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [VTD] Move dom0 RMRR check to intel_iommu_remove_device()
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [VTD] Move dom0 RMRR check to intel_iommu_remove_device(), Han, Weidong <=