migration: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
3ee44ec727
commit
d8b71d96b3
@ -48,7 +48,7 @@ uint64_t migration_rate_get(void)
|
|||||||
void migration_rate_set(uint64_t limit)
|
void migration_rate_set(uint64_t limit)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* 'limit' is per second. But we check it each BUFER_DELAY miliseconds.
|
* 'limit' is per second. But we check it each BUFFER_DELAY milliseconds.
|
||||||
*/
|
*/
|
||||||
stat64_set(&mig_stats.rate_limit_max, limit / XFER_LIMIT_RATIO);
|
stat64_set(&mig_stats.rate_limit_max, limit / XFER_LIMIT_RATIO);
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ struct MigrationIncomingState {
|
|||||||
/*
|
/*
|
||||||
* Always set by the main vm load thread only, but can be read by the
|
* Always set by the main vm load thread only, but can be read by the
|
||||||
* postcopy preempt thread. "volatile" makes sure all reads will be
|
* postcopy preempt thread. "volatile" makes sure all reads will be
|
||||||
* uptodate across cores.
|
* up-to-date across cores.
|
||||||
*/
|
*/
|
||||||
volatile PreemptThreadStatus preempt_thread_status;
|
volatile PreemptThreadStatus preempt_thread_status;
|
||||||
/*
|
/*
|
||||||
@ -409,7 +409,7 @@ struct MigrationState {
|
|||||||
* channel itself.
|
* channel itself.
|
||||||
*
|
*
|
||||||
* - postcopy preempt channel will be created at the switching phase
|
* - postcopy preempt channel will be created at the switching phase
|
||||||
* from precopy -> postcopy (to avoid race condtion of misordered
|
* from precopy -> postcopy (to avoid race condition of misordered
|
||||||
* creation of channels).
|
* creation of channels).
|
||||||
*
|
*
|
||||||
* NOTE: See message-id <ZBoShWArKDPpX/D7@work-vm> on qemu-devel
|
* NOTE: See message-id <ZBoShWArKDPpX/D7@work-vm> on qemu-devel
|
||||||
|
@ -57,7 +57,7 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp)
|
|||||||
err_msg = "deflate init failed";
|
err_msg = "deflate init failed";
|
||||||
goto err_free_z;
|
goto err_free_z;
|
||||||
}
|
}
|
||||||
/* This is the maxium size of the compressed buffer */
|
/* This is the maximum size of the compressed buffer */
|
||||||
z->zbuff_len = compressBound(MULTIFD_PACKET_SIZE);
|
z->zbuff_len = compressBound(MULTIFD_PACKET_SIZE);
|
||||||
z->zbuff = g_try_malloc(z->zbuff_len);
|
z->zbuff = g_try_malloc(z->zbuff_len);
|
||||||
if (!z->zbuff) {
|
if (!z->zbuff) {
|
||||||
|
@ -68,7 +68,7 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp)
|
|||||||
p->id, ZSTD_getErrorName(res));
|
p->id, ZSTD_getErrorName(res));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* This is the maxium size of the compressed buffer */
|
/* This is the maximum size of the compressed buffer */
|
||||||
z->zbuff_len = ZSTD_compressBound(MULTIFD_PACKET_SIZE);
|
z->zbuff_len = ZSTD_compressBound(MULTIFD_PACKET_SIZE);
|
||||||
z->zbuff = g_try_malloc(z->zbuff_len);
|
z->zbuff = g_try_malloc(z->zbuff_len);
|
||||||
if (!z->zbuff) {
|
if (!z->zbuff) {
|
||||||
|
@ -878,7 +878,7 @@ static void multifd_new_send_channel_cleanup(MultiFDSendParams *p,
|
|||||||
qemu_sem_post(&p->sem_sync);
|
qemu_sem_post(&p->sem_sync);
|
||||||
/*
|
/*
|
||||||
* Although multifd_send_thread is not created, but main migration
|
* Although multifd_send_thread is not created, but main migration
|
||||||
* thread neet to judge whether it is running, so we need to mark
|
* thread need to judge whether it is running, so we need to mark
|
||||||
* its status.
|
* its status.
|
||||||
*/
|
*/
|
||||||
p->quit = true;
|
p->quit = true;
|
||||||
|
@ -117,7 +117,7 @@ static struct mig_cmd_args {
|
|||||||
* The format of arguments is depending on postcopy mode:
|
* The format of arguments is depending on postcopy mode:
|
||||||
* - postcopy RAM only
|
* - postcopy RAM only
|
||||||
* uint64_t host page size
|
* uint64_t host page size
|
||||||
* uint64_t taget page size
|
* uint64_t target page size
|
||||||
*
|
*
|
||||||
* - postcopy RAM and postcopy dirty bitmaps
|
* - postcopy RAM and postcopy dirty bitmaps
|
||||||
* format is the same as for postcopy RAM only
|
* format is the same as for postcopy RAM only
|
||||||
|
@ -184,7 +184,7 @@ source_return_path_thread_shut(uint32_t val) "0x%x"
|
|||||||
source_return_path_thread_resume_ack(uint32_t v) "%"PRIu32
|
source_return_path_thread_resume_ack(uint32_t v) "%"PRIu32
|
||||||
source_return_path_thread_switchover_acked(void) ""
|
source_return_path_thread_switchover_acked(void) ""
|
||||||
migration_thread_low_pending(uint64_t pending) "%" PRIu64
|
migration_thread_low_pending(uint64_t pending) "%" PRIu64
|
||||||
migrate_transferred(uint64_t tranferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64
|
migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64
|
||||||
process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
|
process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
|
||||||
process_incoming_migration_co_postcopy_end_main(void) ""
|
process_incoming_migration_co_postcopy_end_main(void) ""
|
||||||
postcopy_preempt_enabled(bool value) "%d"
|
postcopy_preempt_enabled(bool value) "%d"
|
||||||
|
Loading…
Reference in New Issue
Block a user