From patchwork Wed Dec 2 11:36:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 40000 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2230BB7BE3 for ; Wed, 2 Dec 2009 23:22:09 +1100 (EST) Received: from localhost ([127.0.0.1]:33389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFoDd-0006K1-KL for incoming@patchwork.ozlabs.org; Wed, 02 Dec 2009 07:22:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFnWg-0005tm-Qu for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFnWb-0005qn-Al for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:41 -0500 Received: from [199.232.76.173] (port=50861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFnWa-0005qk-PO for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37053) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFnWa-0002Bv-2S for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:36 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB2BbZRg012984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Dec 2009 06:37:35 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB2BbPrc004274; Wed, 2 Dec 2009 06:37:34 -0500 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 2 Dec 2009 12:36:41 +0100 Message-Id: <97085c71a3e3b144becf719238b83e036be727e5.1259753146.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 07/12] vmstate: Introduce UINT16_TEST support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/hw.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/hw.h b/hw/hw.h index 0a5acd4..5994d86 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -633,6 +633,9 @@ extern const VMStateDescription vmstate_i2c_slave; #define VMSTATE_INT32_LE(_f, _s) \ VMSTATE_SINGLE(_f, _s, 0, vmstate_info_int32_le, int32_t) +#define VMSTATE_UINT16_TEST(_f, _s, _t) \ + VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_uint16, uint16_t) + #define VMSTATE_UINT32_TEST(_f, _s, _t) \ VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_uint32, uint32_t)