]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: We set the rate_limit by a second
authorJuan Quintela <quintela@redhat.com>
Mon, 8 May 2023 13:08:51 +0000 (15:08 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 May 2023 11:44:07 +0000 (13:44 +0200)
commit9d3ebbe21749937f9c9270d0841016e57de3fb92
tree13f586512eeadae46c8723ad8184701ae3ea26e2
parent52d01d4a5d6963e24ff59af0c39b47fd5d229fb7
migration: We set the rate_limit by a second

That the implementation does the check every 100 milliseconds is an
implementation detail that shouldn't be seen on the interfaz.
Notice that all callers of qemu_file_set_rate_limit() used the
division or pass 0, so this change is a NOP.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20230508130909.65420-4-quintela@redhat.com>
migration/migration.c
migration/options.c
migration/qemu-file.c