Re: [Xen-devel] Question about PV normalise_pagetable

2017-12-23 Thread Andrew Cooper
On 23/12/17 13:35, Bruno Alvisio wrote: > Hi all, > > I was understanding the code in tools/libxc/xc_sr_save_x86_pv.c and > found this comment to the normalise_pagetable: > > /* > * Normalise a pagetable for the migration stream. Performs pfn->mfn > * conversions on the ptes. > */ > static int no

[Xen-devel] Question about PV normalise_pagetable

2017-12-23 Thread Bruno Alvisio
Hi all, I was understanding the code in tools/libxc/xc_sr_save_x86_pv.c and found this comment to the normalise_pagetable: /* * Normalise a pagetable for the migration stream. Performs pfn->mfn * conversions on the ptes. */ static int normalise_pagetable(struct xc_sr_context *ctx, const uint6