diff options
author | Ross Burton <ross.burton@intel.com> | 2013-09-18 17:48:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-18 17:51:55 +0100 |
commit | a60b1ebbb8f81245f3ccf25b3f9d63677de75b85 (patch) | |
tree | 44d9a61fac10e6f26385060163eae467fd18e6ca /meta/recipes-devtools/qemu/qemu.inc | |
parent | d9abcc0a2a691ca60cc1cb2f48f1748b0de73ac8 (diff) | |
download | openembedded-core-a60b1ebbb8f81245f3ccf25b3f9d63677de75b85.tar.gz openembedded-core-a60b1ebbb8f81245f3ccf25b3f9d63677de75b85.tar.bz2 openembedded-core-a60b1ebbb8f81245f3ccf25b3f9d63677de75b85.zip |
qemu: add option to disable X grabs
When the mouse pointer enters the qemu window it takes a pointer grab. This
doesn't sound too dangerous at first but it turns out that SDL will infinitely
busy-loop if it can't get the grab (e.g. if the screen is locked) and the
average autobuilder setup's X server will have locked the screen a few minutes
after boot.
The result is that on many autobuilders apparently random qemu instances (the
top-most one under the pointer) will hang during boot.
To resolve this add an option (via an environment variable) to never attempt a
grab. The default behaviour remains to grab so that everyone else doesn't see
any change.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 97e9b7be1c..1b861d7dc9 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -17,6 +17,7 @@ SRC_URI = "\ file://powerpc_rom.bin \ file://no-strip.patch \ file://larger_default_ram_size.patch \ + file://disable-grabs.patch \ " SRC_URI_append_class-nativesdk = "\ |