From patchwork Fri Dec 1 14:31:59 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: 748992 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp307989wrr; Fri, 1 Dec 2023 06:33:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFku02toBVan7LkkXpnUaM7w/qrasrEKBjFeRyWW9snggiRT2wYynGW5YyHVDdb0YwoIo17 X-Received: by 2002:ac8:542:0:b0:423:b9e3:f54c with SMTP id c2-20020ac80542000000b00423b9e3f54cmr15065651qth.45.1701441188720; Fri, 01 Dec 2023 06:33:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701441188; cv=none; d=google.com; s=arc-20160816; b=mrh6cm4u7tUauek6gD/z+sXcBN1Fi/3SjoZqPyLfVvNNNmBqaMYitSDOMnh/Yh7Wg2 EPVGnTsckRosCtJPS9ZJAEWNuMfdC0yc3PWBsvFgIrZ7JR6LlnaNf9eydd1i1I31UvBI Bm9obXyPpHTCR6hJV4ofn0x9a6OUjOoiNYgnQFNBrAQ2xTehKOroHYqUVB+N/RrdqNty IUABw9VvMbr7G+j+C/YNA6EpP0J3NrQgFCUYn5rLFP7Khp6/C+tGyh206dAbareApcut gn+3RiqIcfWyL6azbRc0p7MSJHF5C77BShAJvqSKfMNdvAWuuJBNSLVRXFYxlgbaf9Fr VDyQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=xwueZRhq2TeT+o6ic/j7f+3sIl0gG5LOrM78r5l+kjU=; fh=o3lfIpO1LiWB5YaKx2qN0pZoVgkt08VAmJbZ6Wpmxfk=; b=cI3fU1FkSiEvaSSTbZ2MENzBaurf2qY3YmjnNL/IFDNLVzZMyWyXS0B/ourBee8EXz oujtxiR8evFdKFgw/+u5XUv3jiRyZydtSNveZtV/CNmMqKDFsBWRnHTK3vLDhXYCg98W yL/UCZJZQpz1f56TrI6Bl+0Wm74bmomN0GNYPoo4TE7H0uQBvUx+cD2gf/IrYI/0Tij7 SAjLjCPTGBMHXGpTUY6eXypRPmde+nHw5AKLjUvQMwnVvSvHKgUTgB2Vs3AR8B/rZnTA zlpFjPIAwlcBre8wMxAB14jCjgCRLlZJ9kEo+H/W8XPWnNq2tPztndq4RpoEVPuQrp7E pAmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Invc9+kv; 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 dn19-20020a05622a471300b0042394de4a36si3078286qtb.88.2023.12.01.06.33.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 06:33:08 -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=Invc9+kv; 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 1r94Ys-0003XH-Dy; Fri, 01 Dec 2023 09:32:10 -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 1r94Yq-0003Wk-D8 for qemu-devel@nongnu.org; Fri, 01 Dec 2023 09:32:08 -0500 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r94Yo-0002Vm-R0 for qemu-devel@nongnu.org; Fri, 01 Dec 2023 09:32:08 -0500 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50bc39dcbcbso3052982e87.1 for ; Fri, 01 Dec 2023 06:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701441124; x=1702045924; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xwueZRhq2TeT+o6ic/j7f+3sIl0gG5LOrM78r5l+kjU=; b=Invc9+kvLZq270IOoDOuttweEKt0LckhVbUsCy5T1iWffq0wKniCpYHXPjPxwCRAL1 yAwwd9zxJifS9r76Q0PQA+0q7mtF7EbNE42TEzfKQqHJ2qzmzkA2CwlWEDwXnNS3mRXD b4mD8jHRleFhLSYjzn3+b7ReRZN7zpzglvo0mj6TCwJ+1B6WvuHeQLEKXewPh/4wCy5s w1WXovKXgVVJiFVcSxoOBCcAsfUM1/BESvZ3KAm1LINuYF7gTLjavH7VL/frNsjj+W6X iI/EGfuTc967o72eO+LSvExOcptpHKRE8NxzZZd1Pn0ZVQUW8SWODV6uoXJlQjUVQWRJ 3JmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701441124; x=1702045924; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xwueZRhq2TeT+o6ic/j7f+3sIl0gG5LOrM78r5l+kjU=; b=SQIsoe0QElh4pc1xnTj/Ic/8JrcY21sR/gkeVfZaW/sSVrg5Mp9w0cN9DRp/xEZJly 0HsY3c0vHg/5zvxIYNchUdPmmLBAtB7uw+noduWUAAyaOGnzcH7ZHcuf1rhTdwlOeKfd SjxeyyEfVAQpyTJuPzOzrksFXtRiuF8UilzD+V64fUSAm8gZsggtajtj1J2cbTihG8iT NEfx5hpGDBmk4gC8422+s+cqWdp/aZ7ANQuI9/2NqREVHViJ7uyCb2mw77fSdRCR7OHr Vorf4YHE1lC0whwa2XVVYhEHyjTP8TK5Fk895EStsAQfQ5DWzBJOcpcJ3OM3CUfrcNSv m1vw== X-Gm-Message-State: AOJu0YxAvngqrA2WEfgPssV+tyHNJjiYoRnGwKHuvxKOenwMfp4+8bQY HIddpElLE1D75ejjGvvUXPFZvsZ37T8QxrYktzY= X-Received: by 2002:a05:6512:318d:b0:50b:b834:d3c0 with SMTP id i13-20020a056512318d00b0050bb834d3c0mr1133486lfe.32.1701441124226; Fri, 01 Dec 2023 06:32:04 -0800 (PST) Received: from m1x-phil.lan ([176.176.160.225]) by smtp.gmail.com with ESMTPSA id f12-20020adfdb4c000000b00332d3b89561sm4338984wrj.97.2023.12.01.06.32.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 01 Dec 2023 06:32:03 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , Paolo Bonzini , kvm@vger.kernel.org, =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.0 0/2] target/arm/kvm: Use generic kvm_supports_guest_debug() Date: Fri, 1 Dec 2023 15:31:59 +0100 Message-ID: <20231201143201.40182-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=philmd@linaro.org; helo=mail-lf1-x12c.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 Expose kvm_supports_guest_debug() to all targets and simplify ARM using it. Philippe Mathieu-Daudé (2): accel/kvm: Expose kvm_supports_guest_debug() prototype target/arm/kvm: Use generic kvm_supports_guest_debug() accel/kvm/kvm-cpus.h | 1 - include/sysemu/kvm.h | 1 + target/arm/kvm64.c | 9 ++------- 3 files changed, 3 insertions(+), 8 deletions(-)