On 5/25/20 5:12 PM, Philippe Mathieu-Daudé wrote:
> On 5/25/20 4:54 PM, Claudio Fontana wrote:
>> move arch_init, balloon, cpus, ioport, memory, memory_mapping, qtest.
>>
>> They are all specific to CONFIG_SOFTMMU.
>>
>> Signed-off-by: Claudio Fontana <cfont...@suse.de>
>> ---
>>  MAINTAINERS                                  | 12 ++++++------
>>  Makefile.target                              |  7 ++-----
>>  softmmu/Makefile.objs                        | 10 ++++++++++
>>  arch_init.c => softmmu/arch_init.c           |  0
> 
> OK.
> 
>>  balloon.c => softmmu/balloon.c               |  0
> 
> OK
> 
>>  cpus.c => softmmu/cpus.c                     |  0
> 
> I'm still not 100% convinced.

Hi Philippe, do you see a reason to keep cpus.c in the top_srcdir?

The way I see it, it belongs in softmmu/,

we have a separate cpu-common.c that is target-indep and in common between user 
and softmmu,
while cpus.c is softmmu-only right?


> 
>>  ioport.c => softmmu/ioport.c                 |  0
> 
> OK
> 
>>  memory.c => softmmu/memory.c                 |  0
> 
> OK
> 
>>  memory_mapping.c => softmmu/memory_mapping.c |  0
> 
> I am not sure (yet).

headers are already in sysemu (sysemu/memory_mapping.h)

> 
>>  qtest.c => softmmu/qtest.c                   |  0
> 
> This one seems to belong to accel/

We already have accel/qtest.c , that is the qtest AccelClass.

Here we are talking about qtest.c from the top_srcdir, which it the
qtest server and is built with softmmu code, with header in sysemu/qtest.h

Thomas?

>>  10 files changed, 18 insertions(+), 11 deletions(-)
>>  rename arch_init.c => softmmu/arch_init.c (100%)
>>  rename balloon.c => softmmu/balloon.c (100%)
>>  rename cpus.c => softmmu/cpus.c (100%)
>>  rename ioport.c => softmmu/ioport.c (100%)
>>  rename memory.c => softmmu/memory.c (100%)
>>  rename memory_mapping.c => softmmu/memory_mapping.c (100%)
>>  rename qtest.c => softmmu/qtest.c (100%)
> 
> What about the corresponding headers?

headers already in sysemu/ :

sysemu/arch_init.h
sysemu/balloon.h
sysemu/cpus.h
sysemu/qtest.h - (again, for the qtest server)
sysemu/memory_mapping.h

headers currently in exec/ :

exec/memory.h
exec/ioport.h

Paolo?

> 
> [...]
> 


Reply via email to