Revision 824d560f

b/configure
195 195
    EXESUF=".exe"
196 196
    gdbstub="no"
197 197
    oss="no"
198
    kqemu="no"
198 199
fi
199 200

  
200 201
if test -z "$target_list" ; then
......
609 610
  echo "TARGET_ARCH=i386" >> $config_mak
610 611
  echo "#define TARGET_ARCH \"i386\"" >> $config_h
611 612
  echo "#define TARGET_I386 1" >> $config_h
613
  if test $kqemu = "yes" -a "$target_softmmu" = "yes" ; then
614
    echo "#define USE_KQEMU 1" >> $config_h
615
  fi
612 616
elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
613 617
  echo "TARGET_ARCH=arm" >> $config_mak
614 618
  echo "#define TARGET_ARCH \"arm\"" >> $config_h
b/target-i386/cpu.h
39 39
#if defined(__i386__) && !defined(CONFIG_SOFTMMU)
40 40
#define USE_CODE_COPY
41 41
#endif
42
#if defined(CONFIG_KQEMU) && defined(__linux__) && defined(CONFIG_SOFTMMU) && defined(__i386__) && !defined(TARGET_X86_64)
43
#define USE_KQEMU
44
#endif
45 42

  
46 43
#define R_EAX 0
47 44
#define R_ECX 1

Also available in: Unified diff