From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9AYf-0000zv-0A for qemu-devel@nongnu.org; Wed, 16 Dec 2015 06:47:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9AYa-0006Lp-11 for qemu-devel@nongnu.org; Wed, 16 Dec 2015 06:47:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9AYZ-0006LS-S8 for qemu-devel@nongnu.org; Wed, 16 Dec 2015 06:47:43 -0500 From: "Dr. David Alan Gilbert (git)" Date: Wed, 16 Dec 2015 11:47:32 +0000 Message-Id: <1450266458-3178-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/6] Migration: Small fixes and improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com Cc: jdenemar@redhat.com, liang.z.li@intel.com, zhang.zhanghailiang@huawei.com From: "Dr. David Alan Gilbert" 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 v2 1/6 update text based on Juan's comments 4/6 Document 'pass' component of event, update qmp-events.txt 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 docs/qmp-events.txt | 14 ++++++++++++ include/migration/migration.h | 3 +++ migration/migration.c | 52 ++++++++++++++++++++++++++----------------- migration/ram.c | 21 ++++++++--------- migration/savevm.c | 22 ++++++++++++------ qapi/event.json | 13 +++++++++++ 6 files changed, 87 insertions(+), 38 deletions(-) -- 2.5.0