summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-04-03 14:39:12 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-03 16:01:13 (GMT)
commit6c22c591374d258228f74814cded34a24b4bf2d3 (patch)
tree35d296aa07b3ef0e7b9386022b58a574441412ee /scripts/runqemu-internal
parentee22db4e6828bed54f5ab7f7e719e7ae31435624 (diff)
downloadpoky-6c22c591374d258228f74814cded34a24b4bf2d3.tar.gz
qemu script: explicitly set 32 bit depth
Qemu update from 1.2 to 1.4 now allows for 16bit depth in guests, whereby previously only 32bit depth was supported. However, the new support is broken, so we force 32bit depth in all cases. MUST_REVERT: on qemu update, if 16bit depth support is working ok Fixes [YOCTO #3828] (From OE-Core rev: 354377789628d96fa589cb5721134f631815cfeb) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 762c584..e8191d1 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -325,7 +325,7 @@ if [ "$MACHINE" = "qemux86" ]; then
325 QEMU=qemu-system-i386 325 QEMU=qemu-system-i386
326 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware" 326 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware"
327 if [ "$FSTYPE" = "ext2" -o "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then 327 if [ "$FSTYPE" = "ext2" -o "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
328 KERNCMDLINE="vga=0 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD" 328 KERNCMDLINE="vga=0 uvesafb.mode_option=640x480-32 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
329 QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS" 329 QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
330 fi 330 fi
331 if [ "$FSTYPE" = "nfs" ]; then 331 if [ "$FSTYPE" = "nfs" ]; then