summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch
diff options
context:
space:
mode:
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-.patch11
1 files changed, 6 insertions, 5 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..2232cb80e2 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
@@ -1,4 +1,4 @@
1From edc8dba74c7a4a2121d76c982be0074183bf080a Mon Sep 17 00:00:00 2001 1From 3eeeaa45dd12c9f3942cfc8647a08c93fffe19ea Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> 2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
3Date: Wed, 12 Aug 2015 15:11:30 -0500 3Date: Wed, 12 Aug 2015 15:11:30 -0500
4Subject: [PATCH] cpus.c: Add error messages when qemi_cpu_kick_thread fails. 4Subject: [PATCH] cpus.c: Add error messages when qemi_cpu_kick_thread fails.
@@ -12,6 +12,7 @@ current cpu information.
12 12
13Upstream-Status: Inappropriate 13Upstream-Status: Inappropriate
14Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> 14Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
15
15--- 16---
16 cpus.c | 5 +++++ 17 cpus.c | 5 +++++
17 custom_debug.h | 24 ++++++++++++++++++++++++ 18 custom_debug.h | 24 ++++++++++++++++++++++++
@@ -19,10 +20,10 @@ Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
19 create mode 100644 custom_debug.h 20 create mode 100644 custom_debug.h
20 21
21diff --git a/cpus.c b/cpus.c 22diff --git a/cpus.c b/cpus.c
22index 38eba8bff3..b84a60a4f3 100644 23index 0ddeeefc..4f3a5624 100644
23--- a/cpus.c 24--- a/cpus.c
24+++ b/cpus.c 25+++ b/cpus.c
25@@ -1690,6 +1690,8 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) 26@@ -1768,6 +1768,8 @@ static void *qemu_tcg_cpu_thread_fn(void *arg)
26 return NULL; 27 return NULL;
27 } 28 }
28 29
@@ -31,7 +32,7 @@ index 38eba8bff3..b84a60a4f3 100644
31 static void qemu_cpu_kick_thread(CPUState *cpu) 32 static void qemu_cpu_kick_thread(CPUState *cpu)
32 { 33 {
33 #ifndef _WIN32 34 #ifndef _WIN32
34@@ -1702,6 +1704,9 @@ static void qemu_cpu_kick_thread(CPUState *cpu) 35@@ -1780,6 +1782,9 @@ static void qemu_cpu_kick_thread(CPUState *cpu)
35 err = pthread_kill(cpu->thread->thread, SIG_IPI); 36 err = pthread_kill(cpu->thread->thread, SIG_IPI);
36 if (err) { 37 if (err) {
37 fprintf(stderr, "qemu:%s: %s", __func__, strerror(err)); 38 fprintf(stderr, "qemu:%s: %s", __func__, strerror(err));
@@ -43,7 +44,7 @@ index 38eba8bff3..b84a60a4f3 100644
43 #else /* _WIN32 */ 44 #else /* _WIN32 */
44diff --git a/custom_debug.h b/custom_debug.h 45diff --git a/custom_debug.h b/custom_debug.h
45new file mode 100644 46new file mode 100644
46index 0000000000..f029e45547 47index 00000000..f029e455
47--- /dev/null 48--- /dev/null
48+++ b/custom_debug.h 49+++ b/custom_debug.h
49@@ -0,0 +1,24 @@ 50@@ -0,0 +1,24 @@