Received: from eggs.gnu.org ([2001:4830:134:3::10]:41828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXx3A-0005gW-9C for qemu-devel@nongnu.org; Mon, 22 Feb 2016 15:25:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXx33-0000Xz-93 for qemu-devel@nongnu.org; Mon, 22 Feb 2016 15:25:42 -0500 From: Peter Maydell Date: Mon, 22 Feb 2016 20:25:15 +0000 Message-Id: <1456172720-12650-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [RFC 0/5] GICv3 state structs and migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Shlomo Pongratz , qemu-arm@nongnu.org, Pavel Fedin This is a very rough-and-ready RFC that takes Pavel's patch series from last year: https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg05284.html and applies the various changes I recommended in code review. I haven't tested this beyond compile-testing, but I think that the general shape of it, and in particular the set of information in the state structs, is correct. (In particular I have removed several state struct fields that should definitely not be present.) There are a few fixme-type comments scattered in the code. Shlomo, I think this should be a sensible thing to base your GICv3 emulation patches on. thanks -- PMM Pavel Fedin (4): hw/intc/arm_gicv3_common: Add state information kernel: Add definitions for GICv3 attributes hw/intc/arm_gicv3_kvm: Implement get/put functions hw/intc/arm_gicv3_common: Add vmstate descriptors Peter Maydell (1): migration: Define VMSTATE_UINT64_2DARRAY hw/intc/arm_gicv3_common.c | 161 +++++++++++++- hw/intc/arm_gicv3_kvm.c | 437 ++++++++++++++++++++++++++++++++++++- hw/intc/gicv3_internal.h | 147 +++++++++++++ include/hw/intc/arm_gicv3_common.h | 106 ++++++++- include/migration/vmstate.h | 15 ++ linux-headers/asm-arm64/kvm.h | 17 +- 6 files changed, 869 insertions(+), 14 deletions(-) create mode 100644 hw/intc/gicv3_internal.h -- 1.9.1