Received: from eggs.gnu.org ([2001:4830:134:3::10]:41432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cq0uh-0004nN-7w for qemu-devel@nongnu.org; Mon, 20 Mar 2017 13:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cq0ud-0001uD-9G for qemu-devel@nongnu.org; Mon, 20 Mar 2017 13:16:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55540) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cq0uc-0001sw-Tb for qemu-devel@nongnu.org; Mon, 20 Mar 2017 13:16:07 -0400 References: <1490021158-4469-1-git-send-email-pbonzini@redhat.com> <87bmsv29ok.fsf@dusky.pond.sub.org> <87zigfyj9v.fsf@dusky.pond.sub.org> From: Paolo Bonzini Message-ID: <7cd9f32b-5004-fbcf-bc53-67b1e669df0b@redhat.com> Date: Mon, 20 Mar 2017 18:16:01 +0100 MIME-Version: 1.0 In-Reply-To: <87zigfyj9v.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Peter Maydell Cc: QEMU Developers , "Dr. David Alan Gilbert" On 20/03/2017 18:01, Markus Armbruster wrote: > Peter Maydell writes: > >> On 20 March 2017 at 16:29, Markus Armbruster wrote: >>> Peter Maydell writes: >>>> I have some comments which feel kind of nit-picky, but since this >>>> is a public-facing HMP API I think they need attention since we only >>>> get one chance to get it right. >>> >>> HMP is not a stable interface. If we get it wrong, we change it. If >>> our change breaks your usage, you get to keep the pieces. >> >> Oh yes, I had my HMP and QMP the wrong way round. >> >> ...which reminds me that I thought we preferred all HMP commands >> to be implemented in terms of their QMP equivalent ? > > Yes. We make exceptions for commands we believe have no QMP use, such > as "print". I figure the rationale for these is "just for testing". > Paolo, can you confirm? Yes. If somebody comes up with a non-testing use, I suppose we can always add a QMP variant. I'll send v3 which uses the current monitor CPU's address space according to Peter's review. Paolo