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 '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 -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg