qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qmp_* functions into 'kvm-all.c'


From: Paolo Bonzini
Subject: Re: [Qemu-devel] qmp_* functions into 'kvm-all.c'
Date: Mon, 10 Feb 2014 22:59:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]