diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2017-09-11 18:33:25 -0300 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-09-17 06:52:19 -0700 |
commit | 58410666688690ae2bd1acb2b31c0ba8661b83d1 (patch) | |
tree | 41135cd9088829d1cad5b1adbe25df5d3338402d /accel/tcg/user-exec-stub.c | |
parent | da1849c1eba50aa372f87c7945d7b230eb2b2fb2 (diff) | |
download | qemu-58410666688690ae2bd1acb2b31c0ba8661b83d1.zip qemu-58410666688690ae2bd1acb2b31c0ba8661b83d1.tar.gz qemu-58410666688690ae2bd1acb2b31c0ba8661b83d1.tar.bz2 |
accel/tcg: move user-exec to accel/tcg/
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170911213328.9701-3-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/user-exec-stub.c')
-rw-r--r-- | accel/tcg/user-exec-stub.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/accel/tcg/user-exec-stub.c b/accel/tcg/user-exec-stub.c new file mode 100644 index 0000000..dbcf1ad --- /dev/null +++ b/accel/tcg/user-exec-stub.c @@ -0,0 +1,34 @@ +#include "qemu/osdep.h" +#include "qemu-common.h" +#include "qom/cpu.h" +#include "sysemu/replay.h" + +void cpu_resume(CPUState *cpu) +{ +} + +void qemu_init_vcpu(CPUState *cpu) +{ +} + +/* User mode emulation does not support record/replay yet. */ + +bool replay_exception(void) +{ + return true; +} + +bool replay_has_exception(void) +{ + return false; +} + +bool replay_interrupt(void) +{ + return true; +} + +bool replay_has_interrupt(void) +{ + return false; +} |