summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-10-05 12:38:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:13 +0100
commit677d033224a5fd2893347f427ebad302ca95b508 (patch)
tree9749cf89e5aa26587e861bc99e57674e1d207cfb /meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch
parent412a2dc2f99562c8ba0e2f1afa2a4955fc1c4938 (diff)
downloadpoky-677d033224a5fd2893347f427ebad302ca95b508.tar.gz
qemu-0.15: Add recipe and forward port patches from 0.14
(From OE-Core rev: fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch b/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch
new file mode 100644
index 0000000000..2250444a2b
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch
@@ -0,0 +1,18 @@
1# This is a workaround to the crashes seen on Ubuntu. Setting info to zero
2# makes info.info.x11.display zero and avoids the calls to
3# opengl_exec_set_parent_window, one of which is crashing.
4
5Upstream-Status: Pending
6
7Index: qemu-0.14.0/ui/sdl.c
8===================================================================
9--- qemu-0.14.0.orig/ui/sdl.c
10+++ qemu-0.14.0/ui/sdl.c
11@@ -863,6 +863,7 @@ void sdl_display_init(DisplayState *ds,
12 vi = SDL_GetVideoInfo();
13 host_format = *(vi->vfmt);
14
15+ bzero(&info, sizeof(info));
16 SDL_GetWMInfo(&info);
17 if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
18 opengl_exec_set_parent_window(info.info.x11.display,