xbzrle: update xbzrle doc
Add new parameter description, also: 1. Remove unsociable space. 2. Nit picking: s/two/2 in report Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com> Message-Id: <20200320143216.423374-1-maozhongyi@cmss.chinamobile.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
33ee3d96c7
commit
06b1c6f8b7
@ -92,6 +92,11 @@ Usage
|
|||||||
power of 2. The cache default value is 64MBytes. (on source only)
|
power of 2. The cache default value is 64MBytes. (on source only)
|
||||||
{qemu} migrate_set_cache_size 256m
|
{qemu} migrate_set_cache_size 256m
|
||||||
|
|
||||||
|
Commit 73af8dd8d7 "migration: Make xbzrle_cache_size a migration parameter"
|
||||||
|
(v2.11.0) deprecated migrate-set-cache-size, therefore, the new parameter
|
||||||
|
is recommended.
|
||||||
|
{qemu} migrate_set_parameter xbzrle-cache-size 256m
|
||||||
|
|
||||||
4. Start outgoing migration
|
4. Start outgoing migration
|
||||||
{qemu} migrate -d tcp:destination.host:4444
|
{qemu} migrate -d tcp:destination.host:4444
|
||||||
{qemu} info migrate
|
{qemu} info migrate
|
||||||
|
@ -1243,7 +1243,7 @@ static bool migrate_params_check(MigrationParameters *params, Error **errp)
|
|||||||
error_setg(errp, QERR_INVALID_PARAMETER_VALUE,
|
error_setg(errp, QERR_INVALID_PARAMETER_VALUE,
|
||||||
"xbzrle_cache_size",
|
"xbzrle_cache_size",
|
||||||
"is invalid, it should be bigger than target page size"
|
"is invalid, it should be bigger than target page size"
|
||||||
" and a power of two");
|
" and a power of 2");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user