Message ID | 20190228181710.2477-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 61CC91515 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:30:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D8B52F655 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:30:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4249F2F5E5; Thu, 28 Feb 2019 18:30:51 +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 E9F5F2F5E5 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:30:50 +0000 (UTC) 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gzQSI-0002Gx-94 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 28 Feb 2019 13:30:50 -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-Google-Smtp-Source: AHgI3IbzeGGnbqboXZZx9lf9NvquACk2u5QEz8qC79JOQYrSDNtUnO9PEF1BD8KfOiOn3A9fMg/+SQ== 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+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 |
[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)