|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Swapping of PT pages
Thanks Tim, this is very interesting. So is it safe for me to assume
that the current Linux PV implementation does not allow page table
pages to be swapped out (to ensure that it can be migrated correctly)?
Mike
> Xen is not involved in the guest's swapping/paging activities. If a
> guest were to page its pagetables out to disk and then be migrated, they
> would indeed be incorrect when they were reloaded. The canonicalisation
> happens only for pages that are currently in memory and marked with a
> page-table type.
> You're right. If a guest wanted to use a pagetable after it had been
> paged out, it would have to do the same MFN->PFN canonicalization on the
> on-disk form, and PFN->MFN when reloading.
>
> (That's PV guests, BTW. HVM guests that swapped their pagetables could
> potentially experience memory corruption if they used the emulated disk
> controller, but should work fine with PV drivers, or with NPT.)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|