diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index dedddeb966..242f15ef97 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -10022,7 +10022,7 @@ static const vshCmdOptDef opts_migrate[] = { }, {.name = "rdma-pin-all", .type = VSH_OT_BOOL, - .help = N_("support memory pinning during RDMA live migration") + .help = N_("pin all memory before starting RDMA live migration") }, {.name = "abort-on-error", .type = VSH_OT_BOOL, diff --git a/tools/virsh.pod b/tools/virsh.pod index 74d531122b..894863848c 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1618,7 +1618,7 @@ to the I namespace is displayed instead of being modified. =item B [I<--live>] [I<--offline>] [I<--direct>] [I<--p2p> [I<--tunnelled>]] [I<--persistent>] [I<--undefinesource>] [I<--suspend>] [I<--copy-storage-all>] [I<--copy-storage-inc>] [I<--change-protection>] [I<--unsafe>] [I<--verbose>] -[I<--abort-on-error>] [I<--postcopy>] [I<--postcopy-after-precopy>] +[I<--rdma-pin-all>] [I<--abort-on-error>] [I<--postcopy>] [I<--postcopy-after-precopy>] I I [I] [I] [I] [I] [I<--timeout> B [I<--timeout-suspend> | I<--timeout-postcopy>]] [I<--xml> B] [I<--migrate-disks> B] [I<--disks-port> B] @@ -1662,6 +1662,10 @@ guest CPU throttling rate can be set with I. If the initial throttling rate is not enough to ensure convergence, the rate is periodically increased by I. +I<--rdma-pin-all> can be used with RDMA migration (i.e., when I +starts with rdma://) to tell the hypervisor to pin all domain's memory at once +before migration starts rather then letting it pin memory pages as needed. + B: Individual hypervisors usually do not support all possible types of migration. For example, QEMU does not support direct migration.