From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acmi2-0006EW-Sb for qemu-devel@nongnu.org; Sun, 06 Mar 2016 23:23:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acmi2-0005Yw-49 for qemu-devel@nongnu.org; Sun, 06 Mar 2016 23:23:54 -0500 From: Peter Xu Date: Mon, 7 Mar 2016 12:23:26 +0800 Message-Id: <1457324608-11434-2-git-send-email-peterx@redhat.com> In-Reply-To: <1457324608-11434-1-git-send-email-peterx@redhat.com> References: <1457324608-11434-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH v3 1/3] arm: qmp: add GICCapability struct List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: wei@redhat.com, peter.maydell@linaro.org, drjones@redhat.com, mdroth@linux.vnet.ibm.com, armbru@redhat.com, peterx@redhat.com, abologna@redhat.com, qemu-arm@nongnu.org Define new struct to describe whether we support specific GIC version. Signed-off-by: Peter Xu --- qapi-schema.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 7b8f2a1..0b2de6c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -4135,3 +4135,25 @@ ## { 'enum': 'ReplayMode', 'data': [ 'none', 'record', 'play' ] } + +## +# @GICCapability: +# +# This struct describes capability for a specific GIC version. These +# bits are not only decided by QEMU/KVM software version, but also +# decided by the hardware that the program is running upon. +# +# @version: version of GIC to be described. +# +# @emulated: whether current QEMU/hardware supports emulated GIC +# device in user space. +# +# @kernel: whether current QEMU/hardware supports hardware +# accelerated GIC device in kernel. +# +# Since: 2.6 +## +{ 'struct': 'GICCapability', + 'data': { 'version': 'int', + 'emulated': 'bool', + 'kernel': 'bool' } } -- 2.4.3