Message ID | 20190128175458.27255-13-minyard@acm.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6605F1390 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 28 Jan 2019 18:14:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 549132B5FC for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 28 Jan 2019 18:14:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 490C52B620; Mon, 28 Jan 2019 18:14:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D19DC2B5FC for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 28 Jan 2019 18:14:09 +0000 (UTC) Received: from localhost ([127.0.0.1]:36381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1goBQ7-0005Uc-D5 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 28 Jan 2019 13:14:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1goBEH-00038N-Vc for qemu-devel@nongnu.org; Mon, 28 Jan 2019 13:01:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1goB7r-0005WG-Iw for qemu-devel@nongnu.org; Mon, 28 Jan 2019 12:55:30 -0500 Received: from mail-it1-x142.google.com ([2607:f8b0:4864:20::142]:53885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1goB7r-0005V9-EW for qemu-devel@nongnu.org; Mon, 28 Jan 2019 12:55:15 -0500 Received: by mail-it1-x142.google.com with SMTP id g85so21920893ita.3 for <qemu-devel@nongnu.org>; Mon, 28 Jan 2019 09:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=98XV8+tO+xHYRvb4UcZhVimQe7LR4Du0EPxu1yJbd+M=; b=IFzNiiiy+t1QNW7H4egkEEF+YbWJL3eNGLq42QrtXC4QWkNcEslBo/G28n0rSdeor1 5p6saF+J77y0S4n/SGNPy7QGADFIYHWjMwtZe9k9fb1fjZlcyZE6DsExwGYktsOKRUcP eJN76un2y5Ysga34vT4unvypFevdnF26Tk6QEs6lywivFUoZmA+fY3Sdmku7DNsAbpUo o9YZ/Oq3wkuLcoD+m8MbSVXBG+gRlvo5A6NjoivR9WfLUhaTEk8lBIBNnbfC1SPDpKKN B7OEfP0xtVEdci3zXNRVX/KDLcYaqXQCqP6iMS6uRiT3F3CQD1BKnm/IKTSC0LEuepvd VfAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=98XV8+tO+xHYRvb4UcZhVimQe7LR4Du0EPxu1yJbd+M=; b=t8PazKP8O02p5qIxGxCe/Lkzb4+iy8ks+hY1xD8JVfhz7n14o/C1iN14NoxgK8I1V2 sivBjJrgvJ3FEHlPpNA5//VTVg44f/w99yramyGVMyxO0RhY7GFvzfmG7Dy+18DTPRl+ TwHnu5G34rCGoNdcQkUVlr/O1NZ0ySQq7nRWEjeI+5cDAmzN0+/D9jOf5OQrzIpg8oic qqCK+V58XpJHkseOYKoES9dKS/y3TqgxdCmIawKmuUlVb95RIMncg571eqVnUqCTMbeP LXCckhpFlsdI5Vc4Aj5g5piQKcGEP0OLlA2fCLZb5C14ySAZ7NuFxBTax1fua5rrE9zT rb9Q== X-Gm-Message-State: AHQUAuYNpDInjysVOseUCNrbyfwKIbVHwdngU/taPXVzWI/+sXywEQe5 ehK5MNNiu2ze1jd/RJ+nyg== X-Google-Smtp-Source: ALg8bN64VskDizZm0RsrIo6V78A33dk7GUGmFFgBzGh+jL5SR8rdITtq5rx2B5RamdX52QGmtyPHAA== X-Received: by 2002:a24:ac02:: with SMTP id s2mr11037971ite.94.1548698114251; Mon, 28 Jan 2019 09:55:14 -0800 (PST) Received: from serve.minyard.net ([47.184.128.64]) by smtp.gmail.com with ESMTPSA id q197sm44771itb.22.2019.01.28.09.55.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 09:55:13 -0800 (PST) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id 747CDDF1; Mon, 28 Jan 2019 11:55:12 -0600 (CST) Received: by t430.minyard.net (Postfix, from userid 1000) id EDE0F301158; Mon, 28 Jan 2019 11:55:08 -0600 (CST) From: minyard@acm.org To: qemu-devel@nongnu.org, "Dr . David Alan Gilbert" <dgilbert@redhat.com> Date: Mon, 28 Jan 2019 11:54:51 -0600 Message-Id: <20190128175458.27255-13-minyard@acm.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190128175458.27255-1-minyard@acm.org> References: <20190128175458.27255-1-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::142 Subject: [Qemu-devel] [PATCH v4 12/19] migration: Add a VMSTATE_BOOL_TEST() macro X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Corey Minyard <cminyard@mvista.com>, Corey Minyard <minyard@acm.org>, "Michael S . Tsirkin" <mst@redhat.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Fix/add vmstate handling in some I2C code
|
expand
|
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 067b126cf1..a668ec75b8 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -851,6 +851,9 @@ extern const VMStateInfo vmstate_info_qtailq; #define VMSTATE_INT32_POSITIVE_LE(_f, _s) \ VMSTATE_SINGLE(_f, _s, 0, vmstate_info_int32_le, int32_t) +#define VMSTATE_BOOL_TEST(_f, _s, _t) \ + VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_bool, bool) + #define VMSTATE_INT8_TEST(_f, _s, _t) \ VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_int8, int8_t)