qemu script: explicitly set 32 bit depth

Submitted by Alexandru DAMIAN on April 3, 2013, 2:39 p.m.

Details

Message ID 1364999952-31485-1-git-send-email-alexandru.damian@intel.com
State Accepted
Commit 354377789628d96fa589cb5721134f631815cfeb
Headers show

Commit Message

Alexandru DAMIAN April 3, 2013, 2:39 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 scripts/runqemu-internal |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index f06870e..1b04593 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -325,7 +325,7 @@  if [ "$MACHINE" = "qemux86" ]; then
     QEMU=qemu-system-i386
     QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware"
     if [ "$FSTYPE" = "ext2" -o "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
-        KERNCMDLINE="vga=0 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
+        KERNCMDLINE="vga=0 uvesafb.mode_option=640x480-32 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
         QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
     fi
     if [ "$FSTYPE" = "nfs" ]; then