qemu-e2k/migration
Wei Wang 9227140217 migration: fix xbzrle encoding rate calculation
It's reported an error of implicit conversion from "unsigned long" to
"double" when compiling with Clang 10. Simply make the encoding rate 0
when the encoded_size is 0.

Fixes: e460a4b1a4
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200617201309.1640952-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-06-18 10:26:02 +01:00
..
block-dirty-bitmap.c migration: forbid bitmap migration by generated node-name 2020-05-28 13:15:22 -05:00
block.c migration/block: rename BLOCK_SIZE macro 2020-02-28 09:25:49 +01:00
block.h
channel.c
channel.h
colo-failover.c
colo.c migration/colo.c: Move colo_notify_compares_event to the right place 2020-06-01 18:44:27 +01:00
exec.c
exec.h
fd.c
fd.h
global_state.c
Makefile.objs multifd: Add zstd compression multifd support 2020-02-28 09:25:49 +01:00
migration.c qdev: qdev_create(), qdev_try_create() are now unused, drop 2020-06-15 22:05:28 +02:00
migration.h migration/colo.c: Use event instead of semaphore 2020-06-01 18:44:27 +01:00
multifd-zlib.c multifd: Add zlib compression multifd support 2020-02-28 09:24:43 +01:00
multifd-zstd.c multifd: Add zstd compression multifd support 2020-02-28 09:25:49 +01:00
multifd.c migration/multifd: Do error_free after migrate_set_error to avoid memleaks 2020-05-07 17:40:24 +01:00
multifd.h multifd: Add zstd compression multifd support 2020-02-28 09:25:49 +01:00
page_cache.c
page_cache.h
postcopy-ram.c
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c
qemu-file.h
qjson.c
qjson.h
ram.c migration: fix xbzrle encoding rate calculation 2020-06-18 10:26:02 +01:00
ram.h migration/colo.c: Flush ram cache only after receiving device state 2020-06-01 18:44:27 +01:00
rdma.c migration/rdma: cleanup rdma context before g_free to avoid memleaks 2020-06-01 18:44:27 +01:00
rdma.h
savevm.c accel: Move Xen accelerator code under accel/xen/ 2020-06-10 12:09:56 -04:00
savevm.h
socket.c
socket.h
tls.c
tls.h
trace-events
vmstate-types.c
vmstate.c migration/vmstate: Remove redundant statement in vmstate_save_state_v() 2020-02-28 09:25:49 +01:00
xbzrle.c
xbzrle.h