From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> This is a set of 4 small fixes and improvements I've been collecting during the 2.5 freeze; I've added in a couple of Zhanghailiang's patches that are easier to merge before rather than after. (Of which one I've added a small fix of my own, see the message)
Jiri was after events from the incoming postcopy side to make it easy for libvirt; I'd forgotten to add them - Zhanghailiang's patches change the way the events get sent on the incoming side. Jiri also wanted an event on the outgoing side at each pass, which makes it easy for libvirt to trigger the transition to postcopy. The other two patches avoid a couple of buffer copies on the incoming side; although in both xbzrle and multithread compression it's rare that the destination is the slow path (but one patch is trivial and the other saves code). Dave Dr. David Alan Gilbert (4): Postcopy: Send events/change state on incoming side Migration: Emit event at start of pass Use qemu_get_buffer_in_place for xbzrle data multithread decompression: Avoid one copy zhanghailiang (2): migration: Export migrate_set_state() migration: Add state records for migration incoming include/migration/migration.h | 3 +++ migration/migration.c | 52 ++++++++++++++++++++++++++----------------- migration/ram.c | 21 ++++++++--------- migration/savevm.c | 22 ++++++++++++------ qapi/event.json | 11 +++++++++ 5 files changed, 71 insertions(+), 38 deletions(-) -- 2.5.0