From nobody Tue Sep 9 19:05:55 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1753972550; cv=none; d=zohomail.com; s=zohoarc; b=mcIgmCCnK3J/aJc1MWSBAU514P+VeMGxjVfXUWWl78l+I4s9oEOz+OG9li2n/nrvNjTF8l5tqZV7nIlGPe63PzVB+IKE2Dxzk83EwUXNu0N/McAP3Y0V7mW51yy7o9ODXvKZOyCSRF0QbQGaUV8J4cv9hEBTqZnlsCeLuRy1Y9o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1753972550; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=6x6wYJY6WBf/3rQJzCF8oskwbTz8zv+MqL+FeH1gSdg=; b=TLCIqkoyzr3uq5JSbHxtxwCVViEpSAe8ZaAv1fTyQSNicQrwmiG98v+lrEMi2cK5z0ZqkjOe1GP22YWbYOleDWB5TDH/r1Y5A+TDwA6CdtaAXAnr3el+fimrU4cNtdOmy/ooGrICr8ieY2dJ1a3zIDFAaGh/7Ncgmr7VmAy6qRM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1753972550889595.2113041024165; Thu, 31 Jul 2025 07:35:50 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id E8A871244; Thu, 31 Jul 2025 10:35:49 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 55897CA0; Thu, 31 Jul 2025 10:34:32 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 6DDF2BB1; Thu, 31 Jul 2025 10:34:27 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id DF563BB1 for ; Thu, 31 Jul 2025 10:34:25 -0400 (EDT) Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-448-nkgfkbT2NQ-Z224Dq1x9JQ-1; Thu, 31 Jul 2025 10:34:23 -0400 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 00B1D1956094 for ; Thu, 31 Jul 2025 14:34:23 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.29]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EB98D3000218; Thu, 31 Jul 2025 14:34:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1753972465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pw+c5EGJFa4f2JnlPX8ofy71yAuX5yWaY02s8VtTU/8=; b=MWPw1m6LEIRGayVtJ/srdr1PNLp/8PtA4EmtIiL4OXlQn4OjdT6pWUc0nSKx4qblwHZ7fR HvYz/yoHIkKK5H15bnUgCEoYQO9N7Vsjwe6fN8g6PMmN9KbCNsDyHvaAvCOjY7CabNlmFu WEwZzkq7kVBJNaW3v17hWA5ULFQkqkc= X-MC-Unique: nkgfkbT2NQ-Z224Dq1x9JQ-1 X-Mimecast-MFC-AGG-ID: nkgfkbT2NQ-Z224Dq1x9JQ_1753972463 To: devel@lists.libvirt.org Subject: [PATCH 3/5] qemu: domain: Remove unused qemuDomainGetVcpuHalted Date: Thu, 31 Jul 2025 16:34:11 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Y7K5-sWQkGuRsSRdEAVMkY2IE-2GSFhB13_XXQLFRz0_1753972463 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: XPF5U5NSOLJPL63P6VBM4CSEGZ3SRZPC X-Message-ID-Hash: XPF5U5NSOLJPL63P6VBM4CSEGZ3SRZPC X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Peter Krempa X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1753972552591116600 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Signed-off-by: Peter Krempa --- src/qemu/qemu_domain.c | 15 --------------- src/qemu/qemu_domain.h | 1 - 2 files changed, 16 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index a2c7c88a7e..e45757ccd5 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -8603,21 +8603,6 @@ qemuDomainRefreshVcpuInfo(virDomainObj *vm, return ret; } -/** - * qemuDomainGetVcpuHalted: - * @vm: domain object - * @vcpu: cpu id - * - * Returns the vCPU halted state. - */ -bool -qemuDomainGetVcpuHalted(virDomainObj *vm, - unsigned int vcpuid) -{ - virDomainVcpuDef *vcpu =3D virDomainDefGetVcpu(vm->def, vcpuid); - return QEMU_DOMAIN_VCPU_PRIVATE(vcpu)->halted; -} - /** * qemuDomainRefreshVcpuHalted: * @driver: qemu driver data diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index 1afd932764..ffe5bee1bf 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -870,7 +870,6 @@ int qemuDomainValidateVcpuInfo(virDomainObj *vm); int qemuDomainRefreshVcpuInfo(virDomainObj *vm, int asyncJob, bool state); -bool qemuDomainGetVcpuHalted(virDomainObj *vm, unsigned int vcpu); int qemuDomainRefreshVcpuHalted(virDomainObj *vm, int asyncJob); --=20 2.50.1