Re: [Qemu-devel] [Discussion 00/10] about API hierarchy

2014-03-03 Thread Xuebing wang
Hi Andreas, thank you very much for your reply. Would you please help review/correct doc/api-hierarchy too? On 03/04/2014 11:45 AM, Andreas Färber wrote: Hi Xuebing, Am 04.03.2014 03:47, schrieb Xuebing Wang: Q2) Does it make sense to remove NEED_CPU_H from qemu-common.h? IMO not in this wa

Re: [Qemu-devel] [Discussion 00/10] about API hierarchy

2014-03-03 Thread Andreas Färber
Hi Xuebing, Am 04.03.2014 03:47, schrieb Xuebing Wang: > Q2) Does it make sense to remove NEED_CPU_H from qemu-common.h? IMO not in this way. Work has been ongoing to obsolete NEED_CPU_H by introducing CPUState in addition to CPUArchState and moving fields into CPUState, so that less files need t

[Qemu-devel] [Discussion 00/10] about API hierarchy

2014-03-03 Thread Xuebing Wang
Hi Community, Q1) Is it helpful for the document docs/api_hierarchy.txt I wrote? Would you please help review/correct it? Q2) Does it make sense to remove NEED_CPU_H from qemu-common.h? Q3) In include/sysemu/kvm.h, CONFIG_KVM is used thus considering dependency we should include "config-