]> git.proxmox.com Git - mirror_qemu.git/commit
migration: remove last_sent_block from save_page_header
authorJuan Quintela <quintela@redhat.com>
Tue, 17 Mar 2015 11:56:13 +0000 (12:56 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 26 Mar 2015 14:31:46 +0000 (15:31 +0100)
commit43edc0ed11a4d25f2fe67bb9d89a8a6a0a43b1e0
tree1ea17783c0b1769429367b66d57d8101edc4bb2e
parent80b262e1439a22708e1c535b75363d4b90c3b41d
migration:  remove last_sent_block from save_page_header

Compression code (still not on tree) want to call this funtion from
outside the migration thread, so we can't write to last_sent_block.

Instead of reverting full patch:

[PULL 07/11] save_block_hdr: we can recalculate

Just revert the parts that touch last_sent_block.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
arch_init.c