From nobody Fri Dec 19 04:19:03 2025 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=1679146727; cv=none; d=zohomail.com; s=zohoarc; b=GhCpOeZu2QhmzyNoIp/G7aMWiWjIIKzD9/hc36Vd0c7xdYFQGSNul9r+virV1gx0YSGvqdLcVBgIsv9Q2U7KgonVreDd7tNIeNsPlPEqL9VW1iyX1c4DVPSbR3m78Gz/cSu50Up0aAh0uLAzuVvE2zdWC/PNI7WzFdEPtPlkP7A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1679146727; 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=ED5XQRpajtgMJI73vbTf322TI/JLsa34wHF72Vjsrec=; b=lS+yEjd1rZhndzpvWkpRdSKR5qnqfUorF5NNS9X9zIFq62/a+2yI5ohlNNiAgq7IQhzmvDXe7XYkmUYBzqVS6wIMPL8+COw5F5/ElI3t7nhbVsroXpbzdrRDNzmXxIf5QUSXPalV6XvOTurhLRUOIW0+GxPUra2J0p3SroMed+o= 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 1679146727249130.6333263605444; Sat, 18 Mar 2023 06:38:47 -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-99-vMMSfut0MFyybcxjoIJuzw-1; Sat, 18 Mar 2023 09:38:40 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4344B3813F54; Sat, 18 Mar 2023 13:38: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 2EBDB20267FB; Sat, 18 Mar 2023 13:38: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 183311946A50; Sat, 18 Mar 2023 13:38:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7C3521946A4B for ; Sat, 18 Mar 2023 13:38:34 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7320A406AA67; Sat, 18 Mar 2023 13:38:34 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.224.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id D09FF406AA66 for ; Sat, 18 Mar 2023 13:38:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679146726; 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=ED5XQRpajtgMJI73vbTf322TI/JLsa34wHF72Vjsrec=; b=WPTMoQi4YZuaK8KjmoqO0kizfznWLLrdbcbCAbseAioz6b5936PcoBraXMPYSK3FaIXKIQ xs7GWNb9V9fb+M00/Mkgf/c57VEJOTBlhsVy2HNQq5kCIwG65rmEV+NK86xk2TvB7W1tx+ /eylPvRX+hcWieLMqsFvhDTVP0jF78k= X-MC-Unique: vMMSfut0MFyybcxjoIJuzw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 7/8] Unify error message when namespaces are unsupported Date: Sat, 18 Mar 2023 14:38:26 +0100 Message-Id: <71de74d00393076acd93cb5527c22c81347fc62a.1679146695.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1679146728475100001 Some helpers used a period at the end, others did not. Signed-off-by: J=C3=A1n Tomko --- src/qemu/qemu_namespace.c | 2 +- src/util/virprocess.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qemu/qemu_namespace.c b/src/qemu/qemu_namespace.c index 89d631ee5a..ab50f47821 100644 --- a/src/qemu/qemu_namespace.c +++ b/src/qemu/qemu_namespace.c @@ -1392,7 +1392,7 @@ qemuNamespaceMknodPaths(virDomainObj *vm G_GNUC_UNUSE= D, bool *created G_GNUC_UNUSED) { virReportSystemError(ENOSYS, "%s", - _("Namespaces are not supported on this platform.= ")); + _("Namespaces are not supported on this platform"= )); return -1; } =20 diff --git a/src/util/virprocess.c b/src/util/virprocess.c index 39ca5de811..9143edc868 100644 --- a/src/util/virprocess.c +++ b/src/util/virprocess.c @@ -708,7 +708,7 @@ int virProcessSetNamespaces(size_t nfdlist G_GNUC_UNUSE= D, int *fdlist G_GNUC_UNUSED) { virReportSystemError(ENOSYS, "%s", - _("Namespaces are not supported on this platform.= ")); + _("Namespaces are not supported on this platform"= )); return -1; } #endif @@ -1491,7 +1491,7 @@ int virProcessSetupPrivateMountNS(void) { virReportSystemError(ENOSYS, "%s", - _("Namespaces are not supported on this platform.= ")); + _("Namespaces are not supported on this platform"= )); return -1; } =20 @@ -1499,7 +1499,7 @@ int virProcessNamespaceAvailable(unsigned int ns G_GNUC_UNUSED) { virReportSystemError(ENOSYS, "%s", - _("Namespaces are not supported on this platform.= ")); + _("Namespaces are not supported on this platform"= )); return -1; } =20 --=20 2.39.2