From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaZb2-0006tn-VV for qemu-devel@nongnu.org; Mon, 29 Feb 2016 20:59:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaZaz-00012H-Qn for qemu-devel@nongnu.org; Mon, 29 Feb 2016 20:59:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaZaz-000127-LT for qemu-devel@nongnu.org; Mon, 29 Feb 2016 20:59:29 -0500 Date: Tue, 1 Mar 2016 09:59:25 +0800 From: Fam Zheng Message-ID: <20160301015925.GF15213@ad.usersys.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] How to make changes to qapi-types.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: qemu-devel qemu-devel On Mon, 02/29 20:26, Programmingkid wrote: > I need to add a variable to the QKeyCode enum in the file qapi-types.h. This > file is auto-generated so using traditional means to create a patch is not > possible. Would anyone know how I can add to this file? The file to look at is qapi-schema.json. The generator is also documented in docs/qapi-code-gen.txt. Fam