History | View | Annotate | Download (2 kB)
Fix two XBZRLE corruption issues
Push zero'd pages into the XBZRLE cache A page that was cached by XBZRLE, zero'd and then XBZRLE'd again was being compared against a stale cache value
Don't use 'qemu_put_buffer_async' to put pages from the XBZRLE cache...
Don't abort on memory allocation error
It is better to fail migration in case of failure toallocate new cache item
Signed-off-by: Orit Wasserman <owasserm@redhat.com>Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>Signed-off-by: Juan Quintela <quintela@redhat.com>
page_cache: dup memory on insert
The page cache frees all data on finish, on resize andif there is collision on insert. So it should be the cachesresponsibility to dup the data that is stored in the cache.
Signed-off-by: Peter Lieven <pl@kamp.de>Signed-off-by: Orit Wasserman <owasserm@redhat.com>...
migration: move include files to include/migration/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>