This small patch series is extracted from localhost migration series that Paolo reviewed positively, send it separately as his request.
It fixs wrong initialization in RDMA hook ram_control_load_hook() and gets rid of the negative check for qemu_file_rate_limit() with bytes_transferred and return value adjusted correspondingly in ram_save_iterate. Lei Li (3): savevm: add comments for qemu_file_get_error() savevm: fix wrong initialization by ram_control_load_hook arch_init: right return for ram_save_iterate arch_init.c | 15 ++++++++++----- savevm.c | 9 ++++++++- 2 files changed, 18 insertions(+), 6 deletions(-)