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

[Xen-changelog] [xen master] libxc: clearer migration v2 debug message



commit 4776193845165884483875f7694a89e258f7340e
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Sun Sep 6 21:05:35 2015 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Mon Sep 7 11:53:43 2015 +0100

    libxc: clearer migration v2 debug message
    
    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@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 tools/libxc/xc_sr_restore_x86_pv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxc/xc_sr_restore_x86_pv.c 
b/tools/libxc/xc_sr_restore_x86_pv.c
index ef26c64..c65a2f1 100644
--- a/tools/libxc/xc_sr_restore_x86_pv.c
+++ b/tools/libxc/xc_sr_restore_x86_pv.c
@@ -66,7 +66,7 @@ static int expand_p2m(struct xc_sr_context *ctx, unsigned 
long max_pfn)
     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;
 }
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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