Previous the message was like:
SAVE:
xc: detail: 32 bits, 3 levels
xc: detail: max_pfn 0xfffff, p2m_frames 1024
xc: detail: max_mfn 0x130000
RESTORE:
xc: detail: max_mfn 0x130000
xc: detail: 32 bits, 3 levels
xc: detail: Expanded p2m from 0 to 0xfffff
It's not immediately clear that the last line in restore messages was
referring to max_pfn. Change the debug message a bit to make that
clearer.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
for ( i = (old_end_frame ? old_end_frame + 1 : 0); i <= end_frame; ++i )
ctx->x86_pv.p2m_pfns[i] = INVALID_MFN;
- DPRINTF("Expanded p2m from %#lx to %#lx", old_max, max_pfn);
+ DPRINTF("Changed max_pfn from %#lx to %#lx", old_max, max_pfn);
return 0;
}