Two cleanup for ram_load: * return -EINVAL for version_id mismatch * extract ram_load_precopy for better readability
v2: fix a comment Wei Yang (2): migration: return -EINVAL directly when version_id mismatch migration: extract ram_load_precopy migration/ram.c | 73 +++++++++++++++++++++++++++++++------------------ 1 file changed, 46 insertions(+), 27 deletions(-) -- 2.17.1