qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v0 0/4] split the tcg code and separate tcg files.


From: Yang Zhong
Subject: [Qemu-devel] [PATCH v0 0/4] split the tcg code and separate tcg files.
Date: Fri, 19 May 2017 13:09:39 +0800

In order to disable tcg, the first phase is to split some
tcg code and separate those tcg relative files into one 
directory. The next phase will disable tcg more easily.

In the first phase, there are three serial patchsets to
deal with split code and separate the files.
1) split the tcg exec code.
   a)split the tcg accelerators from accel.c file.
   b)create one accel directory, which will include kvm,
     tcg and general exec files.
   c)move tcg exec files into ./accel/tcg directory.
2) move tcg relative files into ./tcg directory
   those files include translate-all.c, translate-common.c
   and etc.
3) move kvm exec and exec.c file.
   a)move kvm relative exec files into ./accel/kvm directory.
   b)move exec.c in ./accel directory. 

The below patchset are the first serial patchset, the other two 
serial patchsets will be sent out soon.

Yang Zhong (4):
  accel: split the tcg accelerator from accel.c file
  move cputlb.c
  move cpu-exec.c
  move cpu-exec-common.c

 Makefile.objs                                    |  2 +-
 Makefile.target                                  |  6 +--
 accel/Makefile.objs                              |  2 +
 accel.c => accel/accel.c                         | 27 -----------
 accel/tcg/Makefile.objs                          |  3 ++
 cpu-exec-common.c => accel/tcg/cpu-exec-common.c |  0
 cpu-exec.c => accel/tcg/cpu-exec.c               |  5 +-
 cputlb.c => accel/tcg/cputlb.c                   |  0
 accel/tcg/tcg-all.c                              | 61 ++++++++++++++++++++++++
 accel/tcg/trace-events                           |  7 +++
 trace-events                                     |  5 --
 11 files changed, 80 insertions(+), 38 deletions(-)
 create mode 100644 accel/Makefile.objs
 rename accel.c => accel/accel.c (87%)
 create mode 100644 accel/tcg/Makefile.objs
 rename cpu-exec-common.c => accel/tcg/cpu-exec-common.c (100%)
 rename cpu-exec.c => accel/tcg/cpu-exec.c (99%)
 rename cputlb.c => accel/tcg/cputlb.c (100%)
 create mode 100644 accel/tcg/tcg-all.c
 create mode 100644 accel/tcg/trace-events

-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]