diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch b/meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch index 8a9141acde..03ec2c90e1 100644 --- a/meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch +++ b/meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch | |||
@@ -18,11 +18,11 @@ Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | |||
18 | 2 files changed, 29 insertions(+) | 18 | 2 files changed, 29 insertions(+) |
19 | create mode 100644 custom_debug.h | 19 | create mode 100644 custom_debug.h |
20 | 20 | ||
21 | diff --git a/cpus.c b/cpus.c | 21 | Index: qemu-3.0.0/cpus.c |
22 | index 38eba8bff3..b84a60a4f3 100644 | 22 | =================================================================== |
23 | --- a/cpus.c | 23 | --- qemu-3.0.0.orig/cpus.c |
24 | +++ b/cpus.c | 24 | +++ qemu-3.0.0/cpus.c |
25 | @@ -1690,6 +1690,8 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) | 25 | @@ -1693,6 +1693,8 @@ static void *qemu_tcg_cpu_thread_fn(void |
26 | return NULL; | 26 | return NULL; |
27 | } | 27 | } |
28 | 28 | ||
@@ -31,7 +31,7 @@ index 38eba8bff3..b84a60a4f3 100644 | |||
31 | static void qemu_cpu_kick_thread(CPUState *cpu) | 31 | static void qemu_cpu_kick_thread(CPUState *cpu) |
32 | { | 32 | { |
33 | #ifndef _WIN32 | 33 | #ifndef _WIN32 |
34 | @@ -1702,6 +1704,9 @@ static void qemu_cpu_kick_thread(CPUState *cpu) | 34 | @@ -1705,6 +1707,9 @@ static void qemu_cpu_kick_thread(CPUStat |
35 | err = pthread_kill(cpu->thread->thread, SIG_IPI); | 35 | err = pthread_kill(cpu->thread->thread, SIG_IPI); |
36 | if (err) { | 36 | if (err) { |
37 | fprintf(stderr, "qemu:%s: %s", __func__, strerror(err)); | 37 | fprintf(stderr, "qemu:%s: %s", __func__, strerror(err)); |
@@ -41,11 +41,10 @@ index 38eba8bff3..b84a60a4f3 100644 | |||
41 | exit(1); | 41 | exit(1); |
42 | } | 42 | } |
43 | #else /* _WIN32 */ | 43 | #else /* _WIN32 */ |
44 | diff --git a/custom_debug.h b/custom_debug.h | 44 | Index: qemu-3.0.0/custom_debug.h |
45 | new file mode 100644 | 45 | =================================================================== |
46 | index 0000000000..f029e45547 | ||
47 | --- /dev/null | 46 | --- /dev/null |
48 | +++ b/custom_debug.h | 47 | +++ qemu-3.0.0/custom_debug.h |
49 | @@ -0,0 +1,24 @@ | 48 | @@ -0,0 +1,24 @@ |
50 | +#include <execinfo.h> | 49 | +#include <execinfo.h> |
51 | +#include <stdio.h> | 50 | +#include <stdio.h> |