[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Question about PV normalise_pagetable



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 uint64_t *src,
uint64_t *dst, unsigned long type)

Looks like the function (as it should) is doing the reverse conversion mfn->pfn.
Wanted to confirm this typo or if I am missing something?
Thanks,
Bruno
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.