From nobody Sun Feb 8 12:38:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 14912086343982.0399601351773526; Mon, 3 Apr 2017 01:37:14 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 3121661D02; Mon, 3 Apr 2017 08:37:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F028A5C887; Mon, 3 Apr 2017 08:37:12 +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 A5F9E5EC60; Mon, 3 Apr 2017 08:37:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v338aBBZ002616 for ; Mon, 3 Apr 2017 04:36:11 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5A4917E2E5; Mon, 3 Apr 2017 08:36:11 +0000 (UTC) Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F11B77EC9; Mon, 3 Apr 2017 08:36:05 +0000 (UTC) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 921EA81F01; Mon, 3 Apr 2017 08:36:04 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id g2so28279685pge.2; Mon, 03 Apr 2017 01:36:04 -0700 (PDT) Received: from prerna-saxena.dev.eng.nutanix.com. (206-15-90-246.static.twtelecom.net. [206.15.90.246]) by smtp.gmail.com with ESMTPSA id e76sm24218555pfk.75.2017.04.03.01.36.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 01:36:02 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3121661D02 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3121661D02 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Hksa78Fp" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 921EA81F01 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=saxenap.ltc@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 921EA81F01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iEaw1C681bKrfQgMPGTWByVebGJR/K1wSPs0LYDgCJo=; b=Hksa78FptslOTbYvrvm51nY09wK7G0PzM2OmxJ/llYiIc1Q/S9z/luhQBpWIgwEGxH N/AgFEPwyCx+eZ0rIG9rJ9LAN/Z+JrrEhyPPVRwQDTRad2BUBJkdvThDioOoAECdmbo7 98ytWhLGbYHJlHzaHFoLM9QNGkbgYvJCRiP3lJVBkeYNkvARS9zuy9MUb5QB569ey5WL 2JlKkvAs2qHOSXzPGWV8bBTA4pXenQe86WvH/t+B2f2/8KdiTFjunFrrVdVqCVEMNQTs vYoIWF0796tMmXiSaX/6F6uTjeVBqTycw96OIAEQNhzD8lRoJ8w+BH6E2ZO8HZqsD/sG Zrgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iEaw1C681bKrfQgMPGTWByVebGJR/K1wSPs0LYDgCJo=; b=PTDmseDwO2HsbJvEzjQb89/DhgzUpWLtzpdXdXgVIYMBUz/+YaakF2okcle/THFI5d XtN0cGVRxFPtNlzfSQPuOsdYlNPbY+Xt9kUVqe9cHPBB0IOeU7cXV0YViOBzTBuhpNQr i8HzLXgFMlG6jT8QpuFdLNsFLAbHYPKMjZ7yoWcZaEZjiklhrbyL/+If+A4oM51afYL+ 44hNFii3Kvz/2cYEfo17yQJg0YWthoQmip+ZKEWjrPUdpNFPtJF4Xq17t27yOgrepcP3 HT/ZAchC6kiPSyFWUMVk/fX+ny4QWzxhwalpQKSnm8CJcrgcWRrMHrG4vJUKOdpCKTMl fSbw== X-Gm-Message-State: AFeK/H2B507qqmBBGAgXudxHKontVLmrtoVibeYsCgH66/P7nZAcuYGqquJ9+IUt0WRlaw== X-Received: by 10.84.241.14 with SMTP id a14mr19797660pll.117.1491208563812; Mon, 03 Apr 2017 01:36:03 -0700 (PDT) From: Prerna Saxena To: libvir-list@redhat.com Date: Mon, 3 Apr 2017 01:35:54 -0700 Message-Id: <1491208554-20716-3-git-send-email-saxenap.ltc@gmail.com> In-Reply-To: <1491208554-20716-1-git-send-email-saxenap.ltc@gmail.com> References: <1491208554-20716-1-git-send-email-saxenap.ltc@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 03 Apr 2017 08:36:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 03 Apr 2017 08:36:04 +0000 (UTC) for IP:'74.125.83.67' DOMAIN:'mail-pg0-f67.google.com' HELO:'mail-pg0-f67.google.com' FROM:'saxenap.ltc@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 74.125.83.67 mail-pg0-f67.google.com 74.125.83.67 mail-pg0-f67.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: pkrempa@redhat.com Subject: [libvirt] [PATCH v2 2/2] Debug: Report VM errors more concisely. 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 03 Apr 2017 08:37:13 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Current logs: error : qemuProcessFindDomainDiskByAlias:411 : internal error: no disk foun= d with alias ide0-0-0 There is no way to find which VM was seeing this error. Makes debugging very hard, and the message itself is no good. Signed-off-by: Prerna Saxena --- src/qemu/qemu_process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index e450d06..0a052e8 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -367,8 +367,8 @@ qemuProcessFindDomainDiskByAlias(virDomainObjPtr vm, } =20 virReportError(VIR_ERR_INTERNAL_ERROR, - _("no disk found with alias %s"), - alias); + _("VM %s: no disk found with alias %s"), + vm->def->name, alias); return NULL; } =20 --=20 1.8.1.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list