From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejUoD-0006rL-Ag for qemu-devel@nongnu.org; Wed, 07 Feb 2018 13:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejUo9-0006J3-EF for qemu-devel@nongnu.org; Wed, 07 Feb 2018 13:51:05 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43654 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejUo9-0006Ii-AF for qemu-devel@nongnu.org; Wed, 07 Feb 2018 13:51:01 -0500 References: <20180207175014.11157-1-lcapitulino@redhat.com> <20180207175014.11157-3-lcapitulino@redhat.com> From: Eric Blake Message-ID: Date: Wed, 7 Feb 2018 12:50:59 -0600 MIME-Version: 1.0 In-Reply-To: <20180207175014.11157-3-lcapitulino@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] qmp: document query-cpus performance issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino , qemu-devel@nongnu.org Cc: armbru@redhat.com, ehabkost@redhat.com, berrange@redhat.com, mihajlov@linux.vnet.ibm.com On 02/07/2018 11:50 AM, Luiz Capitulino wrote: > Signed-off-by: Luiz Capitulino > --- > qapi-schema.json | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/qapi-schema.json b/qapi-schema.json > index 82d6f12b53..0665a14dba 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -526,6 +526,10 @@ > # > # Returns a list of information about each virtual CPU. > # > +# WARNING: This command incurs a performance penalty for latency > +# sensitive workloads and hence it's not recommended to > +# to be used in production. Use query-cpus-fast instead > +# Ah, I asked for this on 1/2. You could squash these. I didn't review the code, just the interface, so if you squash them, you can add the weaker: Acked-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org