{"id":807153,"url":"http://patchwork.ozlabs.org/api/1.0/covers/807153/?format=json","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.0/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170829153022.27004-1-vadim.galitsyn@profitbricks.com>","date":"2017-08-29T15:30:19","name":"[v7,0/3] hmp, qmp: 'info memory_size_summary', 'query-memory-size-summary', 'info numa' updates","submitter":{"id":71788,"url":"http://patchwork.ozlabs.org/api/1.0/people/71788/?format=json","name":"Vadim Galitsyn","email":"vadim.galitsyn@profitbricks.com"},"series":[{"id":396,"url":"http://patchwork.ozlabs.org/api/1.0/series/396/?format=json","date":"2017-08-29T15:30:19","name":"hmp, qmp: 'info memory_size_summary', 'query-memory-size-summary', 'info numa' updates","version":7,"mbox":"http://patchwork.ozlabs.org/series/396/mbox/"}],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=profitbricks-com.20150623.gappssmtp.com\n\theader.i=@profitbricks-com.20150623.gappssmtp.com\n\theader.b=\"C+AbDPir\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhXfh3csMz9t38\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 01:31:24 +1000 (AEST)","from localhost ([::1]:45512 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dmiU6-0001j2-D4\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 11:31:22 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:46756)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <vadim.galitsyn@profitbricks.com>) id 1dmiTV-0001gi-SY\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 11:30:47 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <vadim.galitsyn@profitbricks.com>) id 1dmiTR-0003jw-Oo\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 11:30:45 -0400","from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:37785)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <vadim.galitsyn@profitbricks.com>)\n\tid 1dmiTR-0003fb-D4\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 11:30:41 -0400","by mail-wr0-x231.google.com with SMTP id n37so11243896wrf.4\n\tfor <qemu-devel@nongnu.org>; Tue, 29 Aug 2017 08:30:39 -0700 (PDT)","from debian-jessie.pb.local ([62.217.45.26])\n\tby smtp.gmail.com with ESMTPSA id\n\tx7sm1702459wme.34.2017.08.29.08.30.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 08:30:37 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=profitbricks-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id;\n\tbh=mEY3u6ObXwMrK/9e9MA9PFsGXeT3S9HiT7fuGAhRhSc=;\n\tb=C+AbDPirbLE2SXybteYmz9yrSwEy65sJUKXN2w3mnk7SFetX2bFW2iwNMZ/UgrWqu1\n\tXN8VLg6cJh3UCrVY9J6L3d3vBighBuV6aFwebJIE3ciW3nFxJ4bJ6zvYxuiLp78qojew\n\tPKIsmTEVc9uaVLziB2H1MMN808D8f5Hf8KqDQd/DRrR0tA0O4b/P3VmSAYs4rP+uHR6L\n\tiYQt9ZKuoZAHtdN9ULLNqFzvH/4V/fq+fiJIeFLJqRyOAJ7eD3QQaMJVkhoqeYoErCiB\n\tM7HwA0ETRiT1kOXDOkHl0WVcWiWyCymVqpe6dNjBUPzT8zgxGu66lZuyJtRrwWMKtSxw\n\tUSjQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=mEY3u6ObXwMrK/9e9MA9PFsGXeT3S9HiT7fuGAhRhSc=;\n\tb=bBUxuM8MDL9Ifyj/4oaFuNSqRoZOonpym5iGLGhM/yKK9lFTxwDMAXVZa7pJRqCZSp\n\tFod5KGvvMPquV1UjaKaRjd+W+cvyVqKk/4gVbKghdEPu6rTDPtX1phUBsqpWQq8np+8v\n\tkT2hrF7xI9fRTENYQyl1WnO8LHCFwbw8LgtyT7xH+jhbkVGSd32D/WELuZyGrCFyA7PN\n\tjxP1s2/MYBk6nCwLMHHdpwycWMjYEBKm5lL9mPDWkGwt1GuJ4nYufNMGGyZJ09RqKixe\n\tLT8pnWsih76IrGi2tTEZlM07v+1tOm1h7+Y29iwo97XNMKngsXNIIdY+/5UaM+8lE10q\n\tyPcw==","X-Gm-Message-State":"AHYfb5hWwZKx2ENCtlvcnsI5oKdB9VG4logoQpGIcXe2zDUXjNlHQS+e\n\t2GALTmaHUWFhuGOH","X-Received":"by 10.223.173.15 with SMTP id p15mr509131wrc.128.1504020638742; \n\tTue, 29 Aug 2017 08:30:38 -0700 (PDT)","From":"Vadim Galitsyn <vadim.galitsyn@profitbricks.com>","To":"Eduardo Habkost <ehabkost@redhat.com>,\n\tDavid Hildenbrand <david@redhat.com>,\n\t\"Dr . David Alan Gilbert\" <dgilbert@redhat.com>,\n\tMarkus Armbruster <armbru@redhat.com>,\n\tIgor Mammedov <imammedo@redhat.com>, \n\tEric Blake <eblake@redhat.com>, qemu-devel@nongnu.org","Date":"Tue, 29 Aug 2017 17:30:19 +0200","Message-Id":"<20170829153022.27004-1-vadim.galitsyn@profitbricks.com>","X-Mailer":"git-send-email 2.13.1.394.g41dd433","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c0c::231","Subject":"[Qemu-devel] [PATCH v7 0/3] hmp, qmp: 'info memory_size_summary',\n\t'query-memory-size-summary', 'info numa' updates","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"Hi Guys,\n\nSorry for the delay. This is continuation of\n  http://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02937.html.\n\nI tried to update all the things according to your input\nregarding to v6 series. I am attaching all the versions\nhistory here in cover letter.\n\nBest regards,\nVadim\n\nv7:\n * hmp: 'info numa': 'struct numa_node_mem' ->\n   'struct NumaNodeMem' (Eric);\n\n * hmp: 'info numa': 'numa_node_mem.node_hotpluggable_mem' ->\n   'NumaNodeMem.node_plugged_mem' (in order to follow the same\n   naming schema as in the rest patches from this series);\n\n * hmp: hmp_info_memory_size_summary() no longer\n   uses &error_abort (David);\n\n * qmp: documented when @plugged-memory info is omitted (Eric);\n\n * qmp: added example usage of @query-memory-size-summary (Eric);\n\n * qmp: 'Since: 2.10.0' -> 'Since: 2.11.0' (Eric);\n\n * All commit messages updated according to Eric's recomendation.\n\nv6:\n * qmp: Renamed get_existing_hotpluggable_memory_size() ->\n   get_plugged_memory_size();\n\n * qmp: Renamed MemoryInfo.hotunpluggable_memory ->\n   MemoryInfo.plugged_memory;\n\n * qmp: Dropped superfluous parenthesis around the\n   comparison while evaluating MemoryInfo.has_plugged_memory.\n\n * hmp: Renamed 'info memory-size-summary' ->\n   'info memory_size_summary'\n\nv5:\n * hmp: Updated description and '.help' message for\n   'info memory-size-summary' command.\n\n * hmp: Removed '-' characters from\n   'info memory-size-summary' output.\n\n * Dropped ballooned memory information.\n\n * get_existing_hotpluggable_memory_size() assumed\n   to never fail; routine now has no arguments and\n   returns uint64_t; in case if target does not support\n   memory hotplug, (uint64_t)-1 is returned.\n\n * MemoryInfo structure:\n   * Removed @balloon-actual-memory field.\n   * Field @hotpluggable-memory renamed\n     to @hotunpluggable-memory.\n   * Updated description for fields.\n\n * qmp: Updated description for\n   query-memory-size-summary.\n\n * Patch v4 splitted into series.\n\nv4:\n * Commands \"info memory\" and \"query-memory\" were renamed\n   to \"info memory-size-summary\" and \"query-memory-size-summary\"\n   correspondingly.\n * Descriptions for both commands as well as MemoryInfo structure\n   fields were updated/renamed according to\n   http://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg05972.html.\n * In MemoryInfo structure following fields are now optional:\n   hotpluggable-memory and balloon-actual-memory.\n * Field \"hotpluggable-memory\" now not displayed in HMP if target\n   has no CONFIG_MEM_HOTPLUG enabled.\n * Field \"balloon-actual-memory\" now not displayed in HMP if\n   ballooning not enabled.\n * qapi_free_MemoryInfo() used in order to free corresponding memory\n   instead of g_free().\n * #ifdef CONFIG_MEM_HOTPLUG was removed and replaced with stubs/ approach.\n   get_exiting_hotpluggable_memory_size() function was introduced in\n   hw/mem/pc-dimm.c (available for all targets which have CONFIG_MEM_HOTPLUG\n   enabled). For other targets, there is a stub in stubs/qmp_pc_dimm.c.\n   In addition, stubs/qmp_pc_dimm_device_list.c was renamed to\n   stubs/qmp_pc_dimm.c in order to reflect actual source file content.\n * Commit message was updated in order to reflect what was changed.\n\nv3:\n * Use PRIu64 instead of 'lu' when printing results via HMP.\n * Report zero hot-plugged memory instead of reporting error\n   when target architecture has no CONFIG_MEM_HOTPLUG enabled.\n\nv2:\n * Fixed build for targets which do not have CONFIG_MEM_HOTPLUG\n   enabled."}