From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVDgR-0005tA-0G for qemu-devel@nongnu.org; Mon, 15 Feb 2016 02:34:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVDgN-0007yc-Po for qemu-devel@nongnu.org; Mon, 15 Feb 2016 02:34:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVDgN-0007yX-Km for qemu-devel@nongnu.org; Mon, 15 Feb 2016 02:34:55 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id BAF93C0BBE42 for ; Mon, 15 Feb 2016 07:34:54 +0000 (UTC) Date: Mon, 15 Feb 2016 15:34:43 +0800 From: Peter Xu Message-ID: <20160215073443.GA7978@pxdev.xzpeter.org> References: <1455428503-2113-1-git-send-email-peterx@redhat.com> <56C17641.5090208@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56C17641.5090208@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 0/2] ARM: add QMP command to query GIC version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wei Huang Cc: libvir-list@redhat.com, drjones@redhat.com, qemu-devel@nongnu.org, abologna@redhat.com On Mon, Feb 15, 2016 at 12:54:57AM -0600, Wei Huang wrote: > On 2/13/16 23:41, Peter Xu wrote: > > Please help review whether the interface suits our need, also please > > point out any error I have made. > > I tested QEMU with these patches and they were able to work on a native > ARM64 machine. Thanks for the verification. :) > > > > > One question: how should I make this command "ARM only"? I see that > > in qmp-commands.hx, I can use something like "#if defined > > TARGET_ARM" to block out ARM specified commands, however how should > > I do the similiar thing in qapi-schema.json? > > This situation is similar to "rtc-reset-reinjection", right? I think You > can disable this feature on other arch's by setting > QERR_FEATURE_DISABLED in file like monitor.c. Yes. Will include this when post the real patches. Thanks! Peter