From patchwork Mon Feb 27 14:00:37 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: 657073 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2380962wrb; Mon, 27 Feb 2023 06:27:59 -0800 (PST) X-Google-Smtp-Source: AK7set9YTEGsiqOajR3aN5+vmgIFtK+i4lrtauQXJWuAbgstXhNivRPXJi17jrBpZkBZk55hF3Y/ X-Received: by 2002:a05:6214:2027:b0:56e:a0eb:9b28 with SMTP id 7-20020a056214202700b0056ea0eb9b28mr53624615qvf.3.1677508078980; Mon, 27 Feb 2023 06:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677508078; cv=none; d=google.com; s=arc-20160816; b=e27Uk53rS9oMz+BVrtWwlBKz4Yw1muya4xk5024uT6TUH6ENccA1wfVp4w5ZpRAPvi kVrlYguOQPdtaiMm1tMZGC2+twS3rdSCKx32bLWQdgYeebMLUNvWyp9BtlopXWXeVvoZ A0anXpdtNN63jD2FnOFxFQJgWkYaRXVbxIJESH088kj21ySvaU+pkopzwon/Ze8T+psZ E0aRA1KoidxcT/vmRt2YoDYbjd1QHfAM7924/Q5+aZ4lZjS/9HrrUKW57vxDOdXF2WK0 RWbAsHGRwdBlPW73ps7feLMtK5X43ZM8SaFrk4sKIXK/CswejU91aEMFSw0eGiOaeuWa y5Pg== 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:to:from :dkim-signature; bh=CnN1bti1BVbfMA3pVea86tfxztwo7BnR5XFtex2Mw6k=; b=CCY5U0PEHEBQvUJoMhTkHT/L9Y6Ql+IKG6RimGen98vxCdy2SdFdXrgW3HXat2NkMA NtwXapH3PNdN19PIvAgTvt81VoKyqzLk1LBM7YFHRvdaQWUGCuAkq2Ap45A308gZ/uhj EnNfSyAFeQJqqrB6A122pCHQ321KJGAi1mW2YLiBhxMHT0U/R+A3bjyRNnrqF4v+WTk/ A/YkMArloV6beL3DkPzJ9WAdmhO+NBfjU9fmORFxk8dyVJAPNT74nKbItK/I0r70ynn8 0vLpIIKKqIqCTRBD1rRjEYcfFoy8zWRCWuKxu9O/Nrj1W4EguRx7XPfKxJt1S0fMbpN9 lQtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bz4NjgRc; 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 w11-20020a0ce10b000000b0057111221a51si6214265qvk.332.2023.02.27.06.27.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2023 06:27:58 -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=Bz4NjgRc; 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 1pWe6w-0001Ln-Dz; Mon, 27 Feb 2023 09:04:14 -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 1pWe6r-00016K-91 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:04:09 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWe6p-0007y7-Ma for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:04:08 -0500 Received: by mail-wr1-x42b.google.com with SMTP id bx12so3187544wrb.11 for ; Mon, 27 Feb 2023 06:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=CnN1bti1BVbfMA3pVea86tfxztwo7BnR5XFtex2Mw6k=; b=Bz4NjgRcD6QwVWwJfkFGmOpxVDhZ3qzEI2U8ikRalPpfoYSgXrjtRT2EBdsqldrS1D ItwBexyQDqVZtzXxR+szBKFAVLBx0gnoCE/XF9ItrxV3fjo7/1pYKQTxhXYvko/zFQUR c2A71czY3/PiZVvDo+iHLTLLt18ekSjABrXj8aQAEKD4M1IXDY4gyj1dhtO2e2GwoSS6 T+TxEUKhc457pc/YoY874oX6lL4UAemcEEgzkl01ZRRkP04Yvl1u2ce7FeqjR5/7DHmS 3HWBkSVhKfoGLYbSFbeNZYgpOS1aQGGh95MSddrlSs1SuPzJssrcC+xPnjTwb8lMpQOQ bV+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CnN1bti1BVbfMA3pVea86tfxztwo7BnR5XFtex2Mw6k=; b=lZgobpQtn7eSPhcuvsJ0+gmDyl4dIea1cuw9JpvvTj+DiYAj7LB5T0eJEU4sbezBf9 nFc2M1xwdGB+93L97q5cPc2V4exhBBJg0XHWjcLdOTUKpkpGlDQqCOaXnuZG8CAWt+iy TihFpIvekK3FKTIlNHT1Oy+KU6x6g/bxYbdVBgdCsPk0q9b5Q951nCDPi7nXEUG4Crsz xtCSPr/U8pwC5dOyoUrUSZVd2JYCiOOU/x+mVWvte2vXHMpI57BwrO1/vxS+bnT6vzn2 dF4Lx7t7GbOZHz15+vi7/HlHCx8a00K0pMVpo2ftJ7GHpu+feR6VnU/iFsxdvCHHk/Ds c6hw== X-Gm-Message-State: AO0yUKVD76WVpVfkdHw2BtjPxxujQ02zKbeJunYHwPPLtPq+mKFOw2Uu KUAwH01C89f10I5MpYm0d5HiZoDelGeSjOOC X-Received: by 2002:a05:6000:1372:b0:2ca:9950:718 with SMTP id q18-20020a056000137200b002ca99500718mr4405822wrz.52.1677506646219; Mon, 27 Feb 2023 06:04:06 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id c18-20020adfed92000000b002c54c9bd71fsm7343997wro.93.2023.02.27.06.04.05 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Feb 2023 06:04:05 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 030/126] sysemu/kvm: Remove CONFIG_USER_ONLY guard Date: Mon, 27 Feb 2023 15:00:37 +0100 Message-Id: <20230227140213.35084-21-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230227140213.35084-1-philmd@linaro.org> References: <20230227140213.35084-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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 autolearn=ham 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 User emulation shouldn't really include this header; if included these declarations are guarded by CONFIG_KVM_IS_POSSIBLE. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20221216220738.7355-2-philmd@linaro.org> --- include/sysemu/kvm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index e9a97eda8c..c8281c07a7 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -471,10 +471,8 @@ uint64_t kvm_arch_get_supported_msr_feature(KVMState *s, uint32_t index); void kvm_set_sigmask_len(KVMState *s, unsigned int sigmask_len); -#if !defined(CONFIG_USER_ONLY) int kvm_physical_memory_addr_from_host(KVMState *s, void *ram_addr, hwaddr *phys_addr); -#endif #endif /* NEED_CPU_H */