|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] bogus gfn - mfn - gfn - mfn checks in guest_physmap_add_
On Thu, Nov 25, Tim Deegan wrote:
> Good catch. It might be better to hook page_set_owner(), which ought to
> imply that the old m2p info is stale. I had a quick look at all its
> callers and I _think_ it would be OK, but I haven't tested that at
> all. :)
I tried page_set_owner().
Blindly adding set_gpfn_from_mfn there leads to compile errors, thanks
to all the redefinitions of mfn_t related macros.
Also, the page_set_owner() in alloc_heap_pages would cause Xen to crash
early.
It appears that maintaing machine_to_phys_mapping[] in
free_domheap_pages() is enough to avoid the ASSERTS.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|