From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH9vc-0001Fu-3t for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZH9va-000562-NW for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:12:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH9va-00055y-IS for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:12:14 -0400 Date: Mon, 20 Jul 2015 15:12:11 +0300 From: "Michael S. Tsirkin" Message-ID: <1437394279-24416-2-git-send-email-mst@redhat.com> References: <1437394279-24416-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437394279-24416-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 1/6] 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 , Peter Maydell , Paulo Alcantara , Paulo Alcantara , Igor Mammedov From: Paulo Alcantara 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Amit Shah --- 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 } -- MST