From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCwnj-0005Ix-R2 for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:46:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCwnb-0001ZD-8F for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:45:55 -0500 Received: from cantor2.suse.de ([195.135.220.15]:48141 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCwna-0001Y1-Pv for qemu-devel@nongnu.org; Mon, 10 Feb 2014 14:45:47 -0500 Message-ID: <52F92C66.1080106@suse.de> Date: Mon, 10 Feb 2014 20:45:42 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <52F917FB.40101@inria.fr> In-Reply-To: <52F917FB.40101@inria.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qmp_* functions into 'kvm-all.c' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincent KHERBACHE , qemu-devel@nongnu.org Cc: Paolo Bonzini , Luiz Capitulino Hi, Am 10.02.2014 19:18, schrieb Vincent KHERBACHE: > I just created a new QMP command following the > 'writing-qmp-commands.txt' howto. >=20 > It's works well by adding the corresponding function into 'qmp.c', but > when I want to insert the function in 'kvm-all.c' (which is my goal) I > get an 'undefined reference' error to the function from 'qmp-marchal.c' > during the compilation. Have you thought of also adding a corresponding function to kvm-stub.c for the targets not linking kvm-all.c? Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg