From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIXAh-0004YS-Ey for qemu-devel@nongnu.org; Thu, 30 Jun 2016 04:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIXAe-0008Op-3v for qemu-devel@nongnu.org; Thu, 30 Jun 2016 04:18:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIXAd-0008Ob-UK for qemu-devel@nongnu.org; Thu, 30 Jun 2016 04:18:00 -0400 From: Igor Mammedov Date: Thu, 30 Jun 2016 10:17:54 +0200 Message-Id: <1467274674-27705-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH] qmp: fix spapr example of query-hotpluggable-cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, pkrempa@redhat.com, david@gibson.dropbear.id.au 27393c33 qapi: keep names in 'CpuInstanceProperties' in sync with struct CPUCore added -id suffix to property names but forgot to fix example in qmp-commands.hx Fix example to have 'core-id' instead of 'core' to match current code Signed-off-by: Igor Mammedov --- qmp-commands.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index b444c20..6937e83 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -4978,8 +4978,8 @@ Example for pseries machine type started with -> { "execute": "query-hotpluggable-cpus" } <- {"return": [ - { "props": { "core": 8 }, "type": "POWER8-spapr-cpu-core", + { "props": { "core-id": 8 }, "type": "POWER8-spapr-cpu-core", "vcpus-count": 1 }, - { "props": { "core": 0 }, "type": "POWER8-spapr-cpu-core", + { "props": { "core-id": 0 }, "type": "POWER8-spapr-cpu-core", "vcpus-count": 1, "qom-path": "/machine/unattached/device[0]"} ]}' -- 1.8.3.1