Received: from eggs.gnu.org ([2001:4830:134:3::10]:51535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX09R-0006wE-NA for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WX09L-0008Qf-Gc for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX09L-0008QV-8y for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:07 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s373N6Do002501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 6 Apr 2014 23:23:06 -0400 From: Juan Quintela Date: Mon, 7 Apr 2014 05:21:07 +0200 Message-Id: <1396840915-10384-50-git-send-email-quintela@redhat.com> In-Reply-To: <1396840915-10384-1-git-send-email-quintela@redhat.com> References: <1396840915-10384-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 49/97] vmstate: Port last user of VMSTATE_SINGLE to VMSTATE_SINGLE_TEST List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- hw/timer/twl92230.c | 2 +- include/migration/vmstate.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/timer/twl92230.c b/hw/timer/twl92230.c index 7ded4ba..3aacaeb 100644 --- a/hw/timer/twl92230.c +++ b/hw/timer/twl92230.c @@ -765,7 +765,7 @@ static const VMStateInfo vmstate_hack_int32_as_uint16 = { }; #define VMSTATE_UINT16_HACK(_f, _s) \ - VMSTATE_SINGLE(_f, _s, 0, vmstate_hack_int32_as_uint16, int32_t) + VMSTATE_SINGLE_TEST(_f, _s, NULL, 0, vmstate_hack_int32_as_uint16, int32_t) static const VMStateDescription vmstate_menelaus_tm = { diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index b98527c..c9e72bb 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -489,9 +489,6 @@ extern const VMStateInfo vmstate_info_bitmap; _v : version */ -#define VMSTATE_SINGLE(_field, _state, _version, _info, _type) \ - VMSTATE_SINGLE_TEST(_field, _state, NULL, _version, _info, _type) - #define VMSTATE_STRUCT(_field, _state, _version, _vmsd, _type) \ VMSTATE_STRUCT_TEST(_field, _state, NULL, _version, _vmsd, _type) -- 1.9.0