Received: from eggs.gnu.org ([2001:4830:134:3::10]:60727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEkbv-000264-Hr for qemu-devel@nongnu.org; Mon, 13 Jul 2015 16:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEkbr-0004LW-Hj for qemu-devel@nongnu.org; Mon, 13 Jul 2015 16:45:59 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:33224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEkbr-0004L8-Cg for qemu-devel@nongnu.org; Mon, 13 Jul 2015 16:45:55 -0400 Received: by qkdl129 with SMTP id l129so20603271qkd.0 for ; Mon, 13 Jul 2015 13:45:54 -0700 (PDT) From: Paulo Alcantara Date: Mon, 13 Jul 2015 17:45:42 -0300 Message-Id: <1436820342-17580-1-git-send-email-pcacjr@zytor.com> Subject: [Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah , Paulo Alcantara , "Michael S. Tsirkin" By declaring another .subsections array for vmstate_tco_io_state made vmstate_memhp_state not registered anymore. There must be only one .subsections array for all subsections. Cc: Michael S. Tsirkin Cc: Amit Shah Reported-by: Amit Shah Signed-off-by: Paulo Alcantara --- hw/acpi/ich9.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 5fb7a87..f04f6dc 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm = { }, .subsections = (const VMStateDescription*[]) { &vmstate_memhp_state, - NULL - }, - .subsections = (const VMStateDescription*[]) { &vmstate_tco_io_state, NULL } -- 2.1.0