From nobody Fri Apr 26 18:58:20 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=1578655851; cv=none; d=zohomail.com; s=zohoarc; b=XB3DT5VPEgCyskvwmmeT5a4JVjAFx/FWNyU9XOMHkVoovFUjJ0Z/8LTa0x6O/77cxuosUzqFJW2nnbN2TssEWGEW4E9qUqFv81RQ3xHEZBQJEI30Uuhh2VrmSqWHlSFHBySI3WmM5Q3QyjmRt5n4QEDFMeuBpl9DcsYqISc+bPU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578655851; 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=rFnjBelqas3zrNFvVewubvTEED/aDfoPLBMqgcj5iBc=; b=Seic+F2svIScv6k/D36F83bVHn7NVOwSzCxVUAeqxbJW/GMABVL611425OhRHeosveKTZBVmI11Q814sFg/3/GZi69LykjU6GLFI7dBNcMfJ2e5LZoCwOjw7pt6kjaS4wN8KDMW+aCPawrBy2PONHkK/Eep5Z1AwxuIquMB6vdQ= 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 1578655851079376.2113187566707; Fri, 10 Jan 2020 03:30:51 -0800 (PST) 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-274-Y7IeHH0vOCCFpuYywpxA7A-1; Fri, 10 Jan 2020 06:30:47 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E2151DB97; Fri, 10 Jan 2020 11:30:42 +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 BCB125C1D4; Fri, 10 Jan 2020 11:30:42 +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 7A100503C3; Fri, 10 Jan 2020 11:30:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00ABToCs006025 for ; Fri, 10 Jan 2020 06:29:50 -0500 Received: by smtp.corp.redhat.com (Postfix) id B1F7310016E8; Fri, 10 Jan 2020 11:29:50 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 389D910016DA for ; Fri, 10 Jan 2020 11:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578655850; 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=rFnjBelqas3zrNFvVewubvTEED/aDfoPLBMqgcj5iBc=; b=MU3BONq532bOHD1LTevKl0TszBPni8zx/5ElOZAE3HKDupNzhBKtoZcoSeBbf2esvoA/sD mWk1u6PVYiHB7gmKPBblEM9xHBjVk+s/1FPE7zt0tG7rlpY2Mp5gOoDiw3xUC8k2bx98rq u1TtqAbxxPW5E8cEXRv1R/sDiuixtyM= From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 10 Jan 2020 12:29:45 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/2] util: storage: Link to knowledge base when reporting missing image backing format 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.16 X-MC-Unique: Y7IeHH0vOCCFpuYywpxA7A-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Mention the knowledge base article which has tips how to fix the backing chain to work with current libvirt. Signed-off-by: Peter Krempa Reviewed-by: Daniel P. Berrang=C3=A9 --- src/util/virstoragefile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index e46ac99219..1397f532fd 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -4979,7 +4979,8 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr = src, */ if (report_broken) { virReportError(VIR_ERR_OPERATION_INVALID, - _("format of backing image '%s' of image '%= s' was not specified in the image metadata"), + _("format of backing image '%s' of image '%= s' was not specified in the image metadata " + "(See https://libvirt.org/kbase/backing_c= hains.html for troubleshooting)"), src->backingStoreRaw, NULLSTR(src->path)); return -1; } --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Fri Apr 26 18:58:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1578655855; cv=none; d=zohomail.com; s=zohoarc; b=A4RTlyH9czG773f2PvMc15tRZuBeME0amYrIL1HN3pI+Y6EATod/9qxGiwAvJQ5iHst8R70WS5f6cjt8375Zlano9sdGP2GG0ruALgzQM4u5SOgNBq6bY0ECV70cTBLHIIx7XGnZ7VG/JE94WW/syqV6rvvM2lhBclkHlSUmzFw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578655855; 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=EJbephBtfx2JIurDR9wbjGQ4FlSD4QlWQ0Tr/vfbCAs=; b=bhHLuGOJEo4WAB70zC0y1GpcQDWJleis03q5OpZFgDWT58Ctkkk5o/U28MfWrniIH7ji5+BejcWuS9B2TlbthckOvVhvJrKcaZ+DjS3MvfOpj/wFJ51QgwtxQ2hdh1sXxL4ml9B9QPTd8lEvq6+e2PgFvpYqYQIPJnyQvK15gdk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1578655855889478.5025873866322; Fri, 10 Jan 2020 03:30:55 -0800 (PST) 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-267-GUUInrFOPTSWQPVi6qWkOg-1; Fri, 10 Jan 2020 06:30:52 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9B92718CA270; Fri, 10 Jan 2020 11:30:46 +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 6E90360F82; Fri, 10 Jan 2020 11:30:46 +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 1C5A1503D8; Fri, 10 Jan 2020 11:30:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00ABTpEL006035 for ; Fri, 10 Jan 2020 06:29:51 -0500 Received: by smtp.corp.redhat.com (Postfix) id 840FB10016E8; Fri, 10 Jan 2020 11:29:51 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A8E010016DA for ; Fri, 10 Jan 2020 11:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578655854; 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=EJbephBtfx2JIurDR9wbjGQ4FlSD4QlWQ0Tr/vfbCAs=; b=Jus74N0NYIEOnnQ2HDnAjH2NmGgZtga9OSoQtw3X2i498V4o8ZYGkprhBj/wlLEQa/oUl6 A+N+HCcEO9t1r2UFVIoI3fqo1lXjFM1cyRse7DGc+3iX+EnnvrsiNHGyxpXNCi3eEDorSf tIbktONFI2gn8lLm+MAtS5+geosJLjE= From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 10 Jan 2020 12:29:46 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/2] news: Mention problems with backing image format probing 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.12 X-MC-Unique: GUUInrFOPTSWQPVi6qWkOg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/news.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index 1af57f8af0..4f1bea4fb5 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -88,6 +88,19 @@
+ + + qemu: Report error if backing image format is not specified expl= icitly + + + For a long time libvirt was assuming that a backing file is RAW = when + the format was not specified. This didn't pose a problem until b= lockdev + support was enabled in last release. Libivrt now requires that + the format is specified in the image metadata or domain XML and = the + VM will refuse to start otherwise. Additionally the error message + now links to the knowledge base which summarizes how to fix the = images. + +
--=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list