[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] remove entry in shadow table
HiI want to remove entry of a given page in the shadow page table so that when the next time the guest access to the page there is page fault. Here is what I try to do:1. I have a timer which wake up every 30 seconds and remove entry in the shadow by calling sh_remove_all_mappings(d->vcpu[0], _mfn(page_to_mfn(page)))here "d" is the domain and "page" is the page that I want to remove from the shadow page table. 2. In the function "sh_page_fault()" I get the gmfn and compare it with the mfn of the page that I removed earlier from the shadow page table. Is this method correct?I also get this error: "sh error: sh_remove_all_mappings(): can't find all mappings of mfn" Thank you _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |