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

Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices

To: "Han, Weidong" <weidong.han@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 23 Jul 2008 10:28:05 +0100
Cc: joshua.levasseur@xxxxxxxxxxxxx, "Li, Xin B" <xin.b.li@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, espen.skoglund@xxxxxxxxxxxxx
Delivery-date: Wed, 23 Jul 2008 02:28:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0122C7C995D32147B66BF4F440D301630167FEBA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcjsoyzrD56bd9JvSOmaq0goPi5bgQAAMJ1cAABXEuAAAEdUkg==
Thread-topic: [Xen-devel] Dom0 hypercall for adding and removing PCI devices
User-agent: Microsoft-Entourage/11.4.0.080122


On 23/7/08 10:26, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

>> So this would be one extra VT-d pagetable, for the whole system,
>> which would be the fallback location for RMRR mappings for devices
>> which are currently not assigned to any domain? Thus allowing
>> firmware to successfully initiate DMA operations on those devices?
>> Sounds sensible.
>> 
> 
> Is it possible that idle_domain owns the RMRR VT-d page table?

If that's a convenient place to stash it then why not? Either way, seems
you're going to have it special-cased in the code as fallback owner for
unassigned devices. It's possible that having it stashed in the idle domain
will simply make the code more confusing. I'm not sure though.

 -- Keir




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel