|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	tools
 
On 11/16/2010 02:11 AM, Keir Fraser wrote:
> On 16/11/2010 10:02, "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx> wrote:
>
>>> The right answer is probably to refuse save/restore/migrate when devices are
>>> passed through.
>> Absolutely. 
>>
>> However we are talking about setting up a 1-1 mapping in the P2M region
>> corresponding to the PCI hole at guest boot and preserving that until
>> such a time as a device is plugged in, which may be after a migration.
>>
>> I don't think it matters that no device is passed through at the time of
>> the migration, in this configuration we still need arrange for the
>> relevant P2M entries to be correct after the migration (or at least
>> before the device gets plugged in, perhaps we can leave holes and only
>> establish the 1-1 p2m on demand in pcifront?).
> Leave the hole empty and populate on demand when devices are passed through
> would seem sensible.
Actually I was originally thinking that the hole would all be
INVALID_MFN but then pfn_to_mfn() would translate that to being an
identity translation.  But that's pretty hacky, and only works if you
actually want identity.  On-demand population of regions is much cleaner.
    J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), (continued)
- Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Konrad Rzeszutek Wilk
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Keir Fraser
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Jeremy Fitzhardinge
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Keir Fraser
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Konrad Rzeszutek Wilk
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Jeremy Fitzhardinge
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Ian Campbell
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Keir Fraser
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Ian Campbell
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Keir Fraser
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm),
Jeremy Fitzhardinge <=
 
    
- Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Konrad Rzeszutek Wilk
 - Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Ian Campbell
 
- Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Keir Fraser
 
- Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in	toolstack (xl + xm), Jeremy Fitzhardinge
 
 
[Xen-devel] Re: [RFC Patch] Support for making an E820 PCI hole in toolstack (xl + xm), Gianni Tedesco
 |  
  
 | 
    | 
  
  
    |   | 
    |