[Qemu-devel] [PATCH v3 00/22] add disable-tcg option for x86 build

Paolo Bonzini posted 22 patches 6 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1499099693-22903-1-git-send-email-pbonzini@redhat.com
There is a newer version of this series
Makefile.target              |   4 +-
accel/Makefile.objs          |   2 +-
accel/stubs/Makefile.objs    |   1 +
accel/stubs/tcg-stub.c       |  22 +++
accel/tcg/Makefile.objs      |   2 +-
accel/tcg/cpu-exec-common.c  |   2 +
accel/tcg/tcg-all.c          |  35 +++-
accel/tcg/translate-all.c    |  29 +---
accel/tcg/translate-common.c |  56 -------
bsd-user/main.c              |   1 -
configure                    | 186 ++++++++++++++-------
exec.c                       |  23 +++
hmp-commands-info.hx         |   4 +
hw/i386/kvmvapic.c           |   5 +-
include/exec/cpu-defs.h      |   4 +-
include/exec/cputlb.h        |   2 +-
include/exec/exec-all.h      |  57 ++++---
include/exec/helper-proto.h  |   2 +
include/qemu-common.h        |   7 +-
include/sysemu/accel.h       |   2 +-
monitor.c                    |   2 +
qom/cpu.c                    |   2 +
target/i386/Makefile.objs    |   7 +-
target/i386/bpt_helper.c     |  32 ++--
target/i386/cpu.c            |   4 +-
target/i386/cpu.h            |  28 +++-
target/i386/excp_helper.c    | 343 +++++++++++++++++++++++++++++++++++++++
target/i386/fpu_helper.c     |  29 +---
target/i386/helper.c         | 378 ++++---------------------------------------
target/i386/machine.c        |  23 ++-
target/i386/mpx_helper.c     |  30 ----
tcg/tcg.h                    |   4 -
vl.c                         |  14 +-
33 files changed, 735 insertions(+), 607 deletions(-)
create mode 100644 accel/stubs/tcg-stub.c
delete mode 100644 accel/tcg/translate-common.c
[Qemu-devel] [PATCH v3 00/22] add disable-tcg option for x86 build
Posted by Paolo Bonzini 6 years, 9 months ago
Most of this series is the same as Yang Zhong's, except for:

1) less stubs usage

2) splitting patch 2 ("vl: add tcg_enabled() for tcg related code") [Thomas]

3) reworked configure [Thomas, Daniel]

Please review!

Paolo

Paolo Bonzini (10):
  configure: factor out list of supported Xen/KVM/HAX targets
  configure: early test for supported targets
  configure: add --disable-tcg configure option
  vl: convert -tb-size to qemu_strtoul
  monitor: disable "info jit" and "info opcount" if !TCG
  vapic: use tcg_enabled
  tcg: move tb_lock out of translate-all.h
  exec: elide calls to tb_lock and tb_unlock
  target/i386: move TLB refill function out of helper.c
  configure: warn on untested --disable-tcg

Yang Zhong (12):
  vl: add tcg_enabled() for tcg related code
  tcg: move page_size_init() function
  tcg: tcg_handle_interrupt() function
  tcg: make tcg_allowed global
  tcg: add the tcg-stub.c file into accel/stubs/
  tcg: add CONFIG_TCG guards in headers
  tcg: add the CONFIG_TCG into Makefiles
  target/i386: move cpu_sync_bndcs_hflags() function
  target/i386: make cpu_get_fp80()/cpu_set_fp80() static
  target/i386: split cpu_set_mxcsr() and make cpu_set_fpuc() inline
  target/i386: add the tcg_enabled() in target/i386/
  target/i386: add the CONFIG_TCG into Makefiles

 Makefile.target              |   4 +-
 accel/Makefile.objs          |   2 +-
 accel/stubs/Makefile.objs    |   1 +
 accel/stubs/tcg-stub.c       |  22 +++
 accel/tcg/Makefile.objs      |   2 +-
 accel/tcg/cpu-exec-common.c  |   2 +
 accel/tcg/tcg-all.c          |  35 +++-
 accel/tcg/translate-all.c    |  29 +---
 accel/tcg/translate-common.c |  56 -------
 bsd-user/main.c              |   1 -
 configure                    | 186 ++++++++++++++-------
 exec.c                       |  23 +++
 hmp-commands-info.hx         |   4 +
 hw/i386/kvmvapic.c           |   5 +-
 include/exec/cpu-defs.h      |   4 +-
 include/exec/cputlb.h        |   2 +-
 include/exec/exec-all.h      |  57 ++++---
 include/exec/helper-proto.h  |   2 +
 include/qemu-common.h        |   7 +-
 include/sysemu/accel.h       |   2 +-
 monitor.c                    |   2 +
 qom/cpu.c                    |   2 +
 target/i386/Makefile.objs    |   7 +-
 target/i386/bpt_helper.c     |  32 ++--
 target/i386/cpu.c            |   4 +-
 target/i386/cpu.h            |  28 +++-
 target/i386/excp_helper.c    | 343 +++++++++++++++++++++++++++++++++++++++
 target/i386/fpu_helper.c     |  29 +---
 target/i386/helper.c         | 378 ++++---------------------------------------
 target/i386/machine.c        |  23 ++-
 target/i386/mpx_helper.c     |  30 ----
 tcg/tcg.h                    |   4 -
 vl.c                         |  14 +-
 33 files changed, 735 insertions(+), 607 deletions(-)
 create mode 100644 accel/stubs/tcg-stub.c
 delete mode 100644 accel/tcg/translate-common.c

-- 
1.8.3.1