From nobody Thu May 2 11:11:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1592303950; cv=none; d=zohomail.com; s=zohoarc; b=nrMDx/SyFDXiV6oZo44eFLyAI5eI1jCBj63wu/0/l8TlK//aF3GqhLCqOHxEdHa1i6NhLRJn2iJoWi08dHGRbISzNbcH9HDZLDfDrf28eaE8STKyMfLqdU1xtdjj1bGSCGaPvIAbi2C8W4/BIrRBZ47CTuYCHYaSqq8wfDjv+Eg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592303950; 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=IQHPryluWE4ZZsYoVFY4aTLsjO7KG9KpFE7mTz8ujoI=; b=CZg2nKBL35GN6567UvhI4oS2l12TUfMWNBXHaveTH+SLIdIv2xUqYxtV/8XY1htp6cnJkLNNRj+zYoYkBVF+WAkjn+6ZLWYmu00X08I5r/xCslwUMPr7NWXR0gvrQ8bXOVJ1ppSKZ0zido34xjVnm8AkOSIE5/YX9AVVDnPo4uM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1592303950336802.3996070519505; Tue, 16 Jun 2020 03:39:10 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-84-BFRJ64teMtWAjWvqRuNrRw-1; Tue, 16 Jun 2020 06:39:06 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 84AAE134C2; Tue, 16 Jun 2020 10:38:58 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 68E2A11CA58; Tue, 16 Jun 2020 10:38:55 +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 11816833C6; Tue, 16 Jun 2020 10:38:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 05GAclTN021614 for ; Tue, 16 Jun 2020 06:38:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id 98E467FE82; Tue, 16 Jun 2020 10:38:47 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.90]) by smtp.corp.redhat.com (Postfix) with ESMTP id 155A77C375 for ; Tue, 16 Jun 2020 10:38:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592303949; 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=IQHPryluWE4ZZsYoVFY4aTLsjO7KG9KpFE7mTz8ujoI=; b=Se0P3anWdiCoEYoiNs+QewYPwRSofvnMLeQPJxdRT3jGFT6mj7Nwpl5THci9JluZlxhlNB msvCEzmSDucccwyIFCrIkypmMXfSudtrU8GPKV7TR5oURm81Lo2Azt4R4+wQ/Bi7+oBDxR i2vUY1JTOQfQh32N4dMPy7COhSnaLEw= X-MC-Unique: BFRJ64teMtWAjWvqRuNrRw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] virQEMUDriverConfigNew: Add slash to cfg->defaultTLSx509certdir for non-embedded driver Date: Tue, 16 Jun 2020 12:38:43 +0200 Message-Id: <071b6f39048b7a67a7658f62472503c7b8bc2f9d.1592303923.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Commit 068efae5b1a9ef accidentally removed the slash. https://bugzilla.redhat.com/show_bug.cgi?id=3D1847234 Signed-off-by: Peter Krempa Reviewed-by: Andrea Bolognani --- src/qemu/qemu_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index b49299e1de..33b3989268 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -234,7 +234,7 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool priv= ileged, * directory doesn't exist (although we don't check if this exists). */ if (root =3D=3D NULL) { - cfg->defaultTLSx509certdir =3D g_strdup(SYSCONFDIR "pki/qemu"); + cfg->defaultTLSx509certdir =3D g_strdup(SYSCONFDIR "/pki/qemu"); } else { cfg->defaultTLSx509certdir =3D g_strdup_printf("%s/etc/pki/qemu", = root); } --=20 2.26.2