From patchwork Fri Jul 1 06:41:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 9209309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BF6E260221 for ; Fri, 1 Jul 2016 06:50:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B09A4281C3 for ; Fri, 1 Jul 2016 06:50:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A43A528695; Fri, 1 Jul 2016 06:50:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 553462867A for ; Fri, 1 Jul 2016 06:50:16 +0000 (UTC) Received: from localhost ([::1]:53985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIsHH-0006FZ-FS for patchwork-qemu-devel@patchwork.kernel.org; Fri, 01 Jul 2016 02:50:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIs7k-0003bF-3j for qemu-devel@nongnu.org; Fri, 01 Jul 2016 02:40:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIs7h-0003ID-Hq for qemu-devel@nongnu.org; Fri, 01 Jul 2016 02:40:23 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:53502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIs7h-0003FT-2r; Fri, 01 Jul 2016 02:40:21 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 3rgmxT4V2Mz9t1K; Fri, 1 Jul 2016 16:40:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1467355213; bh=KRgDF9PppfZiBtPvTOxgt2yGs5CNf9lGbUxfN8oZNts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nY8yQvUKPp3vzTV/XVRxt/bVIOK5tNPAfxaZLd67c53TbW7AP49ahByg4xnDE25ip LvAQ7+wdYUG0aQO/Ew3Ct90cXMILXU4HL5xEVbG3zTbJ9ikGXGK/+MaeTaBIzWJtPL K9qieHKQc2gvWKztUG0JWNCkLN4se78m5fivtkjI= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 1 Jul 2016 16:41:59 +1000 Message-Id: <1467355319-28406-24-git-send-email-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467355319-28406-1-git-send-email-david@gibson.dropbear.id.au> References: <1467355319-28406-1-git-send-email-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 23/23] qmp: fix spapr example of query-hotpluggable-cpus X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Igor Mammedov , David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Igor Mammedov 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 Reviewed-by: Peter Krempa Signed-off-by: David Gibson --- 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]"} ]}'