From nobody Sat Feb 7 07:36:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1643912468; cv=none; d=zohomail.com; s=zohoarc; b=JoD/1zKcsgDZYKN2UCgx6bR9CpMr5qdSGp/vOTIRH8t77aXbgymiadSmO2eH+aIIPmW/mjmlniPAln1YsBGQA/Fgr6asTnc9jMTkxSBqHSoDK+BTZ2HMPW4QnrvWWw3K7IY6W6XM0JVwsmgBWC0WKa4kiHaHbwpuFpurJFTGKMM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643912468; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=UJ750ZHvRzNOM4GLO7UXe/FXmHxtvzevM9jvaSgNC+I=; b=nSJff8+HaE84i0OUaJYl9lx6G6KYjMyi+KlEynZUpa7z5nFgrtNmwYnr9y7V2nz/sc+c688O495E2s2QYWyGDMyNsV4xABpANWR2dUBDLjN97DDGAFSAugFXVEEjKN6qabHpTCs2A9Rz2c36NBi+C5fta53R++22JCHC5QXY6XI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 164391246890089.46925858393195; Thu, 3 Feb 2022 10:21:08 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-394-AsNOKJpNORSyR12Yy0mWnQ-1; Thu, 03 Feb 2022 13:21:04 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C29B1192FDA3; Thu, 3 Feb 2022 18:20:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E446126364; Thu, 3 Feb 2022 18:20:57 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id F08721809CB8; Thu, 3 Feb 2022 18:20:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 213IKtfp001620 for ; Thu, 3 Feb 2022 13:20:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id 33E9C26379; Thu, 3 Feb 2022 18:20:55 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.218]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7053D26373 for ; Thu, 3 Feb 2022 18:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643912468; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UJ750ZHvRzNOM4GLO7UXe/FXmHxtvzevM9jvaSgNC+I=; b=Xw7O2ITrFQnttgih9t5AwSLb6YIwPTfwKpXjkbE/uywmeB97iu3v5Gpom/vWEvWp7kxftc 0oDphLaYIHUm2C1xzPVY55t0jlfgCvGzq/i0UbJljeNfoVDt6nyORFN2ziOQ9kLzyAkfQV DNiUt27Xa/UH8kr87BnR1/wMmlVGlSQ= X-MC-Unique: AsNOKJpNORSyR12Yy0mWnQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] conf: Fix documentation for virDomainDefGetShortName() Date: Thu, 3 Feb 2022 19:20:42 +0100 Message-Id: <20220203182042.429604-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1643912472191100001 Content-Type: text/plain; charset="utf-8" The @unique argument didn't exist even when the function was introduced in a042275a396e, and the @vm argument was not renamed when the function was changed to take a virDomainDef* instead of a virDomainObj* in 7ed6934f3b92. Signed-off-by: Andrea Bolognani Reviewed-by: Martin Kletzander --- src/conf/domain_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 467f708350..d66496c9b7 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -30086,8 +30086,7 @@ virDomainDefHasMemballoon(const virDomainDef *def) =20 /** * virDomainDefGetShortName: - * @vm: Machine for which to get a name - * @unique: Make sure the name is unique (use id as well) + * @def: domain definition * * Shorten domain name to avoid possible path length limitations. */ --=20 2.34.1