|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v20210601 02/38] xl: fix description of migrate --debug
xl migrate --debug used to track every pfn in every batch of pages.
But these times are gone. Adjust the help text to tell what --debug
is supposed to do today.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
docs/man/xl.1.pod.in | 4 +++-
tools/libs/guest/xg_sr_save.c | 2 +-
tools/xl/xl_cmdtable.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/man/xl.1.pod.in b/docs/man/xl.1.pod.in
index e2176bd696..ed3f4dee1e 100644
--- a/docs/man/xl.1.pod.in
+++ b/docs/man/xl.1.pod.in
@@ -481,7 +481,9 @@ domain.
=item B<--debug>
-Display huge (!) amount of debug information during the migration process.
+Verify transferred domU page data. All memory will be transferred one more
+time to the destination host while the domU is paused, and compared with
+the result of the inital transfer while the domU was still running.
=item B<-p>
diff --git a/tools/libs/guest/xg_sr_save.c b/tools/libs/guest/xg_sr_save.c
index 2ba7c3200c..51542a98c8 100644
--- a/tools/libs/guest/xg_sr_save.c
+++ b/tools/libs/guest/xg_sr_save.c
@@ -752,7 +752,7 @@ static int send_domain_memory_live(struct xc_sr_context
*ctx)
if ( rc )
goto out;
- if ( ctx->save.debug && ctx->stream_type != XC_STREAM_PLAIN )
+ if ( ctx->save.debug )
{
rc = verify_frames(ctx);
if ( rc )
diff --git a/tools/xl/xl_cmdtable.c b/tools/xl/xl_cmdtable.c
index 661323d488..6fd18856c0 100644
--- a/tools/xl/xl_cmdtable.c
+++ b/tools/xl/xl_cmdtable.c
@@ -172,7 +172,7 @@ const struct cmd_spec cmd_table[] = {
" migrate-receive [-d -e]\n"
"-e Do not wait in the background (on <host>) for the
death\n"
" of the domain.\n"
- "--debug Print huge (!) amount of debug during the migration
process.\n"
+ "--debug Verify transferred domU page data.\n"
"-p Do not unpause domain after migrating it.\n"
"-D Preserve the domain id"
},
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |