migration: Make cache_init() take an error parameter
Once there, take a total size instead of the size of the pages. We move the check that the new_size is bigger than one page from xbzrle_cache_resize(). Signed-off-by: NJuan Quintela <quintela@redhat.com> Reviewed-by: NPeter Xu <peterx@redhat.com> -- Fix typo spotted by Peter Xu
Showing
想要评论请 注册 或 登录