[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Swapping of PT pages
On Tuesday, 19 February 2008 at 15:27, Mike Sun wrote: > Hi -- > > In examining the domain save/migration code (xc_domain_save.c), I came > across the step in which page table page frames in memory are > canonicalized so that mfns are translated to pfns before those pages > are written out to the saved image/destination host. This makes me > wonder if a PV host is allowed to swap out page table pages if it so > decided; if swapping of PT pages were allowed, then wouldn't certain > page table pages not be canonicalized (since they would be on disk, > not in any of the machine frames). This obviously be bad. > > Am I understanding things incorrectly? Have a look at take_machine_down in linux-.../drivers/xen/core/machine_reboot.c. Before the suspend call is issued, the guest uses mm_pin_all to prevent this scenario from happening. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |