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

2014-02-10 Thread Paolo Bonzini
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 ref

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

2014-02-10 Thread Vincent KHERBACHE
That's right ! Problem solved by adding the stub function to 'kvm-stub.c'. Thank you very much ! Le 10/02/2014 20:45, Andreas Färber a écrit : > Hi, > > Am 10.02.2014 19:18, schrieb Vincent KHERBACHE: >> I just created a new QMP command following the >> 'writing-qmp-commands.txt' howto. >> >>

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

2014-02-10 Thread Andreas Färber
Hi, Am 10.02.2014 19:18, schrieb Vincent KHERBACHE: > 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 'un

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

2014-02-10 Thread Vincent KHERBACHE
Hi all, 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-march