From nobody Mon Feb 9 13:39:10 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1619008986; cv=none; d=zohomail.com; s=zohoarc; b=Y9r4PVYQWXH6SAyLTVaeoUamt8WURVuIqnNJwbIOmGoIfOdeIal62w10gNMfFDpqiGq2BoWrAaR8wAfLCJS+gwOPNDvw8fZ3ybLydQRHJwPAcRG0FHIWCE3q9+XxO5PaIvaP+fnNHiHrK+7MAG60JKJl8OHmJJszl7zGH8LtnQU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619008986; 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=kRE9rLADXdYTmtyzwyZPM4wY6cNtfvIrGUpEOUMNnHw=; b=l5zSnL9Jqy/rbylGEd4BgTg/tZ63rqyQA6X98F3WYzbkT2oniiO137iRDCI+J+l2p59FGdsFlzmRjadZcqZK2WKR7ojJelANvhvJDv6rX7GbvGwBDX64bt23NL0jFiOL5q5GFOiGV+Fsut1Cjl/FXOA1wuK3Z0qw0UHpMpH2wDc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail 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 1619008986526527.3871407703813; Wed, 21 Apr 2021 05:43:06 -0700 (PDT) Received: from localhost ([::1]:50494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZCC9-0001tY-ES for importer@patchew.org; Wed, 21 Apr 2021 08:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZByQ-0006qf-WD for qemu-devel@nongnu.org; Wed, 21 Apr 2021 08:28:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:53628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZByN-0002N8-1W for qemu-devel@nongnu.org; Wed, 21 Apr 2021 08:28:54 -0400 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-498-FzTeSOqBNZqAHuDVKSjkDQ-1; Wed, 21 Apr 2021 08:28:47 -0400 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 D6DC3835BAE; Wed, 21 Apr 2021 12:28:46 +0000 (UTC) Received: from t480s.redhat.com (ovpn-113-224.ams2.redhat.com [10.36.113.224]) by smtp.corp.redhat.com (Postfix) with ESMTP id 498FE5C1B4; Wed, 21 Apr 2021 12:28:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619008129; 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=kRE9rLADXdYTmtyzwyZPM4wY6cNtfvIrGUpEOUMNnHw=; b=dWslazC5toXgdZ53LQPPxIWSzpfKaLDq1fd5m1rLr573JsACDtLyc2UI9XY0hC9u0U0WPW Gxxx73dF8H24k6GO5U6q9h1WC75JrHTr0qeowOi9cHB1Hz0pGbXiuy4CGc0AX2/BWCF88K +qXZZCNnZPFJNsllHVsT0HwNBJDqe1E= X-MC-Unique: FzTeSOqBNZqAHuDVKSjkDQ-1 From: David Hildenbrand To: qemu-devel@nongnu.org Subject: [PATCH v6 13/15] hmp: Print "share" property of memory backends with "info memdev" Date: Wed, 21 Apr 2021 14:26:22 +0200 Message-Id: <20210421122624.12292-14-david@redhat.com> In-Reply-To: <20210421122624.12292-1-david@redhat.com> References: <20210421122624.12292-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=170.10.133.124; envelope-from=david@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Marcel Apfelbaum , Murilo Opsfelder Araujo , Eduardo Habkost , "Michael S. Tsirkin" , Markus Armbruster , David Hildenbrand , Richard Henderson , "Dr. David Alan Gilbert" , Peter Xu , Greg Kurz , Stefan Hajnoczi , Igor Mammedov , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Let's print the property. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Dr. David Alan Gilbert Cc: Markus Armbruster Cc: Eric Blake Cc: Igor Mammedov Signed-off-by: David Hildenbrand Reviewed-by: Eduardo Habkost Reviewed-by: Markus Armbruster --- hw/core/machine-hmp-cmds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/core/machine-hmp-cmds.c b/hw/core/machine-hmp-cmds.c index 58248cffa3..004a92b3d6 100644 --- a/hw/core/machine-hmp-cmds.c +++ b/hw/core/machine-hmp-cmds.c @@ -110,6 +110,8 @@ void hmp_info_memdev(Monitor *mon, const QDict *qdict) m->value->dump ? "true" : "false"); monitor_printf(mon, " prealloc: %s\n", m->value->prealloc ? "true" : "false"); + monitor_printf(mon, " share: %s\n", + m->value->share ? "true" : "false"); monitor_printf(mon, " policy: %s\n", HostMemPolicy_str(m->value->policy)); visit_complete(v, &str); --=20 2.30.2