]> git.proxmox.com Git - mirror_qemu.git/commit
Fix two XBZRLE corruption issues
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 13 Feb 2014 19:44:45 +0000 (19:44 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 25 Feb 2014 13:30:28 +0000 (14:30 +0100)
commit6d3cb1f970ee85361618f7ff02869180394e012d
treeba96f77f01344e8efc15eea039358fc4f3bbe719
parent24a370ef2351dc596a7e47508b952ddfba79ef94
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
    Since the cache might change before the data hits the wire

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c
include/migration/page_cache.h
page_cache.c