Received: from eggs.gnu.org ([2001:4830:134:3::10]:54930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKBYk-0002Pj-9L for qemu-devel@nongnu.org; Wed, 20 Aug 2014 15:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKBYd-0006k4-O3 for qemu-devel@nongnu.org; Wed, 20 Aug 2014 15:28:38 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:43934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKBYd-0006jW-BG for qemu-devel@nongnu.org; Wed, 20 Aug 2014 15:28:31 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20140820153431.15111.3916.stgit@fimbulvetr.bsc.es> <87ppfvqfao.fsf@blackfin.pond.sub.org> <87r40bko80.fsf@fimbulvetr.bsc.es> <871tsbnfww.fsf@blackfin.pond.sub.org> Date: Wed, 20 Aug 2014 21:28:27 +0200 In-Reply-To: <871tsbnfww.fsf@blackfin.pond.sub.org> (Markus Armbruster's message of "Wed, 20 Aug 2014 21:02:07 +0200") Message-ID: <87fvgrj6zo.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] trace: [qmp] Add QAPI/QMP commands to query and control event tracing state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , Luiz Capitulino Markus Armbruster writes: > Llu=C3=ADs Vilanova writes: >> Markus Armbruster writes: >>=20 >>> Llu=C3=ADs Vilanova writes: >>>> Also removes old "trace-event", "trace-file" and "info trace-events" H= MP >>>> commands. >>=20 >>> We gain the ability to control trace via QMP, but lose the ability to >>> control it via HMP, correct? >>=20 >> Right. I can keep the HMP commands, but doing so requires exposing the i= nternal >> trace event identifier number in the QMP interface. Also, "trace-file" c= annot be >> implemented on top of the current QMP commands, and is specific to the "= simple" >> tracing backend. > Would rough feature-parity with QMP be feasible with new HMP commands on > top of the QMP interfaces, completely ignoring HMP backward > compatibility? Except for "trace-file", it would be quite easy, yes. For "trace-file", we = can either keep the current HMP implementation, or add new QMP commands to supp= ort it (I'd rather devote my time to something else, though). Thanks, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth