Skip to content
Snippets Groups Projects
Commit 80f8dfde authored by Juan Quintela's avatar Juan Quintela
Browse files

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: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarPeter Xu <peterx@redhat.com>

--

Fix typo spotted by Peter Xu
parent 8acabf69
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment