qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v0 0/4] split the tcg code and separate tcg files.
@ 2017-05-19  5:09 Yang Zhong
  2017-05-19  5:09 ` [Qemu-devel] [PATCH v0 1/4] accel: split the tcg accelerator from accel.c file Yang Zhong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Yang Zhong @ 2017-05-19  5:09 UTC (permalink / raw)
  To: eblake; +Cc: qemu-devel, pbonzini, anthony.xu, Yang Zhong

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-19  5:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19  5:09 [Qemu-devel] [PATCH v0 0/4] split the tcg code and separate tcg files Yang Zhong
2017-05-19  5:09 ` [Qemu-devel] [PATCH v0 1/4] accel: split the tcg accelerator from accel.c file Yang Zhong
2017-05-19  5:09 ` [Qemu-devel] [PATCH v0 2/4] move cputlb.c Yang Zhong
2017-05-19  5:09 ` [Qemu-devel] [PATCH v0 3/4] move cpu-exec.c Yang Zhong
2017-05-19  5:09 ` [Qemu-devel] [PATCH v0 4/4] move cpu-exec-common.c Yang Zhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).