Message ID | 20231219191307.2895919-9-peter.maydell@linaro.org |
---|---|
State | Not Applicable |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:b181:0:b0:336:6142:bf13 with SMTP id q1csp1600179wra; Tue, 19 Dec 2023 11:14:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEO27aipFpzfaTxW4srudHB5SoGjocM0RaZLrv0bjMzjh1+zTQ6UEQrYaoJZoxvVozU8+W7 X-Received: by 2002:a05:6122:7cf:b0:4b6:ce73:5e1 with SMTP id l15-20020a05612207cf00b004b6ce7305e1mr2477480vkr.3.1703013272323; Tue, 19 Dec 2023 11:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703013272; cv=none; d=google.com; s=arc-20160816; b=rrOcxvH/9hXdBGf6pZKTxBxKpyl0XSO2HyyCXvHl2HlEhbVta1U78bMiNbyn4qbGAX gUjMLej74tuuWF2iZBRxOR2uP7mazBw3eEmrBlewbrqsqWTJsjgw180qZP2aOXszt08G 1IgwHkg7rdRekyJ0IPrSEDHXz6x00TzxhpzkUmTKNZEtkqjFr9tfPkwSE+ZZz7mZcVd1 cOh5wPi0z/B+gcjyKW+fiICYtBQ2yHg4sAhVjmAhfNh7jtv4qGmQBLAiLYaWZxd2dfsk 4UssfjcN786+PmocP/MtO+nn2scbmBRdtAwZPgrvJo9CmzmkjNxG69Y21Ths9pHTefvM ROxA== 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=r1J7gC45bfq/FYNHKEltq/v3bAcoJrpQOGvO+cx208c=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=uHbKov3xPHDeEeXq679rVmab0GITw4S9UK8QWI+spwy2tnl+4iVBLA88xgOslAhZW0 9/JKeLl//FQ8InyxISsVNwpJI59BQgNCcNTatDRB0PULhXa/QLOZNi+Z9oWgRgj19YCS aiKxekKnhCIzDGCWIjo+Nvn3Q3GmjvuNY8V0Yh3zKn+LcmBQoJ6m6OvhprFBXFiOIZT+ vqtckl1wb852j+2m6k3WugGJXHqYSXGGctidXJdLMroMJnYugoGVa7H8fnbCEanyRYcc FvuePjJ90wkKQqhNaKt97pSBaRf41ciVVOZrbdizgBUrQ31Yw4nVzpOa2PLRPUYtUXE+ Zsgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vm0feBfw; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bz13-20020a05622a1e8d00b004254f1ddb34si28947602qtb.52.2023.12.19.11.14.32 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2023 11:14:32 -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=Vm0feBfw; 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 <qemu-devel-bounces@nongnu.org>) id 1rFfWp-0001od-KO; Tue, 19 Dec 2023 14:13:19 -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 <peter.maydell@linaro.org>) id 1rFfWm-0001ku-Ee for qemu-devel@nongnu.org; Tue, 19 Dec 2023 14:13:16 -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 <peter.maydell@linaro.org>) id 1rFfWk-0001lu-Lx for qemu-devel@nongnu.org; Tue, 19 Dec 2023 14:13:16 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-33678156e27so178356f8f.1 for <qemu-devel@nongnu.org>; Tue, 19 Dec 2023 11:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703013193; x=1703617993; 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=r1J7gC45bfq/FYNHKEltq/v3bAcoJrpQOGvO+cx208c=; b=Vm0feBfwVIXtrOhMLpXxPKgaDRaE/xqHDXvEyTKnz2XQwR24sMdIx0wNPMFDgbjT77 5hr8vqQj3A0olwiUzUps+ZHiz2cSMuRxXv1AKxhh2IRGJuB8MMqpvNPK3WkJdCSuxEuC xrnFmgeFTKPOIVMtbkBKbgcZlAJJgSEcJIKbMo+F9iBr7yJr9B9vs2T60pBI4JZUXhfx dWYW0XguOqhbRip+ckNN3V+MQQ1xYg8zQspdTPQJbzCOD69a/JrKK7VlhhiH8GccBiVc Xda0lUTG6a/Lc0bIPTnKoLijj2k3+UMK939Lt55/sB44LxcOYuGNi/9eQkVf254ygksx +8Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703013193; x=1703617993; 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=r1J7gC45bfq/FYNHKEltq/v3bAcoJrpQOGvO+cx208c=; b=fX/RdNsMag8n44HQ8korg/SktbUIYTZot2CWOe6U1vzlH0hpQ98q/lWrJkbJbizaaJ 9SCaWLUoLpi8gfi3CxbNCZApsW6YfaGN1lsx65MWQPl+MBnELRHtY39kc4FpEvytWzXu xuGBkucUo/obJzvnzqwWlunEHOonwn4hE9Lh8Old0K0Bgiufh6TlV2qLtZJgY4kBnOOU RbbdbbwX1E69I5kN/oRJRf+85XDfV7qzSJ8q1udwoVwHM6QDOO9vZVE77JkEesV9PM79 ActbyDOuvBKfhVIRwzRj7J+jbnDBD0eonKjb9sCRgMDZXXESH2ng/gD5JfuW+rhuxSC2 gPFg== X-Gm-Message-State: AOJu0Ywv6fv7hubgd8y792XyIuO5enqrleXMc1x3ujCVCSbxVHU50MDO Q4F787izVeUVb9Ey6EjjoHyrscq0DsqlijgJsL0= X-Received: by 2002:adf:e547:0:b0:336:779e:7a2a with SMTP id z7-20020adfe547000000b00336779e7a2amr215281wrm.94.1703013193360; Tue, 19 Dec 2023 11:13:13 -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.12 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 11:13:13 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 08/43] target/arm/kvm: Unexport kvm_arm_{get, put}_virtual_time Date: Tue, 19 Dec 2023 19:12:32 +0000 Message-Id: <20231219191307.2895919-9-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/43] accel/kvm: Make kvm_has_guest_debug static
|
expand
|
diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h index 9fa9cb7f767..e7c32f6ed07 100644 --- a/target/arm/kvm_arm.h +++ b/target/arm/kvm_arm.h @@ -335,22 +335,6 @@ int kvm_arm_sync_mpstate_to_kvm(ARMCPU *cpu); */ int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu); -/** - * kvm_arm_get_virtual_time: - * @cs: CPUState - * - * Gets the VCPU's virtual counter and stores it in the KVM CPU state. - */ -void kvm_arm_get_virtual_time(CPUState *cs); - -/** - * kvm_arm_put_virtual_time: - * @cs: CPUState - * - * Sets the VCPU's virtual counter to the value stored in the KVM CPU state. - */ -void kvm_arm_put_virtual_time(CPUState *cs); - void kvm_arm_vm_state_change(void *opaque, bool running, RunState state); int kvm_arm_vgic_probe(void); diff --git a/target/arm/kvm.c b/target/arm/kvm.c index 55e1b4f26e9..84f300c602b 100644 --- a/target/arm/kvm.c +++ b/target/arm/kvm.c @@ -704,7 +704,13 @@ int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu) return 0; } -void kvm_arm_get_virtual_time(CPUState *cs) +/** + * kvm_arm_get_virtual_time: + * @cs: CPUState + * + * Gets the VCPU's virtual counter and stores it in the KVM CPU state. + */ +static void kvm_arm_get_virtual_time(CPUState *cs) { ARMCPU *cpu = ARM_CPU(cs); int ret; @@ -722,7 +728,13 @@ void kvm_arm_get_virtual_time(CPUState *cs) cpu->kvm_vtime_dirty = true; } -void kvm_arm_put_virtual_time(CPUState *cs) +/** + * kvm_arm_put_virtual_time: + * @cs: CPUState + * + * Sets the VCPU's virtual counter to the value stored in the KVM CPU state. + */ +static void kvm_arm_put_virtual_time(CPUState *cs) { ARMCPU *cpu = ARM_CPU(cs); int ret;