From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z52V0-0005Hy-0i for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z52Uu-0004OV-QM for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z52Uu-0004OK-M2 for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:36 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 00D60B7CF0 for ; Wed, 17 Jun 2015 01:50:35 +0000 (UTC) From: Juan Quintela Date: Wed, 17 Jun 2015 03:50:22 +0200 Message-Id: <1434505833-11234-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 00/11] Migraiton events + optional sections List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com Hi As the beggining of both series have been accepted, I merged both here. Changes: - answered all comments on list and applied suggested changes - Use migrate_set_state() consistently - we were misusing atomic_cmpxchg(), it didn't matter until now because we were missing only traces, but it showed with events missing. - Reorganized how the migration events are generated, now only on migrate_set_state. Please review. Juan Quintela (11): runstate: Add runstate store runstate: migration allows more transitions now migration: create new section to store global state global_state: Make section optional vmstate: Create optional sections migration: Add configuration section migration: Use cmpxchg correctly migration: Use always helper to set state migration: No need to call trace_migrate_set_state() migration: create migration event migration: Add migration events on target side docs/qmp/qmp-events.txt | 14 +++++ hw/i386/pc_piix.c | 2 + hw/i386/pc_q35.c | 2 + include/migration/migration.h | 4 ++ include/migration/vmstate.h | 2 + include/sysemu/sysemu.h | 1 + migration/migration.c | 138 +++++++++++++++++++++++++++++++++++++++--- migration/savevm.c | 69 +++++++++++++++++++++ migration/vmstate.c | 11 ++++ qapi/event.json | 14 +++++ trace-events | 1 + vl.c | 15 +++++ 12 files changed, 263 insertions(+), 10 deletions(-) -- 2.4.3