aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch
blob: 8ba7d8ff4cf2eddb2068c8a2600690976c3a18ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This is a workaround to the crashes seen on Ubuntu.  Setting info to zero
# makes info.info.x11.display zero and avoids the calls to
# opengl_exec_set_parent_window, one of which is crashing.

Index: qemu-0.12.4/sdl.c
===================================================================
--- qemu-0.12.4.orig/sdl.c
+++ qemu-0.12.4/sdl.c
@@ -871,6 +871,7 @@ void sdl_display_init(DisplayState *ds, 
     vi = SDL_GetVideoInfo();
     host_format = *(vi->vfmt);
 
+    bzero(&info, sizeof(info));
     SDL_GetWMInfo(&info);
     if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
         opengl_exec_set_parent_window(info.info.x11.display,
>/kernel. This avoids errors when trying # to build multiple virtual/kernel providers, e.g. as dependency of # core-image-rt-sdk, core-image-rt. python () { if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt": raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } SRCREV_machine ?= "2b65eaade74b9ec3b3009a6939461ea55d646801" SRCREV_meta ?= "86bf91f444418076181fedba14bdafad3a531cf0" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" LINUX_VERSION ?= "4.4.15" PV = "${LINUX_VERSION}+git${SRCPV}" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" LINUX_KERNEL_TYPE = "preempt-rt" COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" # Functionality flags KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"