[PATCH] cpu_exec_step_atomic: update the cpu running flag

2020-09-22 Thread Douglas Crosher
ome code running here. The patch adds some assertions to help detect other cases. Signed-off-by: Douglas Crosher --- accel/tcg/cpu-exec.c | 4 1 file changed, 4 insertions(+) diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 66d38f9d85..c1cf1a01cb 100644 --- a/accel/tcg/cpu-exe

[PATCH] linux user i386 fork: clone the GDT for each thread to, separate TLS

2020-09-22 Thread Douglas Crosher
anyone be aware of such uses? Signed-off-by: Douglas Crosher --- linux-user/syscall.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 55ac5c3208..099e4f875a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[PATCH] helper_syscall x86_64: clear exception_is_int

2020-09-22 Thread Douglas Crosher
The exception_is_int flag may be set on entry to helper_syscall, e.g. after a prior interrupt that has returned, and processing EXCP_SYSCALL as an interrupt causes it to fail so clear this flag. Signed-off-by: Douglas Crosher --- target/i386/seg_helper.c | 1 + 1 file changed, 1 insertion