qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH v4] hmp, qmp: introduce memory-size-summary commands
@ 2017-07-28 12:10 Vadim Galitsyn
  2017-07-28 12:10 ` [Qemu-devel] [PATCH v5 1/3] Extend "info numa" with hotplugged memory information Vadim Galitsyn
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Vadim Galitsyn @ 2017-07-28 12:10 UTC (permalink / raw)
  To: Dr . David Alan Gilbert, Markus Armbruster, Igor Mammedov,
	Eric Blake, Eduardo Habkost, David Hildenbrand, qemu-devel

Hi Guys,

This thread is a continuation of discussion from:
  http://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg01565.html

I will post changes list here in cover letter.

v5:
 * hmp: Updated description and '.help' message for
   'info memory-size-summary' command.

 * hmp: Removed '-' characters from
   'info memory-size-summary' output.

 * Dropped ballooned memory information.

 * get_existing_hotpluggable_memory_size() assumed
   to never fail; routine now has no arguments and
   returns uint64_t; in case if target does not support
   memory hotplug, (uint64_t)-1 is returned.

 * MemoryInfo structure:
   * Removed @balloon-actual-memory field.
   * Field @hotpluggable-memory renamed
     to @hotunpluggable-memory.
   * Updated description for fields.

 * qmp: Updated description for
   query-memory-size-summary.

 * Patch v4 splitted into series.

v4:
 * Commands "info memory" and "query-memory" were renamed
   to "info memory-size-summary" and "query-memory-size-summary"
   correspondingly.
 * Descriptions for both commands as well as MemoryInfo structure
   fields were updated/renamed according to
   http://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg05972.html.
 * In MemoryInfo structure following fields are now optional:
   hotpluggable-memory and balloon-actual-memory.
 * Field "hotpluggable-memory" now not displayed in HMP if target
   has no CONFIG_MEM_HOTPLUG enabled.
 * Field "balloon-actual-memory" now not displayed in HMP if
   ballooning not enabled.
 * qapi_free_MemoryInfo() used in order to free corresponding memory
   instead of g_free().
 * #ifdef CONFIG_MEM_HOTPLUG was removed and replaced with stubs/ approach.
   get_exiting_hotpluggable_memory_size() function was introduced in
   hw/mem/pc-dimm.c (available for all targets which have CONFIG_MEM_HOTPLUG
   enabled). For other targets, there is a stub in stubs/qmp_pc_dimm.c.
   In addition, stubs/qmp_pc_dimm_device_list.c was renamed to
   stubs/qmp_pc_dimm.c in order to reflect actual source file content.
 * Commit message was updated in order to reflect what was changed.

v3:
 * Use PRIu64 instead of 'lu' when printing results via HMP.
 * Report zero hot-plugged memory instead of reporting error
   when target architecture has no CONFIG_MEM_HOTPLUG enabled.

v2:
 * Fixed build for targets which do not have CONFIG_MEM_HOTPLUG
   enabled.

Best regards,
Vadim

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [Qemu-devel] [PATCH v4] hmp, qmp: introduce memory-size-summary commands
@ 2017-06-30 13:31 Vadim Galitsyn
  2017-06-30 13:31 ` Vadim Galitsyn
  0 siblings, 1 reply; 23+ messages in thread
From: Vadim Galitsyn @ 2017-06-30 13:31 UTC (permalink / raw)
  To: Mohammed Gamal, Dr . David Alan Gilbert, Markus Armbruster,
	Igor Mammedov, Eric Blake, qemu-devel

Hi Guys,

This thread is a continuation of discussion started at http://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg05972.html.

Vadim

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-08-16 11:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 12:10 [Qemu-devel] [PATCH v4] hmp, qmp: introduce memory-size-summary commands Vadim Galitsyn
2017-07-28 12:10 ` [Qemu-devel] [PATCH v5 1/3] Extend "info numa" with hotplugged memory information Vadim Galitsyn
2017-07-28 12:10 ` [Qemu-devel] [PATCH v5 2/3] qmp: introduce query-memory-size-summary command Vadim Galitsyn
2017-07-28 18:25   ` Eric Blake
2017-08-14 14:23   ` Markus Armbruster
2017-08-15  7:51   ` Igor Mammedov
2017-08-15 15:43     ` Vadim Galitsyn
2017-08-15 16:11       ` Igor Mammedov
2017-08-16  6:01       ` Markus Armbruster
2017-08-16 11:10         ` Vadim Galitsyn
2017-07-28 12:10 ` [Qemu-devel] [PATCH v5 3/3] hmp: introduce 'info memory-size-summary' command Vadim Galitsyn
2017-07-28 18:27   ` Eric Blake
2017-08-15 15:47     ` Vadim Galitsyn
2017-08-14 14:25   ` Markus Armbruster
2017-08-14 14:32 ` [Qemu-devel] [PATCH v4] hmp, qmp: introduce memory-size-summary commands Markus Armbruster
2017-08-15  7:54   ` Igor Mammedov
  -- strict thread matches above, loose matches on Subject: below --
2017-06-30 13:31 Vadim Galitsyn
2017-06-30 13:31 ` Vadim Galitsyn
2017-07-07  7:30   ` Markus Armbruster
2017-07-07  7:43     ` Markus Armbruster
2017-07-07  8:06     ` Dr. David Alan Gilbert
2017-07-07  8:58       ` Markus Armbruster
2017-07-07 16:20         ` Vadim Galitsyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).