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

Re: [Xen-devel] several Qs about domain live migration



On 18/11/08 08:22, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:

>> Try changing gmfn_to_mfn(FOREIGNDOM, l1e_get_pfn(nl1e)) in mod_l1_entry()
>> to:
>>   mfn = gfn_to_mfn(FOREIGNDOM, l1e_get_pfn(nl1e), &p2mt);
>>   if ( !p2m_is_ram(p2mt) || (mfn == INVALID_MFN) )
>>     ....
>> 
>> This will prevent foreign mappings of 'mmio' pages. Pretty sensible and will
>> fix this problem.
>>   
> 
> It's great!
> Does p2m_is_ram return 1 for video memory?

Yes, since it is just ordinary guest memory. That was the point of Samuel's
patch.

 -- Keir

> I'll make a small patch and test it.



_______________________________________________
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®.