On Wed, Mar 16, 2016 at 10:24:39AM +0000, Peter Maydell wrote: > On 8 March 2016 at 07:36, Peter Xu <pet...@redhat.com> wrote: > > diff --git a/target-arm/machine.c b/target-arm/machine.c > > index 03a73d9..813909e 100644 > > --- a/target-arm/machine.c > > +++ b/target-arm/machine.c > > @@ -5,6 +5,7 @@ > > #include "sysemu/kvm.h" > > #include "kvm_arm.h" > > #include "internals.h" > > +#include "qmp-commands.h" > > > > static bool vfp_needed(void *opaque) > > { > > @@ -345,3 +346,8 @@ const char *gicv3_class_name(void) > > > > exit(1); > > } > > + > > +GICCapabilityList *qmp_query_gic_capabilities(Error **errp) > > +{ > > + return NULL; > > +} > > Why is this here? machine.c is for migration code.
Hi, Peter, Thanks for the review comments. Do you have any suggestion on which file should I add this in (or create a new one)? I failed to figure it out myself. :( TIA. -- peterx