From nobody Mon Feb 9 03:14:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1652778487; cv=none; d=zohomail.com; s=zohoarc; b=RVOLPf+glLndDQd/pz84UuZSM2wza9TdQJtSc+WX1ah2DcHpuybe68K0lFpHA7FM8Ft34wqtFGHijDRe8w95W/J/bQfa6HowLLXREJwI0nAnRL/EjNx7VeTjO5nRtnH3X3Qce7m8sFWi4LiclQJ2v93JAr1hRQvSgyxMdXfw2XQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652778487; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jws3hnD7w1b5wHQ1oeIdDU2BSD0HECoeDUDtJ1nygd4=; b=g8g6Q8PijAWfS71OUxoJQwOitIZhqaKzxQgy7f+M0bGlW6yimdcU2CrsQoPbBvlV+11xR0sVhQlq6ghEsmyb6SVJZeF+DyMICSoFQ7GZ1l/tUVaaUYhYyStuC5rv7BedMqNjJveCV29UNoEPni06Mo1C7aQUz/Y0dYwadBKUwpg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 165277848766467.64598760527667; Tue, 17 May 2022 02:08:07 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-44-JFRHbg6uOeOeqmEvNXgPUw-1; Tue, 17 May 2022 05:07:40 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3D5371C3E9A9; Tue, 17 May 2022 09:07:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 29593492C14; Tue, 17 May 2022 09:07:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CFE81194705F; Tue, 17 May 2022 09:07:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2B9741947063 for ; Tue, 17 May 2022 09:07:36 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0A1DB156D12E; Tue, 17 May 2022 09:07:36 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 851F7156D120 for ; Tue, 17 May 2022 09:07:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652778486; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=jws3hnD7w1b5wHQ1oeIdDU2BSD0HECoeDUDtJ1nygd4=; b=Id0dPm25X4tiXVpmb+ds7D61PRQKH99UpK0nUeGcVZnGPiTWsvltWbEihs0RPJB5TXBu1r YVseyn2FLiBGYhcbcoVZr/cVELLDcgqRm8qxytKJ5dyQ9K9DfUp5+SthXkbuX2K7E2LFCT Y4gG3r9Mex6Gfsh1CauOJPLiTT24rAY= X-MC-Unique: JFRHbg6uOeOeqmEvNXgPUw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 9/9] qemu: fd: Fix documentation for FD set related functions Date: Tue, 17 May 2022 11:07:26 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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: 1652778488417100005 Content-Type: text/plain; charset="utf-8" When dealing with fdsets only we don't need to pass the FD first as we now generate fdset name directly. Also there are no more caveats in passing multiple FDs. Signed-off-by: Peter Krempa --- src/qemu/qemu_fd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/qemu/qemu_fd.c b/src/qemu/qemu_fd.c index b7dd66bdc7..266177b496 100644 --- a/src/qemu/qemu_fd.c +++ b/src/qemu/qemu_fd.c @@ -102,9 +102,8 @@ qemuFDPassNew(const char *prefix, * @fd: File descriptor to pass * @suffix: Name suffix for the file descriptor name * - * Adds @fd to be passed to qemu when transferring @fdpass to qemu. When @= fdpass - * is configured to use FD set mode, multiple file descriptors can be pass= ed by - * calling this function repeatedly. + * Adds @fd to be passed to qemu when transferring @fdpass to qemu. + * Multiple file descriptors can be passed by calling this function repeat= edly. * * @suffix is used to build the name of the file descriptor by concatenati= ng * it with @prefix passed to qemuFDPassNew. @suffix may be NULL, in which = case @@ -223,8 +222,6 @@ qemuFDPassTransferMonitorRollback(qemuFDPass *fdpass, * @fdpass: The fd passing helper struct * * Returns the path/fd name that is used in qemu to refer to the passed FD. - * Note that it's only valid to call this function after @fdpass was alrea= dy - * transferred to the command or monitor. */ const char * qemuFDPassGetPath(qemuFDPass *fdpass) --=20 2.35.3