[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 12/14] hmp: Print "share" property of memory backends with
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH v5 12/14] hmp: Print "share" property of memory backends with "info memdev" |
Date: |
Wed, 14 Apr 2021 19:56:00 +0100 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* David Hildenbrand (david@redhat.com) wrote:
> Let's print the property.
>
> Cc: Markus Armbruster <armbru@redhat.com>
> Cc: Eric Blake <eblake@redhat.com>
> Cc: Igor Mammedov <imammedo@redhat.com>
> Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> 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);
> --
> 2.30.2
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
- [PATCH v5 09/14] hostmem: Wire up RAM_NORESERVE via "reserve" property, (continued)
- [PATCH v5 09/14] hostmem: Wire up RAM_NORESERVE via "reserve" property, David Hildenbrand, 2021/04/13
- [PATCH v5 10/14] qmp: Clarify memory backend properties returned via query-memdev, David Hildenbrand, 2021/04/13
- [PATCH v5 11/14] qmp: Include "share" property of memory backends, David Hildenbrand, 2021/04/13
- [PATCH v5 13/14] qmp: Include "reserve" property of memory backends, David Hildenbrand, 2021/04/13
- [PATCH v5 14/14] hmp: Print "reserve" property of memory backends with "info memdev", David Hildenbrand, 2021/04/13
- [PATCH v5 12/14] hmp: Print "share" property of memory backends with "info memdev", David Hildenbrand, 2021/04/13