From patchwork Mon Feb 19 14:14:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 774089 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1181352wrs; Mon, 19 Feb 2024 06:15:47 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXfEOYU0QXhMhJqU8hlWTEaBZ2mD3kcQI4NLNiMuT1BGBAz7hTI1Jp7ks7lEo56/qcIj/MdoMsq9N+scbq6GKxe X-Google-Smtp-Source: AGHT+IEm0ZK5ODm7TqM1R6tup1RilNTigyOefRJ83C5kaHS9RfqCRqCmibJzAI9xw/CyJDOUT0+P X-Received: by 2002:a05:6808:4482:b0:3c1:5b63:579b with SMTP id eq2-20020a056808448200b003c15b63579bmr2918130oib.49.1708352147291; Mon, 19 Feb 2024 06:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708352147; cv=none; d=google.com; s=arc-20160816; b=YaIvMOtj908lQtjGoYT69bJb04kECz+DqM2eT+d1TsS1M6Ox4v6kxmvex6Ppkt6iJf aAfZtLmsBB6Cxmkyc7vPx3qbYWx+uAiZE5//sNFHcoEjhFjv+embe0knp2Qp+B+bpRdk 1S46k+E8cdjr9Tei4QQKSayj/c0XT6QZpAgDmscqXTDlMWAAbiP0aRn0dA4yMcYeo5HB rQxMD1YL0/yq/nbtI0fJG2Q6h0+12EtZnx7nLJ8ajg1JJRHt9PMv1FgEVaB8lfWRzs0I YbTEu10qasINBHSf7HTORDuOAo7ir6nltXT8O7b/YnXPNMogtOqzgVws7uUIigzW7WRY Hx3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=19+qnM30bgsd9CC9/msvt9m3ig3W+6Jc4ToSCcgfANA=; fh=samD0lp4jLKeDhkTkeB861D9LItYSgbb2UVql1zSm0s=; b=oUW4/16GEQ2Nwt3J4neXeNlubTxs/pXoqhQrcB2bNWrxhymi1MvrrjNXHhnWAA7BLl u1lKk050VcvJqOXC/1T8Z8/L+tzihXZcDPMsnmRK3MD8Ee6WmbtLDDao8s0egwbvURct 558ReigXgYZHbvu2oDPel+A9BGnXU5oM6oj2YSA29K7UPgQy9QHh2pK5he/m2zrqt9K5 7TIK7LSOr5y5Icv153XORBaOahFi+IoirFLGoe2646rBItMsu2EbSfbaADgxKzxbYLEA sBXNUX1YM/MUlzEIEJQUnYjxlb+5BdXBEYiyvlxWtpDqSpPMPuXrE/kVHwm7xkF2yLl9 kmrg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tN9mSXOx; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id iq19-20020a056130629300b007d61b4b6a4fsi987927uab.70.2024.02.19.06.15.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 06:15:47 -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=pass header.i=@linaro.org header.s=google header.b=tN9mSXOx; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc4Ps-0003bd-34; Mon, 19 Feb 2024 09:14:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rc4Pq-0003YP-8C for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:42 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rc4Po-0008SL-Ti for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:42 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5649eb3ab68so828635a12.3 for ; Mon, 19 Feb 2024 06:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708352079; x=1708956879; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=19+qnM30bgsd9CC9/msvt9m3ig3W+6Jc4ToSCcgfANA=; b=tN9mSXOxKqMxGPk9JDbRT4NSQdDLxtE0kcF4IsJM8iiek+ieWDY7J+VqmlrH4SJuEO Er+TDVuil7/daLrc4wUvD/IkTESLBkfTOTYQlYLCjgYAeGBsDMuEd+CXxPeGVBPgWyCD 9Osxd7yiV+p4l3hsY4PgzuR9eRdc2v9Akf5+74o+xlkoLoIJIsL0k5cWcK5LNmQ8xbXJ FshnemYOpUpH4U9hi35GTHGBPoN1lLcWdZq5MdgeWXC1DK1tdXchs3vxbMXX8NyKH5NT 9fwqraJw23H6VOpVV8h8ln7A6SMo7s+0y4npnlFzv8XcXBqVamAU/IgGPycIVsXrcFgC pLdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708352079; x=1708956879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=19+qnM30bgsd9CC9/msvt9m3ig3W+6Jc4ToSCcgfANA=; b=sf0Auo0Z5tgBA73NLw3Yg0zQf7i1qcC0URRH5e/nNGhUPSiMDciCDz7K+OkGSfdtOY oIs+c+QTq+6F5CB0IijsnfJ9+8cyt7wWw3d0CdeLUHcs7NwNgYN1RnVP9eBHpPdui41e CXPWgj7ZYDnzpeQ1Cd2RxASiVQya9L5algYz5DgaerLw+K8GzQWbO0bYXAhyjP18roxR Z8oMXFQGIGpNjqg/4WteMzuySAMbfcrrtwSlmKbjlEalzuQXMusOor9a0e25iLPtJC5k c9523l8eJQKeVSffUMeypOehg9jHDiKodQy+doirKgNwy++jW7Ot8Y3hflPnfiWPm30z ka6g== X-Gm-Message-State: AOJu0Yz460xt2+25m9c3jK1GmPqnChLgHT9Y8NpGMNJJrOpkdKJMIlpE UalRCRrM1bswxA0S4GSMRXFT5B21n4DyEaGvNfvkv1hAAB6kH9c7LfjmPrH3farPmbslqVP10BY 0 X-Received: by 2002:a17:906:f8d6:b0:a3e:998a:14b with SMTP id lh22-20020a170906f8d600b00a3e998a014bmr1766628ejb.47.1708352079412; Mon, 19 Feb 2024 06:14:39 -0800 (PST) Received: from m1x-phil.lan ([176.176.181.220]) by smtp.gmail.com with ESMTPSA id vx10-20020a170907a78a00b00a3edb758561sm144542ejc.129.2024.02.19.06.14.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Feb 2024 06:14:38 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Marcel Apfelbaum , Igor Mammedov , "Michael S. Tsirkin" , Ani Sinha , Bernhard Beschow , Eduardo Habkost , qemu-trivial@nongnu.org, =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 4/5] hw/acpi/ich9_tco: Include missing 'migration/vmstate.h' header Date: Mon, 19 Feb 2024 15:14:10 +0100 Message-ID: <20240219141412.71418-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240219141412.71418-1-philmd@linaro.org> References: <20240219141412.71418-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=philmd@linaro.org; helo=mail-ed1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We need the VMStateDescription structure definition from "migration/vmstate.h" in order to declare vmstate_tco_io_sts. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu --- include/hw/acpi/ich9_tco.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/acpi/ich9_tco.h b/include/hw/acpi/ich9_tco.h index c4393caee0..2562a7cf39 100644 --- a/include/hw/acpi/ich9_tco.h +++ b/include/hw/acpi/ich9_tco.h @@ -11,6 +11,7 @@ #define HW_ACPI_TCO_H #include "exec/memory.h" +#include "migration/vmstate.h" /* As per ICH9 spec, the internal timer has an error of ~0.6s on every tick */ #define TCO_TICK_NSEC 600000000LL