From patchwork Tue Dec 19 19:12:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 755970 Delivered-To: patch@linaro.org Received: by 2002:adf:b181:0:b0:336:6142:bf13 with SMTP id q1csp1602095wra; Tue, 19 Dec 2023 11:18:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9BLoVXVV1gPzQMwBJ/YV7IxHyExYdU5ttY8gO5y1k9hysSBBiK5G50acvoRBgk0ZcdDNh X-Received: by 2002:a05:620a:2046:b0:781:1001:8c96 with SMTP id d6-20020a05620a204600b0078110018c96mr6486qka.9.1703013483275; Tue, 19 Dec 2023 11:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703013483; cv=none; d=google.com; s=arc-20160816; b=RFruSNF/TXWDy7u5IuDEPqPILczvnY0iNFYixnu6W1rWPRBDVpjw91OgWJZ6lT7s4L b1SN99Qdqjn7FWWV7cmc/jONpSI5UPNhOest3jN/gbGn197grRwv+Dymz3sNEWITMYMe HRjjFO84miflOIh4B9Ks26Lq4rK4L/sXy4QNOFbsDVm1CT8sybm4yTmHRsqMU+sj+LWY cxz+76xrJWcsT2bpk0TDP890vfZIRsyZvkwrmCL6OXOYu2bs2+hou5eRO6hQbZNje6yB 5Zv2v4lel9b1QTpxBYPLMqgu6NkpOsseaKR+VIUSU+AfiahhaBA6u6HqGVUPoA0gCld8 GPbg== 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=9bxYcAuKeHOY0Scr+m8bY+3d+8njdh2moV1wFNg9V4M=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=vMhqOdvvfLQwBJhy7uQYObpa4mwWwBFgAACamBNBheBR8SLXLDF9NrbhhEYBWvtZhw Pr4q8+gwdJLTRo8yhETbMsCx+dJg4ZRbUZ2VWYJaGHshW1rrADWIdFbx0RrtDVPy8ohY ZFkLIUhdQo3ZGq6kofaJbXgmivzQQBMylRHfLMmlHf8QBLbJp1C5yeHEDQ0vZvyvBMr6 sQc0JEGmsOgyidj/KC3agUFTsnVvj+iPzaU1YOikDlxZZT1CZmYpXOFrNAm+qtdarZM4 nTMy4SinG/Evg7YlTGsTyq/2+dudoiB6bN+2DhEHFvggUasuNeQVloxQd+qFMzAaVe/0 nxhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G9+cmKJn; 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 w23-20020ae9e517000000b0077faca74aabsi10586921qkf.43.2023.12.19.11.18.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2023 11:18:03 -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=G9+cmKJn; 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 1rFfWo-0001n1-4L; Tue, 19 Dec 2023 14:13:18 -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 1rFfWk-0001jw-OW for qemu-devel@nongnu.org; Tue, 19 Dec 2023 14:13:14 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFfWh-0001lI-G0 for qemu-devel@nongnu.org; Tue, 19 Dec 2023 14:13:14 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-33678aeda3fso62735f8f.3 for ; Tue, 19 Dec 2023 11:13:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703013190; x=1703617990; darn=nongnu.org; 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=9bxYcAuKeHOY0Scr+m8bY+3d+8njdh2moV1wFNg9V4M=; b=G9+cmKJnTPTvWWU1BGKxNO/iDlPans1ZKI5YTEd827CdvOQcxcWB8Sqabg8BDkxLiH McPfiAtgW3Xbtsxx33XWz+lelsuRms4OYbvuAdphyBc2eLEPg4Y0FCfZKe+Gz7D5gSOV Ol1e+eTn+mhEvJQIN15EhhUI4ntKxkb/P9eGdwczx/uoU/3DMg1B1t8GQ4bGFyYJmJMC NmU69iZemqHoe59OVCEd/Wv3V5fJdi6cZNpWwgOksvo3D8wf7GvsrV4BLpvNdOOv+k79 CCQJgdzt4VWypjdw461TTKCbCYkp/q/Xt3aARJVTwYojiHLc+WOHHtVtOJ34dSwhFzw2 NxeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703013190; x=1703617990; 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=9bxYcAuKeHOY0Scr+m8bY+3d+8njdh2moV1wFNg9V4M=; b=gEkYHgYd1GBywAWu5gOsEzknlh7IoEBUB8l8gTrJK85UWj91RsTcolsZqlE767TFus T4khHS/KW0v0hjKQwwc3Nn9YPN9gfY0vHU4wYfjs8bnrdPWPBovmuP1z+F1dEcjOniQV V9REjBRH374Fr4FONV87xt4FavbvzrVOUfeB7/sSguHXnZEBo8EgJBF0YW6LMElrfaCo hFugrVWppg73BZity951CuS7rXAnPro2O8i0jX6V2sIj3xEjk/L9CUobLW1Bi9gw0xto XpLnuHms0eirrEVwUsjo7f7Dofs+5rmaPqu+d0IkTJJ+ZgcDwcwCG2oSZ5JC+w2m0X1o MuZw== X-Gm-Message-State: AOJu0YzqkD/jrnaLbrvn5U/TaNjYG/jUDjfqDm9wGd2cf0Z29g89sZ47 wiyAzwGRLaL3MVFlVheD5F8TwwKgu004UbEWrrY= X-Received: by 2002:a5d:5411:0:b0:336:686c:c60d with SMTP id g17-20020a5d5411000000b00336686cc60dmr2177066wrv.115.1703013189980; Tue, 19 Dec 2023 11:13:09 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id f5-20020a5d5685000000b0033657376b62sm12007754wrv.105.2023.12.19.11.13.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 11:13:08 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/43] accel/kvm: Make kvm_has_guest_debug static Date: Tue, 19 Dec 2023 19:12:25 +0000 Message-Id: <20231219191307.2895919-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231219191307.2895919-1-peter.maydell@linaro.org> References: <20231219191307.2895919-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.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=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 From: Richard Henderson This variable is not used or declared outside kvm-all.c. Signed-off-by: Richard Henderson Reviewed-by: Gavin Shan Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Peter Maydell --- accel/kvm/kvm-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index e39a810a4e9..f138e7fefe7 100644 --- a/accel/kvm/kvm-all.c +++ b/accel/kvm/kvm-all.c @@ -98,7 +98,7 @@ bool kvm_allowed; bool kvm_readonly_mem_allowed; bool kvm_vm_attributes_allowed; bool kvm_msi_use_devid; -bool kvm_has_guest_debug; +static bool kvm_has_guest_debug; static int kvm_sstep_flags; static bool kvm_immediate_exit; static hwaddr kvm_max_slot_size = ~0;