On 07/04/2017 01:12 AM, Paolo Bonzini wrote:
From: Yang Zhong<yang.zh...@intel.com>

Add the CONFIG_TCG for exec-all.h. Since function tlb_set_page_with_attrs()
is defined in ./accel/tcg/cputlb.c, which will be disabled if tcg is disabled.
This function need be implemented in accel/stubs/tcg-stub.c for disable-tcg.

Signed-off-by: Yang Zhong<yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
---
        v2: do not touch include/exec/helper-proto.h [Richard]

  include/exec/cpu-defs.h |  4 +++-
  include/exec/cputlb.h   |  2 +-
  include/exec/exec-all.h | 53 ++++++++++++++++++++++++++-----------------------
  3 files changed, 32 insertions(+), 27 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to