]> git.proxmox.com Git - mirror_qemu.git/commit - migration/page_cache.h
migration: Make cache_init() take an error parameter
authorJuan Quintela <quintela@redhat.com>
Fri, 6 Oct 2017 20:30:45 +0000 (22:30 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 23 Oct 2017 16:03:25 +0000 (18:03 +0200)
commit80f8dfde97e89739d7b9edcf0afceaed3f7f2aad
treecacb98b269ad5b6f2019b59c8ea75a7079b576ed
parent8acabf69ea36a5d8c09b4015b350afb3fc3bd12f
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
migration/page_cache.c
migration/page_cache.h
migration/ram.c