commit | 80f8dfde97e89739d7b9edcf0afceaed3f7f2aad | [log] [tgz] |
---|---|---|
author | Juan Quintela <quintela@redhat.com> | Fri Oct 06 22:30:45 2017 +0200 |
committer | Juan Quintela <quintela@redhat.com> | Mon Oct 23 18:03:25 2017 +0200 |
tree | cacb98b269ad5b6f2019b59c8ea75a7079b576ed | |
parent | 8acabf69ea36a5d8c09b4015b350afb3fc3bd12f [diff] |
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: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> -- Fix typo spotted by Peter Xu