From nobody Mon Feb 9 07:41:16 2026 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=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1727092255235502.8240120972845; Mon, 23 Sep 2024 04:50:55 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 39ED11624; Mon, 23 Sep 2024 07:50:54 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 5205C1429; Mon, 23 Sep 2024 07:48:19 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id A727C12F2; Mon, 23 Sep 2024 07:48:06 -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 37B9613F1 for ; Mon, 23 Sep 2024 07:48:06 -0400 (EDT) Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-290-sudVbUUZPdy-1M2Wf6VddQ-1; Mon, 23 Sep 2024 07:48:04 -0400 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2f7593fbcecso29255471fa.2 for ; Mon, 23 Sep 2024 04:48:04 -0700 (PDT) Received: from wheatley.localdomain (37-188-137-5.red.o2.cz. [37.188.137.5]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90612b3ba7sm1206850566b.119.2024.09.23.04.48.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2024 04:48:02 -0700 (PDT) Received: from wheatley.pinto-pinecone.ts.net (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id B0E5C26732EE for ; Mon, 23 Sep 2024 13:48:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727092085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ntkwz8aE4Ot88HtpOWlwAvCRzpX9Lq1FkZNrPx479wY=; b=JYSqcZukQqdDap9cPDkGYE5rxqw3TDMbWTyMB+A4MlKmc/m4KVPgKSf27wLiCrXBafBbit emA0sn8BgBwfKN9Ufsof7JyidmPYv241BpUcJ0IuuFn9zxi+uN4k1rhj8LNTieC4UPOVh7 zCzelpwaVlit9PTa2Bafpd3bma+F3/M= X-MC-Unique: sudVbUUZPdy-1M2Wf6VddQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727092083; x=1727696883; 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=ntkwz8aE4Ot88HtpOWlwAvCRzpX9Lq1FkZNrPx479wY=; b=qrKBhSqSZ4zcn0y20MY2XUtNWtO0JIT4x9nQOPB6qUfe+FNUJ9Xo6kn5WU1rFLPMW4 vOpJL1z0pFWsD7/zqZjAFHXpSxxcM1y06R82y3qE09hQarpt6Uv4EZGMOnGcBc9up8Co nDCL98GtqkHfxpmNAfG6A3+H3DjorFoJFmZpRW8R6Tt48mELLv68gjOTr0cQJDS1lULd 8X533OD4+HkhYZ9rItWnz+tMnxt2AeJVLtWuDjwEWsDtOHgpIt5NATtbbx4CUCOfnGLs BD9Osr6oRlqyCGegIRG+L2M5VfsrSk9XjvlCf5IlNbACjBtQQdOwjL88NaPtlCd7FLCe Ftww== X-Gm-Message-State: AOJu0YyaZxnEe4cPJ1GbM5PUcaJ67t6kAxeHX1bOro3Wbg+hJTGJvLmc fRlTZLwJ2Rv3hl1QKzGd7afcUAhNDnaxP0P9N+NETHTaiqYz3ViM+7xjy/Xtz1P1nzAM0Zzgc0J 9zErI9Rf9Q0O6jOuu/bqa2AZ6iVmlQL8XV75sxtz9ZG+5PJEMMCgtq3YGrtXzz9/N4yKWKg0Ohz KUiVCReUslubC1mCzNvhGaQotG0Re+BBDi+2RMmXE= X-Received: by 2002:a05:651c:1504:b0:2f6:6198:1cfa with SMTP id 38308e7fff4ca-2f7cb371b63mr74888241fa.41.1727092083233; Mon, 23 Sep 2024 04:48:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMNlT86+QmnXMNIrOTWMLHcZtoBmtPkAD5gCX8p9bdzyvnq6kjDTos6arvRWTGSHmdKV9F4A== X-Received: by 2002:a05:651c:1504:b0:2f6:6198:1cfa with SMTP id 38308e7fff4ca-2f7cb371b63mr74887871fa.41.1727092082617; Mon, 23 Sep 2024 04:48:02 -0700 (PDT) From: Martin Kletzander To: devel@lists.libvirt.org Subject: [PATCH v2 6/8] qemu: Make qemuGetMemoryBackingDomainPath static Date: Mon, 23 Sep 2024 13:47:56 +0200 Message-ID: <47fa9f6e4c01376c8f575f8c52ff6b7c706e70c3.1727092045.git.mkletzan@redhat.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: UNYYDIWQNE3OETFX5YUB43WGPOZHYP7X X-Message-ID-Hash: UNYYDIWQNE3OETFX5YUB43WGPOZHYP7X X-MailFrom: mkletzan@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1727092256791116600 Content-Type: text/plain; charset="utf-8"; x-default="true" After previous patches it is not used (and should not be used) outside of qemu_domain.c. Signed-off-by: Martin Kletzander --- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_domain.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 3e80313ab748..a92eaef80af0 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -1735,7 +1735,7 @@ qemuDomainSecretPrepare(virQEMUDriver *driver, } =20 =20 -int +static int qemuGetMemoryBackingDomainPath(qemuDomainObjPrivate *priv, const virDomainDef *def, char **path) diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index dcff4272b869..cb42577ee51a 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -939,10 +939,6 @@ void qemuDomainCleanupStorageSourceFD(virStorageSource= *src); void qemuDomainStartupCleanup(virDomainObj *vm); =20 =20 -int qemuGetMemoryBackingDomainPath(qemuDomainObjPrivate *priv, - const virDomainDef *def, - char **path); - int qemuGetMemoryBackingPath(qemuDomainObjPrivate *priv, const char *alias, char **memPath); --=20 2.46.1