From: Paolo Bonzini <pbonzini@redhat.com>
To: Vincent KHERBACHE <vincent.kherbache@inria.fr>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qmp_* functions into 'kvm-all.c'
Date: Mon, 10 Feb 2014 22:59:36 +0100 [thread overview]
Message-ID: <52F94BC8.8090602@redhat.com> (raw)
In-Reply-To: <52F917FB.40101@inria.fr>
Il 10/02/2014 19:18, Vincent KHERBACHE ha scritto:
>
> I just created a new QMP command following the
> 'writing-qmp-commands.txt' howto.
>
> 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.
>
> I already included "qmp-commands.h" in 'kvm-all.c' preprocessor but it
> didn't solve the problem.
>
>
> Does someone know how to fix it (or why it happens) ?
> Thanks.
Maybe you need to add a dummy implementation in kvm-stub.c? kvm-all.c
is not compiled into all targets, only on the "native" ones (e.g. i386
and x86_64 if compiling on x86).
Paolo
prev parent reply other threads:[~2014-02-10 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 18:18 [Qemu-devel] qmp_* functions into 'kvm-all.c' Vincent KHERBACHE
2014-02-10 19:45 ` Andreas Färber
2014-02-10 21:14 ` Vincent KHERBACHE
2014-02-10 21:59 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52F94BC8.8090602@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vincent.kherbache@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.