From nobody Mon Feb 9 08:10:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579764178; cv=none; d=zohomail.com; s=zohoarc; b=BTc0jQF1T4xpYT6AKXAP8jsGYanrX9fTJiKOu57Joxn7x5abefL9wIYBzxWFABqfoget3lIHlUbDYBUa2Teyarcs+qm9rcG8IIk/EARb9Wl61LtLMTzxEhLZLQaWsCD12g5xj6VIK0nfhuALakVnd1MiHHGKnOtdAvES+S3Yuhc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579764178; h=Content-Type:Content-Transfer-Encoding:Cc: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=rfFv49LFSLdXK1/7HJzZJqCabeu5CMr+Q9T61Qs2V4s=; b=Eto7LW6rn4PPHPxEQTD3nZTYxYwckBklB397PnPGtVAZUtfB+lQHajUEAqwUpG/3if5L4W6uNDPoJcPHs6Chea1rTpbN4q/s8/eTFsUE/YrUJ4zxSWdnrolJbx4xziacTYTUXeVUR+mjawFh9yMw7Y6ei0mQjsCc407ESNdqUAg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1579764178096923.5545098233216; Wed, 22 Jan 2020 23:22:58 -0800 (PST) Received: from localhost ([::1]:52148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuWpM-0002gK-EZ for importer@patchew.org; Thu, 23 Jan 2020 02:22:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37545) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuWdq-0006gI-KM for qemu-devel@nongnu.org; Thu, 23 Jan 2020 02:11:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuWdp-000057-Kq for qemu-devel@nongnu.org; Thu, 23 Jan 2020 02:11:02 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:36834 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuWdp-0008Vh-GY for qemu-devel@nongnu.org; Thu, 23 Jan 2020 02:11:01 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-EdXJv-HhOYimLgGB01mgtg-1; Thu, 23 Jan 2020 02:10:57 -0500 Received: by mail-wm1-f71.google.com with SMTP id t16so606769wmt.4 for ; Wed, 22 Jan 2020 23:10:57 -0800 (PST) Received: from redhat.com (bzq-79-176-0-156.red.bezeqint.net. [79.176.0.156]) by smtp.gmail.com with ESMTPSA id c2sm1808733wrp.46.2020.01.22.23.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 23:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579763461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rfFv49LFSLdXK1/7HJzZJqCabeu5CMr+Q9T61Qs2V4s=; b=AvcxUVB4RCizMNNX+8xrswZivYulAf6IhxKDpfLA+e5W2rVHGMTZi0qF0lziuu/e4GOBn7 w+owA6CaV06hQMzyQX0xpN9PmaCrI80Ze8jcjkOJSv8rn4Xtsi2odX8nniJw50Xd5vCWzF iFD2AWyRSlRcV45nLmlQSz1LrKy5WB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EdvlCEDlyygl5LZfs8930w7NjWVUhDfxRmswNGuyQBQ=; b=P1xl/GyCIQGJ8ZcS+Y/NlIPwHIW84e3FFGRn91wroLgGBSRmMj9WXlLPkqM7PL62QG rYsSVEo07phInB3A63FLQ2I7Zz2R5CCqGPEAWKPCLnnwHtNxdKQVH1xkPe94wbhoJCoB SHh9cRtnIQSvCFbvhg12sYmAKy1csjo2aiQ2z9wpcKmQwUoguzO2HVvP1obWzzAj965Y 0roKFepD0oaJhjTAdwt7obQF022k6vO2QsVPMPplRlQu2Vz6YDap2Bg5rfdXhqA808Gj IKfrBV6koU+osDf4AO4UolsKLk/RwjQ/Khd7CUbrVuyuXCTp3VtJfZ9nyeoN4XtujqoM u5zw== X-Gm-Message-State: APjAAAV9nSW+dCquv73MU9VFjyOe+REtrBOwOoaBw+t5uvhqV6M90yGJ GmRvKJjbLg/hdY8v5rBgbA1tcjxVGDcmyXM7cHnPjxPT3wpDu0tEQTxDlChMeV1XXptSoVUVSgs toVp8l39A/34xi0Y= X-Received: by 2002:a1c:488a:: with SMTP id v132mr2498159wma.153.1579763456133; Wed, 22 Jan 2020 23:10:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxy2KBbN9jBKdsimGRfOQOZiia3qxi7WRpKHhucsSTf8cgGd4oIC9ht/yvb+ze3tytaIkxwwQ== X-Received: by 2002:a1c:488a:: with SMTP id v132mr2498146wma.153.1579763455966; Wed, 22 Jan 2020 23:10:55 -0800 (PST) Date: Thu, 23 Jan 2020 02:10:53 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v3 15/18] vhost: Add names to section rounded warning Message-ID: <20200123070913.626488-16-mst@redhat.com> References: <20200123070913.626488-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200123070913.626488-1-mst@redhat.com> X-Mailer: git-send-email 2.24.1.751.gd10ce2899c X-Mutt-Fcc: =sent X-MC-Unique: EdXJv-HhOYimLgGB01mgtg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 207.211.31.81 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , "Dr. David Alan Gilbert" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: "Dr. David Alan Gilbert" Add the memory region names to section rounding/alignment warnings. Signed-off-by: Dr. David Alan Gilbert Message-Id: <20200116202414.157959-2-dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/virtio/vhost.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index 4da0d5a6c5..774d87d98e 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -590,9 +590,10 @@ static void vhost_region_add_section(struct vhost_dev = *dev, * match up in the same RAMBlock if they do. */ if (mrs_gpa < prev_gpa_start) { - error_report("%s:Section rounded to %"PRIx64 - " prior to previous %"PRIx64, - __func__, mrs_gpa, prev_gpa_start); + error_report("%s:Section '%s' rounded to %"PRIx64 + " prior to previous '%s' %"PRIx64, + __func__, section->mr->name, mrs_gpa, + prev_sec->mr->name, prev_gpa_start); /* A way to cleanly fail here would be better */ return; } --=20 MST