2016-09-15 14:27 GMT+08:00 Paolo Bonzini <pbonz...@redhat.com>: [...] >> +#define TYPE_APIC "apic" >> +#define APIC(obj) \ >> + OBJECT_CHECK(APICCommonState, (obj), TYPE_APIC) > > This should be in apic.c. Also please replace the other occurrence of > "apic" in apic.c by TYPE_APIC.
Will do, thanks for your review. Regards, Wanpeng Li