Message ID | 20190228181710.2477-13-minyard@acm.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp986900oce; Thu, 28 Feb 2019 10:31:56 -0800 (PST) X-Google-Smtp-Source: APXvYqweDOhTxB7rIt5viwbd/L9V2UdHB6kROquz6XMdIuaGqg8eIl4zjYvVlz+qXmjfGhIckGFa X-Received: by 2002:a81:f102:: with SMTP id h2mr316550ywm.272.1551378716179; Thu, 28 Feb 2019 10:31:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551378716; cv=none; d=google.com; s=arc-20160816; b=JoqVTyBKs0JraSNFBJPfAkd3Pmw+zAbwVFFpL2odNwuW6H5qIx1w+sBMK5nkQUlTuC sjbVpIYSz2CeVV1KrMn4f8Qgmj1UiII64es6kCHB4bdEvN20pgPgC2mnxPtGMtumGLbH mujVS8crpgqZE1E86VDWw6fStYOnmeJhrkk/7WkIsRZjm0mN2kze1iYao4Use24mwbfY nACsvV9zv1587C4mz+AfGfTlPcQFDA/608PZrjiQOY0orpI5nqtbEydfugFVglxLEXn7 S8Ipt7WfQcZVQvW0QHSceKpylly5ubgH2igMDn4rOH/wxA+PVOxW8MqOcFRfFFr3NooX Zymw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=98XV8+tO+xHYRvb4UcZhVimQe7LR4Du0EPxu1yJbd+M=; b=b7gqbpkJUjIiM2Cv5sh79E1uy/t9wumsupUg89GUewyat6nYQ6x/7R1cmus+FMTxed uhUAbez1JET2POp2qhcmljTGO+U9X7n/yV0mors4FXszZml9AWFZDNovMOFiLuW8HhYk et+/CPnUjzNTJj3SMsC0I0T7NM839syAJQzyLlr1D93XgA62i4y6wp1olCdxq3roodoZ 48uzfLL9vufaSEQuO6ED5fLJXap80d+9gseQcFvhomFjJ07z+/iJxwXcqGopscb9Ccch kOPPHLvWNtC2Di3NbsA5M6a7Bn1avihPEvQUI+irJ9zjiZkKDdSt0w4Za9ZTt2eQJkZA uS3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=dtV7byQ0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 189si10511437ywz.463.2019.02.28.10.31.56 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 28 Feb 2019 10:31:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=dtV7byQ0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:44694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gzQTL-0002Gx-ML for patch@linaro.org; Thu, 28 Feb 2019 13:31:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFm-0000ZF-5g for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:18:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFY-0002JW-7S for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:53 -0500 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:43867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFV-0002CH-TM for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:40 -0500 Received: by mail-oi1-x231.google.com with SMTP id i8so17259350oib.10 for <qemu-devel@nongnu.org>; Thu, 28 Feb 2019 10:17:25 -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=dtV7byQ0s2Gu6uW/q3BOZ9HoUIUzY/jVcoATyS4Z30USucQ49M+lslfCPjCSFWaa3y WkYdQZ/FrijldPmIUa5/77NI4v5aQaq0jmZk9F/W6/2+V10NO/0oAOdlyqbBWJaW4cBU hA7iW0mmo9dI8BzWVVzlZuMVOkcz0mgsfVkM8j+RhMqRUB7HpngzxUCgI5WEXIwfDxwr PEJUmXicRyxizNuYiA5JGDwzK3T5mZq0Z8/Y3seRpek9m2IEFRGv7xB/RJfaUyTBK3OF bM+D9re3dEsTamd+LoDKdvy7isD0tI0pWAZp4YC52NVOo6pHjcltpxXFByIJkJJGo+3X QJIA== 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=gdoKWALe19d+2Ez7BznED4OCgznjBEwUaY8CFaGN09KYjYi0qiXS/aR2aN5KP6UBCo vdknRs7XGZn6TN8uh56py7YW/iQ3PoeSxjfkrFbO25vv/OnfwhBpbotgaqb+C8LFeijM hUmN7jhf+yxT2+aodVj1kps4FRB7kMR+1/N1te29hXHE2J6mJKtB8YOOXrbx9V9gHOdx Tjcc4h7bH4J0Tf6NvRZe9IjwJp60IjCV+RqVB+y3nlTmnfML3ZCIO9IZl8MMjhWWQjCL hPryBRWobgjQHdNKUBxGOZPViNqdPnOarnJqaqF0Or1iTb239C8sCAFxz07Z9h0fI9yO Krmw== X-Gm-Message-State: AHQUAuZ6m6xcR23VVuQ/0Re5bVbbUFmXg0AKJJApFWwHzT4hgo2ACLIg Ey3yqEvO6wmagDB8vMrG6k6lV5w= X-Received: by 2002:aca:f2c4:: with SMTP id q187mr681954oih.168.1551377844915; Thu, 28 Feb 2019 10:17:24 -0800 (PST) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id r184sm7246604oif.31.2019.02.28.10.17.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 10:17:19 -0800 (PST) Received: from t430.minyard.net (unknown [IPv6:2001:470:b8f6:1b:b89e:c7bf:12ab:ad14]) by serve.minyard.net (Postfix) with ESMTPA id 5EE111808FC; Thu, 28 Feb 2019 18:17:14 +0000 (UTC) Received: by t430.minyard.net (Postfix, from userid 1000) id 445193028D0; Thu, 28 Feb 2019 12:17:14 -0600 (CST) From: minyard@acm.org To: Peter Maydell <peter.maydell@linaro.org> Date: Thu, 28 Feb 2019 12:17:03 -0600 Message-Id: <20190228181710.2477-13-minyard@acm.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190228181710.2477-1-minyard@acm.org> References: <20190228181710.2477-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::231 Subject: [Qemu-devel] [PULL 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: Corey Minyard <cminyard@mvista.com>, QEMU Developers <qemu-devel@nongnu.org>, minyard@acm.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/19] i2c: Split smbus into parts
|
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)