From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrE7r-000367-M3 for qemu-devel@nongnu.org; Mon, 24 Jun 2013 17:16:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrE7q-0004oU-3v for qemu-devel@nongnu.org; Mon, 24 Jun 2013 17:16:39 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:38749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrE7p-0004ny-UP for qemu-devel@nongnu.org; Mon, 24 Jun 2013 17:16:38 -0400 Received: by mail-ea0-f182.google.com with SMTP id d10so6431460eaj.13 for ; Mon, 24 Jun 2013 14:16:37 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51C8B731.1060404@redhat.com> Date: Mon, 24 Jun 2013 23:16:33 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5F2AB762-2FAC-4748-BF8E-D3A7B7765717@icloud.com> In-Reply-To: <5F2AB762-2FAC-4748-BF8E-D3A7B7765717@icloud.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Where to find the definition of RunState, RUN_STATE_IMMIGRATE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yaodong Yang Cc: "qemu-devel@nongnu.org" Il 24/06/2013 19:06, Yaodong Yang ha scritto: > Hi all, > > I'm a newer in QEMU-KVM. When I read the source code of > qemu-kvm-1.2.0, I can not find the definition of some types, like > RunState (in Vl.c file). I also checked the kvm-kmod-3.5, but I still > can not find the definition. Could anyone give me some hints about > where to find it. Thanks in advance! They are automatically generated based on the definitions in qapi-schema.json. Paolo