From patchwork Mon Jun 19 07:41:50 2023 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: 13284059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 785C5EB64DA for ; Mon, 19 Jun 2023 07:42:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbjFSHmF (ORCPT ); Mon, 19 Jun 2023 03:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbjFSHmE (ORCPT ); Mon, 19 Jun 2023 03:42:04 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84145FF for ; Mon, 19 Jun 2023 00:42:03 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f8f3786f1dso34314265e9.2 for ; Mon, 19 Jun 2023 00:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160522; x=1689752522; 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=KL2PYuIs1BVHjdvTGwm0sXveXI5cCApLPfoCdqJW9L8=; b=fWsyd2ggatUTsIkjcwt5g1ZFmfbEYT42HpkS7K9Vjb1M1J28yMN6FBZOUOdi44fhFg xS0RUZvl5bZWbYbk3m8JXNMo4W0Gu33O2eIg0Gct8lhXlmVOl3eHEgJjM5RhScMjqJU3 cx5seoqpzZi3GyiSTavTvlu1xp0vWECE65z8xoBFESVRvWiJ8LL9cQwi2yd1+C0Di3PB 2+JXhcWBfwI7somsJ3co4ABECoq9uGUHOZuK9prd29JPfYXri2IU/lfyYKPzzokD4Fdm UmirV6yTdr3aEUilCwlVaXC20kNAcghWzLCShHzAYjqxnBhnSD7kA+qMKQZQ9xloimgt Mi9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160522; x=1689752522; 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=KL2PYuIs1BVHjdvTGwm0sXveXI5cCApLPfoCdqJW9L8=; b=FSo4Gggi/a/7eV3JhuFtPMfAlATL68chFe7tDBwb2b+krVJxV9smydmvyuhGxKknAd oWZ3Wv5iJEmOCi81rhN6YUskMn74tj/COHvpy5w+adwcCsgbeKvmPSU/z3GAKpqd42Aa 5g6BcK3f6ZL0lQv52DfZENGBZNSgaoPiMn8d5ylv6x3glEnDqXtJ4ZGZ53PzRIfjJpWG HI7X1ICkj7KJ0E27+Nz24qlYxT1vbMmL+c9YxqAeyisJ7/7IjjFTrCzXs6ZhBjxB1R4+ h17DiKx1UvMpwWJb5QwM7oWMevLdJpvFgnBgVa/tHNv7Mt7vjHFiq+rtcDf/m3Z5QHEw Ik8w== X-Gm-Message-State: AC+VfDwxo76OZTR91a2BMQr3mlHRG96k9X//cWoRUcmQFfbwX5ewrF/8 2f4xGLsQxIgTLEB9G/0PIjTJpA== X-Google-Smtp-Source: ACHHUZ7gX1n45U+7t5jyD0FLAsJQGp97z0VG30yfL07LGEFIFabAZA+C4XfZuySz3dX9WB5Bi8z/qw== X-Received: by 2002:a7b:cb56:0:b0:3f7:e48b:974d with SMTP id v22-20020a7bcb56000000b003f7e48b974dmr10200835wmj.27.1687160522051; Mon, 19 Jun 2023 00:42:02 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id e6-20020a05600c218600b003f9b3588192sm704769wme.8.2023.06.19.00.42.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:01 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/4] hw/net/i82596: Include missing 'exec/address-spaces.h' header Date: Mon, 19 Jun 2023 09:41:50 +0200 Message-Id: <20230619074153.44268-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org hw/net/i82596.c access the global 'address_space_memory' calling the ld/st_phys() API. address_space_memory is declared in "exec/address-spaces.h". Currently this header is indirectly pulled in via another header. Explicitly include it to avoid when refactoring unrelated headers: hw/net/i82596.c:91:23: error: use of undeclared identifier 'address_space_memory'; did you mean 'address_space_destroy'? return ldub_phys(&address_space_memory, addr); ^~~~~~~~~~~~~~~~~~~~ address_space_destroy Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- hw/net/i82596.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/net/i82596.c b/hw/net/i82596.c index ec21e2699a..9b9e3aa792 100644 --- a/hw/net/i82596.c +++ b/hw/net/i82596.c @@ -15,6 +15,7 @@ #include "hw/irq.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" +#include "exec/address-spaces.h" #include "qemu/module.h" #include "trace.h" #include "i82596.h" From patchwork Mon Jun 19 07:41:51 2023 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: 13284060 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58F26EB64D9 for ; Mon, 19 Jun 2023 07:42:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbjFSHmQ (ORCPT ); Mon, 19 Jun 2023 03:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbjFSHmK (ORCPT ); Mon, 19 Jun 2023 03:42:10 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 390A6E58 for ; Mon, 19 Jun 2023 00:42:09 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f907f311ccso20612565e9.1 for ; Mon, 19 Jun 2023 00:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160527; x=1689752527; 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=YkXthOPn4E1631VSOfPiqw4sZJp9rt3aVw83F1yxbyc=; b=mzlfo3m5LYpvP4ytqd3u+umd3HUv3UoWTWvc+meiDxyIoj/bv6hlN6Se8YNnUVIEhR mx8ASvJWiAsEUqzZy5j+O4JwN+S+kRZU9g5SsK3aCw7Tw70pTYHokfMArDu79E8TQYBY hWNke8QI58l9K/UoHtT1hk89d1oFLoqQNrqL3k5x8no9HpYcrFSDB2d/ipK9wZN1pjxz /Nmex6QU/WLFXdmahMWe2jdHg2jhJNDeCdfAHITmr5kTSY7FUMJzmPkQYv6pCO8Cyolx VU+yfzB0KOuy5S5JplBAs09oZ/INK9XJrtiycK8Yb72XlTNLkSwNLC+qGZcWZs0FQVra 2Gfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160527; x=1689752527; 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=YkXthOPn4E1631VSOfPiqw4sZJp9rt3aVw83F1yxbyc=; b=XnphDw7uYrg5ZgBxmrbZVeh8OxTv1W31j9jiEIcE4cOSPsoqrjMvlXkNbCQVtbQCXC 5Iea7Y8uqGFrjdH45Pyihvb6lRWctxCM+sG2tdkE4D118ozxrN9C5XoworB1nVf61L8h 8y4UnHfupGgLbq+CwNoGDlfr124tEepgeH5Cv01BhzOvg7qBRu9EXRKtwh8xuAI2Lxnl lEGxZogIhUr1cYaOJSNoyOVxCHRCYLYWH2MYU7XyNdbSXjpjLmZugDdkYI0xKEF+a6HE j3ex0M5WlhrFggAOGtIwHbcKVX/rDuxuPNwH2lyLgFOI55eiU+d08/WYPNXOcbhKqSoo b7iA== X-Gm-Message-State: AC+VfDySjLGJLuJSShCfrLhtb/ymrFQ5vQRbSOJhLUCoFWG54X2aqOHx YLjwWjqSfjMsonmmQvEvBoXK5w== X-Google-Smtp-Source: ACHHUZ47L7Xp2XRwbbnqOyPJdjdKWRKBBPrC1VaKIqRJhlqW5dHNQfb6Saq9edGPaTKEkzx7KWMvfg== X-Received: by 2002:adf:f04c:0:b0:30f:c2a3:6281 with SMTP id t12-20020adff04c000000b0030fc2a36281mr7297532wro.64.1687160527690; Mon, 19 Jun 2023 00:42:07 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id n6-20020a5d6b86000000b003111cbd8009sm9334752wrx.97.2023.06.19.00.42.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/4] hw/dma/etraxfs: Include missing 'exec/memory.h' header Date: Mon, 19 Jun 2023 09:41:51 +0200 Message-Id: <20230619074153.44268-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The 'fs_dma_ctrl' structure has a MemoryRegion 'mmio' field which is initialized in etraxfs_dmac_init() calling memory_region_init_io() and memory_region_add_subregion(). These functions are declared in "exec/memory.h", along with the MemoryRegion structure. Include the missing header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- hw/dma/etraxfs_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/dma/etraxfs_dma.c b/hw/dma/etraxfs_dma.c index a1068b19ea..9c0003de51 100644 --- a/hw/dma/etraxfs_dma.c +++ b/hw/dma/etraxfs_dma.c @@ -28,6 +28,7 @@ #include "qemu/main-loop.h" #include "sysemu/runstate.h" #include "exec/address-spaces.h" +#include "exec/memory.h" #include "hw/cris/etraxfs_dma.h" From patchwork Mon Jun 19 07:41:52 2023 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: 13284061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5F43EB64D9 for ; Mon, 19 Jun 2023 07:42:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229949AbjFSHmY (ORCPT ); Mon, 19 Jun 2023 03:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbjFSHmQ (ORCPT ); Mon, 19 Jun 2023 03:42:16 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD14E7D for ; Mon, 19 Jun 2023 00:42:14 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-30adc51b65cso3186548f8f.0 for ; Mon, 19 Jun 2023 00:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160533; x=1689752533; 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=BT5WpWOETZMXxgChaA/hO32lYMuyGzMiCBmIgxW1Frk=; b=umUk00NvLphY0IlIANc5KbQE5bhlJwwKeZcl4fyhJ+EZSz23anx/rnx/RicmWgOAN8 vKdUKaJ+cygAKh8Ag5pABbRBT6My4hLE+VguA6+tWbYsttlF8kUYD9Yv6hJiNOBRF8te MbDEnFWFo2Ll5DnZXAhoXpAj27yUPDZgr9aBArCoCr5Uv+be4fVQtozKE738Gcz5RkRx VAocvAr6xuBWwkmL6iGs/iQSSR4/6yq1FwslQ+NPlwNGNFzkUoJwWsDAUr1eLGci6QwQ ytOjpInInl/HGD7j3iPmU/+pQkNwflfEf9Q71ElIFMPoMRbyBKW8PJfkIQewv9zxyywf Z28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160533; x=1689752533; 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=BT5WpWOETZMXxgChaA/hO32lYMuyGzMiCBmIgxW1Frk=; b=eVooXasuKUdm6YVYIIXYbjdTlhArt6BalOHpWWYsNs9CHQLCTKbCceetONr246qdLZ hwO0nZjZ75S3YDWb6Y9/5QTYs9oIU2DYZt0Co4zDJMlF1MIwYW6T+X/RB+No1VuKVbwv cM6SV4WQEddTr0Ewarq5nxyxFqegr10F7hGv0hhLzrj3OiCxPtH0XtRG9sWD+rwOuy/m QeMszwIld1t9uiC49RbQkSM7RpUa+ChkJUXeq7sSfFyjzFZpNGo+ikbbjzHbotcQH9Dg HKRPDWuTjCtZeMeiJQ6gr0zls+7va0vvlvnZgvkFVDRUjoNqBsCUeUW6s4N9wnBq+AYG t0HA== X-Gm-Message-State: AC+VfDxjswI0WY4pac7raIV/e2MEJrRoWKR22nfBenaoq9LUXX8hIeFQ HizCPDnuOAQ9RKosGqYP003uGQ== X-Google-Smtp-Source: ACHHUZ5h2BLgoGUrZ54XYb21bpMoPxOtd7xTNMLSSiHnhPZ0Imsc810frdGVzsuPUdg/pyCGUtpTrw== X-Received: by 2002:a5d:668c:0:b0:30f:ca58:cb10 with SMTP id l12-20020a5d668c000000b0030fca58cb10mr9968812wru.22.1687160533141; Mon, 19 Jun 2023 00:42:13 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id t1-20020adfe101000000b0030e5a63e2dbsm31033657wrz.80.2023.06.19.00.42.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include Date: Mon, 19 Jun 2023 09:41:52 +0200 Message-Id: <20230619074153.44268-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org "exec/address-spaces.h" declares get_system_io() and get_system_memory(), both returning a MemoryRegion pointer. MemoryRegion is forward declared in "qemu/typedefs.h", so we don't need any declaration from "exec/memory.h" here. Remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/address-spaces.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/exec/address-spaces.h b/include/exec/address-spaces.h index db8bfa9a92..0d0aa61d68 100644 --- a/include/exec/address-spaces.h +++ b/include/exec/address-spaces.h @@ -19,8 +19,6 @@ * you're one of them. */ -#include "exec/memory.h" - #ifndef CONFIG_USER_ONLY /* Get the root memory region. This interface should only be used temporarily From patchwork Mon Jun 19 07:41:53 2023 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: 13284062 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A94F7EB64D9 for ; Mon, 19 Jun 2023 07:42:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbjFSHmk (ORCPT ); Mon, 19 Jun 2023 03:42:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbjFSHm1 (ORCPT ); Mon, 19 Jun 2023 03:42:27 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C5510D8 for ; Mon, 19 Jun 2023 00:42:20 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f8f3786f1dso34316305e9.2 for ; Mon, 19 Jun 2023 00:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160539; x=1689752539; 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=qnwofEvBkK7OFlWxUNT5Ph9UIp0ImxIpuwb9PIhQ0Pw=; b=EE51AOLwQ4vmbXoxwULbpzEAfT4nyAiurvU2yp39ByQgEXy0UKU7cnjCHdLEL0BvQP +6ReLwVlYfrLAZP9QUhirZaUU//1i1pJ5u5u3j49gbnHBSxe2mtVKwq3A0D3SQkyOQNQ 2DhJXaFbkSpktv2h3yn4I0bChGkrqy7EOFFrAwH9eO41jBAoI+YS10X9Bsd682E9gk4c PLNGuCeS+Nx9h39sjMeOo2I0boySxK8xc08KTjdu4eSBFYlwJuMAe9YfOpTsVHDOhJaS YUicW8uWn0KYHl5xgQRX/sq+uflnQjGG8EZhzkuQVaGI1bNCIpl1NTHkBHYexPzWUTmD o0rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160539; x=1689752539; 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=qnwofEvBkK7OFlWxUNT5Ph9UIp0ImxIpuwb9PIhQ0Pw=; b=UkwfEOlwlvqyWpzD3HHnKsu7yuy053BbXsSmNS5wC1iVrkaRu53wyPEF0eWC1SfmQB cWtyKg9ROxUdf1fKBl7TUjwabbfFR2q5lB+j6WmyNWQ60E3+/zfP7U3QNfi0hHYBlH/q 53ilXPDKccY7wbITyMJgfG8D0WaIWVj+Dr/i+xzvs8Va/qLoM92TouiWbz+1h+nWmArf 65yKPa24OW3W1qA/3sGpVa7qjiQDZua1flL+nWvNwT2eMcvwOrXtX3HaprSWVvmEWRA/ UgA//7Ai1KYr6xSTk5hPiVcu00NEwH4ELXZ50PpCdjiJ1IAzgeAqCoSE6Wy/Se/Zpy/0 K0Cw== X-Gm-Message-State: AC+VfDwN0PqT9j26HAfTsDg68Ju4tcXeiri9tE6w0sidEu0CQWZFO6wL sLaa4FLjGXKfc+KjUIa8tv5M4A== X-Google-Smtp-Source: ACHHUZ74l0mQgAwXCVkwLZ5Afzwn5E6CYM4Voj1ipWGLnlMT4kTiUVCtJiWHbcPXZVDWm+SV7huC2A== X-Received: by 2002:a7b:cc8d:0:b0:3f7:3937:f5f2 with SMTP id p13-20020a7bcc8d000000b003f73937f5f2mr9607638wma.22.1687160538850; Mon, 19 Jun 2023 00:42:18 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id v18-20020a5d43d2000000b0030ae93bd196sm30567287wrr.21.2023.06.19.00.42.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 4/4] sysemu/kvm: Re-include "exec/memattrs.h" header Date: Mon, 19 Jun 2023 09:41:53 +0200 Message-Id: <20230619074153.44268-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Commit 1e05888ab5 ("sysemu/kvm: Remove unused headers") was a bit overzealous while cleaning "sysemu/kvm.h" headers: kvm_arch_post_run() returns a MemTxAttrs type, so depends on "exec/memattrs.h" for its definition. Fixes: 1e05888ab5 ("sysemu/kvm: Remove unused headers") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/sysemu/kvm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 88f5ccfbce..528966b5a8 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -14,6 +14,7 @@ #ifndef QEMU_KVM_H #define QEMU_KVM_H +#include "exec/memattrs.h" #include "qemu/accel.h" #include "qom/object.h"