From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCsGL-0007HM-8F for qemu-devel@nongnu.org; Mon, 22 May 2017 14:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCsGI-0003Pj-2N for qemu-devel@nongnu.org; Mon, 22 May 2017 14:41:01 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCsGH-0003OY-JN for qemu-devel@nongnu.org; Mon, 22 May 2017 14:40:57 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v4MIXnII146622 for ; Mon, 22 May 2017 14:40:56 -0400 Received: from e24smtp04.br.ibm.com (e24smtp04.br.ibm.com [32.104.18.25]) by mx0a-001b2d01.pphosted.com with ESMTP id 2am4b3amhb-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 22 May 2017 14:40:55 -0400 Received: from localhost by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 22 May 2017 15:40:51 -0300 From: Daniel Henrique Barboza Date: Mon, 22 May 2017 15:40:38 -0300 Message-Id: <20170522184039.23877-1-danielhb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v13] migration: spapr: migrate pending_events of spapr state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, david@gibson.dropbear.id.au, mdroth@linux.vnet.ibm.com v13: - rebased with dgibson/ppc-for-2.10 - patch 1 removed from the series (already applied at ppc-for-2.10) - data_size is now being calculated by using the extended_length field inside rtas_event_log_queue v12: - patch 2: added a switch statement to get the proper data_size based on the log_type v11: - patch 1 (new): cleanup of spapr_events.c: * removed the 'exception' boolean from the sPAPREventLogEntry * simplified the 'event_scan' function - patch 2: * data_size is now calculated inside rtas_event_log_queue() * using VBUFFER instead of VARRAY to avoid casts * log_type changed to int32_t v10: detached from DRC patch set v9: no changes v8: no changes v7: no changes v6: - Rebased with QEMU master after 6+ months. class and minor improvements. - Added clarifications from the previous v5 discussions in the commit messages. v5: - Rebased on David's ppc-for-2.8. v4: - Rebased on David's ppc-for-2.7. v3: - Simplify overall design followng discussion with Paolo. No longer need metadata to migrate QTAILQ. - Extend VMStateInfo instead of adding similar fields to VMStateField. v2: - Put the newly added migrating fields in subsections so that backward migration is not broken. (link: https://lists.nongnu.org/archive/html/qemu-devel/2016-05/msg04188.html) v1: - Inital version. (link: https://lists.nongnu.org/archive/html/qemu-devel/2016-04/msg02601.html) This patch was detached from the patchset: "[PATCH v9 0/6] migration/ppc: migrating DRC, ccs_list and pending_events" Because it is independent and has use outside of the scope of the pseries DRC migration patchset. Jianjun Duan (1): migration: spapr: migrate pending_events of spapr state hw/ppc/spapr.c | 32 ++++++++++++++++++++++++++++++++ hw/ppc/spapr_events.c | 19 +++++++++++++++++++ include/hw/ppc/spapr.h | 3 ++- 3 files changed, 53 insertions(+), 1 deletion(-) -- 2.9.4